/* Modern styles for nz-dev website */
:root {
	--primary: #2f3358;
	--primary-dark: #262a48;
	--primary-light: #3f4477;
	--accent: #8a8fdb;
	--text: #252525;
	--text-light: #555;
	--white: #ffffff;
	--gray-100: #f8f9fa;
	--gray-200: #e9ecef;
	--gray-300: #dee2e6;
	--gray-800: #343a40;
	--gray-900: #212529;
	--gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
	--shadow-lg: 0 10px 30px rgba(47, 51, 88, 0.15);
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  /* Base styles and resets */
  *, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
  
  html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
  }
  
  body {
	font-family: var(--font-primary);
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
  }
  
  img {
	max-width: 100%;
	height: auto;
	display: block;
  }
  
  a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
  }
  
  ul, ol {
	list-style: none;
  }
  
  button, .btn {
	cursor: pointer;
	font-family: inherit;
	border: none;
	background: none;
	padding: 0;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin-bottom: 1rem;
	font-weight: 700;
  }
  
  p {
	margin-bottom: 1.5rem;
  }
  
  /* Layout */
  .container {
	width: min(1200px, 90%);
	margin: 0 auto;
	position: relative;
  }
  
  .section {
	padding: 5rem 0;
	position: relative;
  }
  
  .section-header {
	margin-bottom: 3rem;
	text-align: center;
  }
  
  .section-title {
	font-size: clamp(1.8rem, 5vw, 2.5rem);
	margin-bottom: 1rem;
	font-weight: 800;
	color: var(--primary);
	position: relative;
	display: inline-block;
  }
  
  .section-title::after {
	content: '';
	position: absolute;
	height: 4px;
	width: 60px;
	background: var(--accent);
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
  }
  
  .section-description {
	max-width: 650px;
	margin: 0 auto;
	color: var(--text-light);
	font-size: 1.1rem;
  }
  
  /* Header & Navigation */
  .header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	transition: var(--transition);
  }
  
  .header.scrolled {
	box-shadow: var(--shadow-md);
  }
  
  .navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	transition: var(--transition);
  }
  
  .scrolled .navbar {
	padding: 0.7rem 0;
  }
  
  .logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--primary);
	letter-spacing: -0.5px;
	display: flex;
	align-items: center;
  }
  
  .logo-img {
	height: 32px;
	margin-right: 0.5rem;
  }
  
  .nav-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
  }
  
  .nav-link {
	font-weight: 500;
	color: var(--text);
	padding: 0.5rem;
	position: relative;
	transition: var(--transition);
	font-size: 0.95rem;
  }
  
  .nav-link:hover {
	color: var(--primary);
  }
  
  .nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: var(--transition);
  }
  
  .nav-link:hover::after {
	width: 100%;
  }
  
  .mobile-toggle {
	display: none;
	font-size: 1.5rem;
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
  }
  
  /* Hero section */
  .hero-section {
	padding: 8rem 0 5rem;
	position: relative;
	background: var(--gradient);
	color: var(--white);
	overflow: hidden;
  }
  
  .hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.1;
  }
  
  .hero-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
  }
  
  .hero-content {
	position: relative;
	z-index: 5;
  }
  
  .hero-title {
	font-size: clamp(2.5rem, 7vw, 4rem);
	line-height: 1.1;
	margin-bottom: 1.5rem;
	font-weight: 800;
  }
  
  .hero-subtitle {
	font-size: 1.2rem;
	opacity: 0.9;
	margin-bottom: 2rem;
	max-width: 500px;
  }
  
  .hero-btns {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
  }
  
  .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-md);
	font-weight: 600;
	transition: var(--transition);
	font-size: 0.95rem;
  }
  
  .btn-primary {
	background-color: var(--white);
	color: var(--primary);
  }
  
  .btn-primary:hover {
	background-color: var(--gray-200);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
  }
  
  .btn-secondary {
	background-color: rgba(255, 255, 255, 0.15);
	color: var(--white);
	backdrop-filter: blur(10px);
  }
  
  .btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
  }
  
  .hero-image {
	position: relative;
	z-index: 5;
	display: flex;
	justify-content: center;
  }
  
  .hero-img {
	max-width: 100%;
	filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
	transform: translateY(0);
	animation: float 5s ease-in-out infinite;
  }
  
  @keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-15px); }
  }
  
  /* About section */
  .about-section {
	background-color: var(--white);
  }
  
  .about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
  }
  
  .feature-card {
	padding: 2rem;
	border-radius: var(--radius-md);
	background-color: var(--white);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
  }
  
  .feature-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
  }
  
  .feature-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-lg);
	background: var(--gray-100);
	color: var(--primary);
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
  }
  
  .feature-title {
	font-size: 1.2rem;
	margin-bottom: 0.8rem;
	color: var(--primary);
  }
  
  .feature-description {
	color: var(--text-light);
	margin-bottom: 0;
	font-size: 0.95rem;
  }
  
  /* Apps section */
  .apps-section {
	background-color: var(--gray-100);
	position: relative;
	overflow: hidden;
  }
  
  .apps-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232f3358' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  .apps-container {
	position: relative;
	z-index: 5;
  }
  
  .app-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
  }
  
  .app-card {
	background-color: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
  }
  
  .app-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
  }
  
  .app-img-container {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 aspect ratio */
	overflow: hidden;
	background-color: var(--primary-light);
  }
  
  .app-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
  }
  
  .app-card:hover .app-img {
	transform: scale(1.05);
  }
  
  .app-content {
	padding: 1.5rem;
  }
  
  .app-title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--primary);
  }
  
  .app-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	color: var(--text-light);
	font-size: 0.85rem;
  }
  
  .app-rating {
	display: flex;
	align-items: center;
	gap: 5px;
  }
  
  .app-rating i {
	color: #ffc107;
	font-size: 0.9rem;
  }
  
  .app-downloads {
	display: flex;
	align-items: center;
	gap: 5px;
  }
  
  .app-description {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-bottom: 1.5rem;
  }
  
  .app-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.8rem 0;
	background-color: var(--primary);
	color: var(--white);
	border-radius: var(--radius-md);
	font-weight: 600;
	transition: var(--transition);
	text-align: center;
  }
  
  .app-btn:hover {
	background-color: var(--primary-light);
  }
  
  /* Contact section */
  .contact-section {
	background-color: var(--white);
  }
  
  .contact-content {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
  }
  
  .contact-text {
	margin-bottom: 2rem;
  }
  
  .contact-info {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
	margin-top: 2rem;
  }
  
  .contact-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
  }
  
  .contact-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--gray-100);
	color: var(--primary);
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
  }
  
  .contact-label {
	font-weight: 600;
	color: var(--primary);
  }
  
  .contact-value {
	color: var(--text-light);
  }
  
  .contact-value a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-color: transparent;
  }
  
  .contact-value a:hover {
	text-decoration-color: var(--primary);
  }
  
  /* Footer */
  .footer {
	background-color: var(--primary);
	color: var(--white);
	padding: 4rem 0 2rem;
  }
  
  .footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 3rem;
	margin-bottom: 3rem;
  }
  
  .footer-col {
	display: flex;
	flex-direction: column;
  }
  
  .footer-heading {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
	position: relative;
  }
  
  .footer-heading::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 30px;
	height: 3px;
	background-color: var(--accent);
	border-radius: 2px;
  }
  
  .footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
  }
  
  .footer-link {
	color: rgba(255, 255, 255, 0.8);
	transition: var(--transition);
	font-size: 0.9rem;
  }
  
  .footer-link:hover {
	color: var(--white);
	transform: translateX(5px);
  }
  
  .footer-logo {
	font-size: 1.8rem;
	font-weight: 800;
	margin-bottom: 1rem;
	color: var(--white);
  }
  
  .footer-about {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
  }
  
  .social-links {
	display: flex;
	gap: 0.8rem;
  }
  
  .social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
	transition: var(--transition);
  }
  
  .social-link:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-3px);
  }
  
  .copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
  }
  
  /* Animations */
  .fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .fade-up.appear {
	opacity: 1;
	transform: translateY(0);
  }
  
  /* Scroll to top button */
  .scroll-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--primary);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: var(--transition);
	z-index: 99;
	box-shadow: var(--shadow-md);
  }
  
  .scroll-top.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
  }
  
  .scroll-top:hover {
	background-color: var(--primary-light);
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
	.hero-container {
	  grid-template-columns: 1fr;
	  text-align: center;
	}
	
	.hero-content {
	  order: 1;
	}
	
	.hero-image {
	  order: 0;
	  margin-bottom: 2rem;
	}
	
	.hero-subtitle, .hero-btns {
	  margin-left: auto;
	  margin-right: auto;
	}
	
	.hero-btns {
	  justify-content: center;
	}
  }
  
  @media (max-width: 768px) {
	.section {
	  padding: 4rem 0;
	}
	
	.navbar {
	  padding: 1rem 0;
	}
	
	.mobile-toggle {
	  display: block;
	}
	
	.nav-menu {
	  position: fixed;
	  top: 70px;
	  right: -100%;
	  flex-direction: column;
	  background-color: var(--white);
	  width: 70%;
	  height: calc(100vh - 70px);
	  transition: 0.3s;
	  box-shadow: var(--shadow-lg);
	  padding: 2rem;
	  align-items: flex-start;
	}
	
	.nav-menu.active {
	  right: 0;
	}
	
	.nav-link {
	  width: 100%;
	  padding: 1rem 0;
	}
  }
  
  @media (max-width: 576px) {
	.hero-title {
	  font-size: 2.5rem;
	}
	
	.hero-subtitle {
	  font-size: 1.1rem;
	}
	
	.btn {
	  width: 100%;
	}
	
	.hero-btns {
	  flex-direction: column;
	  width: 100%;
	}
	
	.contact-info {
	  flex-direction: column;
	  gap: 1.5rem;
	}
  }

  /* Add these styles to your styles.css file */

  .app-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
  }
  
  .app-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	flex-shrink: 0;
	object-fit: cover;
	background-color: var(--primary-light);
  }
  
  /* Ensure the app title is properly styled when used with icon */
  .app-title {
	margin-bottom: 0;
	font-size: 1.2rem;
	color: var(--primary);
	font-weight: 600;
  }
  
  /* Fix for long descriptions */
  .app-description {
	color: var(--text-light);
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
	/* Add ellipsis for long text */
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 6.4rem; /* line-height × number of lines */
  }
