/* Main CSS file for AdGrid Website - Premium Edition */

/* Import elegant fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');


/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  background-color: transparent !important;
  font-weight: 400;
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  text-decoration: none;
  color: #333333;
}

a:hover:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  background-color: transparent !important;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: auto;
  min-width: 160px;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 6px;
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-secondary:hover {
  background-color: #000000;
  color: #ffffff;
}

.section {
  padding: 100px 0;
  background-color: transparent !important;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #000000;
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #000000;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 60px;
  font-size: 1.2rem;
  /* 1. Make it Darker (Charcoal instead of Light Grey) */
  color: #374151 !important; 
  /* 2. Make it Thicker (Medium weight instead of Light) */
  font-weight: 500 !important;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  /* 3. Ensure it's readable against the network */
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.text-center {
  text-align: center;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  padding: 10px 0; /* Decreased padding */
  transition: all 0.4s ease;
  border-bottom: 1px solid #e2e8f0;
  min-height: 50px; /* Decreased from 70px */
  transform: translateZ(0);
}

.header.scrolled {
  padding: 5px 0; /* Decreased padding */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  min-height: 40px; /* Decreased from 60px */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  min-height: 80px;
  padding: 15px 0;
  transition: min-height 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  min-height: 70px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 50px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  position: relative;
  top: 0;
  transform: none;
  margin: 0;
  z-index: 1001;
  clip-path: none;
  object-position: center;
  opacity: 1 !important;
  transition: height 0.3s ease;
}

.logo:hover img {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000000;
  margin: 3px 0;
  transition: 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 40px;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-links a {
  color: #000000;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #333333;
  text-decoration: none;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
}

.nav-links .btn {
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #000000;
  padding: 10px 20px;
  margin-left: 20px;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links .btn:hover {
  color: #000000;
  background-color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-links .btn:hover::after {
  display: none;
}

.nav-link {
  color: #000000;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #333333;
  text-decoration: none;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
}

/* Remove hover effect from logo */
.navbar .logo {
  position: relative;
}

.navbar .logo:hover::after {
  display: none !important;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 0;
  border-top: 2px solid #000000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 25px;
  color: #000000;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f8f8f8;
  padding-left: 30px;
}

.dropdown-content a:hover::after {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: transparent !important;
  color: #000000;
  text-align: center;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  padding: 20px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
  z-index: -1;
}

/* Hero animation keyframes */
@keyframes hero-slide-up {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes hero-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: 1px;
  animation: hero-slide-up 0.8s ease-out forwards;
  opacity: 0;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  /* 1. Make it Darker (Charcoal instead of Light Grey) */
  color: #374151 !important; 
  /* 2. Make it Thicker (Medium weight instead of Light) */
  font-weight: 500 !important;
  /* 3. Ensure it's readable against the network */
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.hero .btn {
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  padding: 16px 40px;
  letter-spacing: 1.5px;
  border: 1px solid #000000;
  animation: hero-fade-in 0.8s ease-out 0.2s forwards;
  opacity: 0;
  border-radius: 6px;
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero .btn:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* About Section */
.about {
  background-color: transparent !important;
}

.about-content {
  display: block;
}

.about-text {
  width: 100%;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #000000;
  position: relative;
  padding-bottom: 20px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #000000;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.8;
  font-weight: 300;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid #000000;
  z-index: -1;
}

.about-image img {
  max-width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  background-color: transparent !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: #ffffff;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000000;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-icon {
  font-size: 3rem;        /* Large and commanding */
  color: #1f2937;         /* Dark Charcoal (same as text) */
  margin-bottom: 20px;
  display: inline-block;
  /* Optional: Add a subtle transition for hover effects */
  transition: transform 0.3s ease;
  line-height: 1;
}

/* Hover Effect: Slight lift when user touches the card */
.service-card:hover .service-icon { 
  transform: translateY(-5px) scale(1.1); 
  color: #000000; /* Go pure black on hover */
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #000000;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  margin-bottom: 25px;
  color: #333333;
  font-weight: 300;
  line-height: 1.7;
}

/* Frosted Wrapper for improved text readability */
.frosted-content-block {
    background: rgba(255, 255, 255, 0.8); /* 80% opacity white */
    backdrop-filter: blur(8px); /* Soften the background lines */
    -webkit-backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    max-width: 100%; /* Keep text lines from getting too long */
    margin-left: auto;
    margin-right: auto;
}

/* Only darken text INSIDE this specific block */
.frosted-content-block p, 
.frosted-content-block h2, 
.frosted-content-block h3 { 
    color: #1f2937 !important; /* Dark Charcoal for readability */
    text-shadow: none; 
}

/* Testimonials Section */
.testimonials {
  background-color: transparent !important;
  position: relative;
}

/* 3D Flip Section for DOOH Page */
#dooh-flip-section {
    /* Remove the automatic centering */
    align-items: flex-start !important; 
    
    /* Manually position it exactly where we want */
    /* This ensures it sits high up, clearing the navbar but staying 'lifted' */
    padding-top: 4vh !important; 
    
    /* Keep these */
    height: 100vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px; /* Essential for 3D flip */
}
.flip-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* Remove any top margins that might be pushing it down */
    margin-top: 0 !important;
}
.flip-phase {
    position: absolute;
    top: 0; left: 0; width: 100%;
    /* Stack Title on top of Cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    /* Add smooth transitions */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-row { 
    display: flex; 
    gap: 30px; 
    justify-content: center; 
    margin-top: 40px; /* Space between Title and Cards */ 
}

/* THE LIFT FIX: */

/* Phase 2 starts hidden and rotated */
.phase-2 {
    opacity: 0;
    transform: rotateX(-90deg);
    /* Add transition for initial state */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile constraint: Disable pinning and flipping on mobile */
@media (max-width: 768px) {
    #dooh-flip-section {
        height: auto;
        perspective: none;
        overflow: visible;
        padding-top: 2vh !important;
    }
    .flip-phase {
        position: relative;
        flex-direction: column;
        gap: 20px;
    }
    .phase-1, .phase-2 {
        opacity: 1;
        transform: none;
    }
    .card-row {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Smart QR Flip Section Mobile Styles */
    #smart-qr-flip {
        height: auto;
        perspective: none;
        overflow: visible;
        padding-top: 2vh;
    }
    #smart-qr-flip .flip-container {
        position: relative;
    }
    #smart-qr-flip .flip-phase {
        position: relative;
        flex-direction: column;
        gap: 20px;
        opacity: 1;
        transform: none;
    }
    #smart-qr-flip .phase-1, 
    #smart-qr-flip .phase-2 {
        opacity: 1;
        transform: none;
    }
    #smart-qr-flip .card-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Smart QR Flip Section */
#smart-qr-flip {
    height: 100vh;
    display: flex;
    /* Force alignment to top to clear navbar */
    align-items: flex-start; 
    padding-top: 4vh; 
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

/* Style the subtitles */
.section-subtitle {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #666666;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix Card Padding */
.testimonial-card, .item {
  padding-bottom: 60px !important; /* Add breathing room at the bottom */
  padding-top: 50px !important;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.03) 100%);
  z-index: -1;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel {
  position: relative;
  overflow: visible;
  height: auto;
  min-height: 350px;
}

.testimonial {
  background-color: #ffffff;
  padding: 50px 40px 60px 40px !important; /* Add breathing room at the bottom */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  position: relative;
  width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  display: block;
  min-height: 250px;
}

.testimonial.active {
  opacity: 1;
  z-index: 10;
}

.testimonial:hover {
  border-color: #cbd5e1;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 30px;
  color: #374151;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 3rem;
  color: #000000;
  opacity: 0.1;
  font-family: 'Playfair Display', serif;
}

.testimonial-quote::before {
  position: absolute;
  top: -20px;
  left: -20px;
}

.testimonial-quote::after {
  position: absolute;
  bottom: -40px;
  right: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #1f2937; /* Dark Charcoal */
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center; /* Ensure it doesn't get squashed */
  min-width: 50px;
  min-height: 50px;
  font-size: 1.2rem;
  margin-right: 20px;
  border: 2px solid #000000;
}

.testimonial-info h4 {
  margin-bottom: 5px;
  color: #000000;
  font-size: 1.2rem;
  font-weight: bold;
}

.testimonial-info p {
  color: #9ca3af;
  margin: 0;
  font-size: 0.95rem;
}

.carousel-controls {
  display: none !important;
  justify-content: center;
  margin-top: 20px;
}

.carousel-btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.carousel-btn:hover {
  background-color: #333333;
  transform: scale(1.1);
}

.prev-btn {
  order: 1;
}

.next-btn {
  order: 3;
}

/* Contact Section */
.contact {
  background-color: transparent !important;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.9rem;
  margin-bottom: 30px;
  color: #000000;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #000000;
}

.contact-detail {
  display: flex;
  align-items: flex-start; /* Aligns icon to the top, not center */
  margin-bottom: 30px;
}

.contact-icon {
  margin-right: 15px;      /* Space between icon and text */
  display: inline-block;
  vertical-align: middle;
}

.contact-info-icon {
  font-size: 1.5rem;       /* Make them clearly visible */
  color: #1f2937;          /* Dark Charcoal (Matches your text) */
  width: 40px;             /* Fixed width for perfect alignment */
  text-align: center;
  margin-right: 15px;      /* Space between icon and text */
  display: inline-block;
  vertical-align: middle;
  margin-top: 6px; /* Slight push down to align with the first line of text */
}

/* Optional: Add a subtle circle background for a 'Tech' look */
.icon-wrapper { 
  background: #f3f4f6; /* Light grey circle */ 
  border-radius: 50%; 
  width: 50px; 
  height: 50px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.contact-details {
  line-height: 1.6; /* Increase line-height for better readability */
}

.contact-text h4 {
  margin-bottom: 5px;
  color: #000000;
  font-size: 1.1rem;
}

.contact-text p {
  color: #666666;
  margin: 0;
  font-weight: 300;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #000000;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 16px;
  font-family: inherit;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #000000;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background-color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid #333333;
}

.social-icon:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  border-color: #ffffff;
}

.social-icon:hover { transform: translateY(-3px); }
.instagram:hover { background-color: #E1306C; border-color: #E1306C; }
.linkedin:hover { background-color: #0077b5; border-color: #0077b5; }
.whatsapp:hover { background-color: #25D366; border-color: #25D366; }

.newsletter-form {
  display: flex;
  margin-top: 25px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #333333;
  background-color: #111111;
  color: #ffffff;
  font-size: 16px;
}

.newsletter-form input::placeholder {
  color: #888888;
}

.newsletter-form button {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #000000;
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #222222;
  color: #888888;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 80px;
    align-items: flex-start;
    padding-top: 120px;
  }
  
  #analytics-hero {
    height: auto;
    min-height: 80vh;
    padding-top: 100px;
    align-items: flex-start;
  }
  
  .glass-dashboard-wrapper {
    width: 95%;
    height: 60vh;
  }
  
  .header {
    min-height: 60px;
    padding: 10px 0;
  }
  
  .header.scrolled {
    min-height: 50px;
  }
  
  .logo img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .section {
    padding: 30px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 60px 10px 30px;
    align-items: flex-start;
    padding-top: 50px;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .menu-toggle {
    display: flex;
    height: 50px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 8px 0;
    width: 100%;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
    background-color: transparent;
    border-top: none;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
  
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
  
  .about-content {
    gap: 40px;
  }
  
  .contact-container {
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 20px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding: 40px 10px 20px;
    align-items: flex-start;
    padding-top: 30px;
  }
  
  #analytics-hero {
    padding-top: 80px;
    min-height: 70vh;
  }
  
  .glass-dashboard-wrapper {
    width: 90%;
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .services-grid {
    gap: 30px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
  
  .testimonial-quote {
    font-size: 1.1rem;
  }
  
  .footer-content {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .join-waitlist-btn {
    min-width: 140px;
    padding: 10px 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Specific styles for iPhone X and iPhone 8 */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
  .container {
    width: 95%;
    padding: 0 5px;
  }
  
  .hero {
    padding: 30px 5px 20px;
    padding-top: 20px;
  }
  
  .hero p {
    padding: 0 10px;
  }
  
  .section-subtitle {
    padding: 0 5px;
  }
  
  .frosted-content-block {
    padding: 20px;
  }
  
  .services-grid {
    gap: 20px;
  }
  
  .service-card {
    padding: 25px 15px;
  }
  
  .about-image {
    min-width: 250px;
  }
}

/* Specific styles for iPhone X (with notch) */
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  body {
    padding-top: 80px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .header {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .container {
    width: 92%;
    padding: 0 8px;
  }
  
  .hero {
    padding: 100px 8px 50px;
    padding-top: 70px;
  }
  
  .services-grid {
    gap: 15px;
  }
  
  .service-card {
    padding: 20px 10px;
  }
  
  .frosted-content-block {
    padding: 15px;
  }
}

#glass-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1;
    background-color: #ffffff; /* Pure White Base */
    /* Add a subtle dot pattern to the base so it's not empty */
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
}

.glass-shape {
    position: absolute;
    z-index: 1;
    /* HIGH VISIBILITY SETTINGS */
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(241,245,249,0.9));
    border: 2px solid #cbd5e1; /* Distinct Grey Border */
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15); /* Deep Shadow */
    backdrop-filter: blur(5px);
    animation: floatDistinct 20s ease-in-out infinite;
}

/* Shape Variations */
.shape-1 { 
    width: 300px; 
    height: 300px; 
    top: 10%; 
    left: -50px; 
    border-radius: 50%; /* Circle */
    animation-delay: 0s; 
}

.shape-2 { 
    width: 250px; 
    height: 250px; 
    bottom: 20%; 
    right: -50px; 
    border-radius: 12%; /* Soft Square */
    animation-delay: -5s; 
    border-color: #94a3b8; /* Slightly darker border */
}

.shape-3 { 
    width: 150px; 
    height: 150px; 
    top: 40%; 
    left: 40%; 
    border-radius: 50%; 
    border: 2px dashed #cbd5e1; /* Dashed border for 'Tech' feel */
    background: transparent; /* See-through wireframe */
    animation-duration: 30s; 
}

@keyframes floatDistinct { 
    0% { transform: translateY(0) rotate(0deg); } 
    50% { transform: translateY(-40px) rotate(10deg); } 
    100% { transform: translateY(0) rotate(0deg); } 
}

/* Analytics Hero Section */
#analytics-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}
.glass-dashboard-wrapper {
    width: 90%;
    max-width: 1100px;
    height: 70vh;
    position: relative;
    border-radius: 24px;
    background: white; /* Fallback */
    
    /* 1. Crisp White Border */
    border: 1px solid rgba(255, 255, 255, 0.9);
    
    /* 2. The Magic Shadow Stack */
    box-shadow: 
        /* Layer 1: The Green 'Tech Glow' (Subtle Aura) */
        0 0 25px rgba(16, 185, 129, 0.25),
        /* Layer 2: Deep Drop Shadow for Lift */
        0 35px 70px -15px rgba(0, 0, 0, 0.15),
        /* Layer 3: Inner Highlight (Glass Thickness) */
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
        
    /* 3. Smooth Transition for Hover */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    overflow: hidden;
}

/* Optional: Make it float higher when hovered */
.glass-dashboard-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        /* Brighter Green Glow */
        0 0 35px rgba(16, 185, 129, 0.4), 
        /* Enhanced Drop Shadow */
        0 45px 80px -15px rgba(0, 0, 0, 0.2), 
        /* Brighter Inner Highlight */
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Background UI Styling */
.dashboard-ui-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: #fafafa;
    /* Graph Paper Background */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

.dashboard-ui-bg::after {
    content: '';
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 60px; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: scanMove 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes scanMove { 
    0% { 
        left: -10%; 
    } 
    100% { 
        left: 110%; 
    } 
}

.ui-sidebar {
    width: 70px;
    border-right: 1px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.ui-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ui-icon-square {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #e2e8f0;
}

.ui-icon-square.active {
    background: #cbd5e1;
}

.ui-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ui-header {
    height: 50px;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
}

.ui-title-bar {
    width: 120px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.ui-user-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ui-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 100%;
}

.ui-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 15px;
    position: relative;
}

.big-chart {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chart-svg {
    width: 100%;
    height: 60%;
}

.chart-svg path {
    stroke-width: 1px !important; /* Thinner line */
    stroke: #10b981; /* Green color to match beta access */
    filter: none !important; /* Remove any glow/drop-shadows */
    vector-effect: non-scaling-stroke; /* Keeps line thin even if resized */
    opacity: 0.9;
}

.chart-svg .animated-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
    stroke-width: 1px !important; /* Thinner line */
    stroke: #10b981; /* Green color to match beta access */
    filter: none !important; /* Remove any glow/drop-shadows */
    vector-effect: non-scaling-stroke; /* Keeps line thin even if resized */
    opacity: 0.9;
}

@keyframes drawLine { 
    to { 
        stroke-dashoffset: 0; 
    } 
}

.vertical-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
}

.v-bar {
    width: 20%;
    background: #cbd5e1;
    border-radius: 4px 4px 0 0;
}

.h-40 {
    height: 40%;
}

.h-80 {
    height: 80%;
    background: #94a3b8;
}

.h-60 {
    height: 60%;
}

.list-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.line {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.w-40 {
    width: 40%;
}

.w-20 {
    width: 20%;
}

/* The Glass Overlay & Text */
.hero-overlay-content { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 10; 
    /* THE GLASS EFFECT - Transparent Thick Glass */
    background: rgba(255, 255, 255, 0.03); /* 3x more translucent */
    backdrop-filter: blur(2px); /* Even sharper */
    -webkit-backdrop-filter: blur(2px);

    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.launch-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.pulse {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    /* 1. Make it Darker (Charcoal instead of Light Grey) */
    color: #374151 !important; 
    /* 2. Make it Thicker (Medium weight instead of Light) */
    font-weight: 500 !important;
    /* 3. Ensure it's readable against the network */
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Section title styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000000;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Section subtitle styling */
.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
    color: #666666;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Global Visibility Fix for Section Subtitles */
.section-subtitle, 
.section-header p,
.text-center p {
    /* 1. Make it Darker (Charcoal instead of Light Grey) */
    color: #374151 !important; 
    
    /* 2. Make it Thicker (Medium weight instead of Light) */
    font-weight: 500 !important;
    
    /* 3. Ensure it's readable against the network */
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Join waitlist button styling */
.join-waitlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: auto;
    min-width: 160px;
    text-align: center;
    line-height: 1.2;
}

.join-waitlist-btn:hover {
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* tsParticles Neural Network Background */
#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}