/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables - Dark Mode Tech Palette */
:root {
    --primary-cyan: #00D9FF;
    --primary-pink: #FF0080;
    --primary-purple: #7C3AED;
    --primary-green: #10B981;
    --primary-dark: #0F0F23;
    --secondary-gray: #6B7280;
    --light-gray: #F8FAFC;
    --white: #FFFFFF;
    /* Background gradients only */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: var(--secondary-gray);
    margin-bottom: 1rem;
}

/* Utility Classes */
.gradient-text {
    color: var(--primary-purple);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: var(--primary-pink);
}

.btn-secondary {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: translateY(-1px);
    border-color: var(--primary-cyan);
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 16px;
    left: 24px;
    right: 24px;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0); /* Make logo black for white nav background */
}

.nav-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    letter-spacing: -0.025em;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1F2937;
}

.nav-link i {
    font-size: 0.75rem;
    color: #6B7280;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #F9FAFB;
    color: #1F2937;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-sign-in {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link-sign-in:hover {
    color: #1F2937;
    background-color: #F9FAFB;
    border-color: #D1D5DB;
    transform: translateY(-1px);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Hide mobile-only elements on desktop */
.mobile-only {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border: none;
}

.hamburger:hover {
    background-color: #F9FAFB;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #000000;
    margin: 2px 0;
    transition: 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;  /* Ensure title is bold on all screen sizes */
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.stat {
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}



/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px;
    position: relative;
}

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    perspective: 1000px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* iPhone Frame Styles */
.device-container {
    transform: rotateX(15deg) rotateY(-25deg) rotateZ(5deg);
    transform-origin: center center;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.device-container:hover {
    transform: rotateX(10deg) rotateY(-20deg) rotateZ(3deg);
}

.iphone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 30%, #1a1a1a 100%);
    border-radius: 50px;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* Side depth effect */
.iphone-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #404040 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 50px;
    z-index: -1;
    transform: translateZ(-8px);
}

/* Screen area */
.screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: transparent;
    border-radius: 42px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Dynamic Island (iPhone 14 Pro style) */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Camera and sensors in Dynamic Island */
.camera {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a1a2e 0%, #000 70%);
    border-radius: 50%;
    border: 1px solid #333;
}

.sensor {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #0a0a0a;
    border-radius: 50%;
}

/* Home indicator */
.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    z-index: 20;
}

/* Side buttons */
.volume-up {
    position: absolute;
    left: -2px;
    top: 120px;
    width: 4px;
    height: 30px;
    background: linear-gradient(90deg, #666 0%, #888 50%, #666 100%);
    border-radius: 2px 0 0 2px;
    box-shadow: 
        inset 1px 0 2px rgba(255, 255, 255, 0.2),
        inset -1px 0 2px rgba(0, 0, 0, 0.3);
}

.volume-down {
    position: absolute;
    left: -2px;
    top: 160px;
    width: 4px;
    height: 30px;
    background: linear-gradient(90deg, #666 0%, #888 50%, #666 100%);
    border-radius: 2px 0 0 2px;
    box-shadow: 
        inset 1px 0 2px rgba(255, 255, 255, 0.2),
        inset -1px 0 2px rgba(0, 0, 0, 0.3);
}

.power-button {
    position: absolute;
    right: -2px;
    top: 140px;
    width: 4px;
    height: 50px;
    background: linear-gradient(90deg, #666 0%, #888 50%, #666 100%);
    border-radius: 0 2px 2px 0;
    box-shadow: 
        inset -1px 0 2px rgba(255, 255, 255, 0.2),
        inset 1px 0 2px rgba(0, 0, 0, 0.3);
}

/* Lightning port */
.lightning-port {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.8),
        0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Speaker grilles */
.speaker-left {
    position: absolute;
    bottom: 8px;
    left: 60px;
    width: 25px;
    height: 3px;
    background: 
        repeating-linear-gradient(
            90deg,
            #000 0px,
            #000 1px,
            transparent 1px,
            transparent 3px
        );
}

.speaker-right {
    position: absolute;
    bottom: 8px;
    right: 60px;
    width: 25px;
    height: 3px;
    background: 
        repeating-linear-gradient(
            90deg,
            #000 0px,
            #000 1px,
            transparent 1px,
            transparent 3px
        );
}

/* Subtle reflections and highlights */
.screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 100%
    );
    border-radius: 42px 42px 0 0;
    pointer-events: none;
    z-index: 10;
}



/* Particle Burst Effect */
.ambient-glow {
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    z-index: -1;
    overflow: hidden;
    /* Ensure particles don't create scrollable content */
    pointer-events: none;
}

/* Central glow */
.ambient-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.6) 0%,
        rgba(124, 58, 237, 0.3) 40%,
        rgba(124, 58, 237, 0.1) 70%,
        transparent 100%
    );
    border-radius: 50%;
    animation: centralPulse 4s ease-in-out infinite;
}

/* Particle container */
.ambient-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Large bright particles */
        radial-gradient(circle 8px at 60% 20%, #7C3AED 0%, rgba(124, 58, 237, 0.5) 30%, transparent 70%),
        radial-gradient(circle 6px at 85% 35%, #7C3AED 0%, rgba(124, 58, 237, 0.7) 30%, transparent 70%),
        radial-gradient(circle 10px at 25% 30%, #7C3AED 0%, rgba(124, 58, 237, 0.6) 30%, transparent 70%),
        radial-gradient(circle 7px at 90% 60%, #7C3AED 0%, rgba(124, 58, 237, 0.8) 30%, transparent 70%),
        radial-gradient(circle 8px at 15% 70%, #7C3AED 0%, rgba(124, 58, 237, 0.6) 30%, transparent 70%),
        radial-gradient(circle 6px at 70% 85%, #7C3AED 0%, rgba(124, 58, 237, 0.7) 30%, transparent 70%),
        radial-gradient(circle 9px at 40% 10%, #7C3AED 0%, rgba(124, 58, 237, 0.8) 30%, transparent 70%),
        radial-gradient(circle 7px at 10% 40%, #7C3AED 0%, rgba(124, 58, 237, 0.9) 30%, transparent 70%),
        
        /* Medium particles closer to center */
        radial-gradient(circle 5px at 75% 25%, #7C3AED 0%, rgba(124, 58, 237, 0.6) 40%, transparent 70%),
        radial-gradient(circle 4px at 30% 45%, #7C3AED 0%, rgba(124, 58, 237, 0.7) 40%, transparent 70%),
        radial-gradient(circle 5px at 80% 75%, #7C3AED 0%, rgba(124, 58, 237, 0.5) 40%, transparent 70%),
        radial-gradient(circle 4px at 20% 80%, #7C3AED 0%, rgba(124, 58, 237, 0.8) 40%, transparent 70%),
        radial-gradient(circle 6px at 95% 45%, #7C3AED 0%, rgba(124, 58, 237, 0.6) 40%, transparent 70%),
        radial-gradient(circle 4px at 5% 25%, #7C3AED 0%, rgba(124, 58, 237, 0.7) 40%, transparent 70%),
        
        /* Inner ring particles */
        radial-gradient(circle 3px at 65% 40%, #7C3AED 0%, rgba(124, 58, 237, 0.8) 50%, transparent 80%),
        radial-gradient(circle 3px at 35% 60%, #7C3AED 0%, rgba(124, 58, 237, 0.9) 50%, transparent 80%),
        radial-gradient(circle 4px at 58% 55%, #7C3AED 0%, rgba(124, 58, 237, 0.7) 50%, transparent 80%),
        radial-gradient(circle 3px at 42% 45%, #7C3AED 0%, rgba(124, 58, 237, 0.8) 50%, transparent 80%),
        
        /* Extra visible particles */
        radial-gradient(circle 12px at 50% 15%, rgba(124, 58, 237, 0.4) 0%, transparent 60%),
        radial-gradient(circle 12px at 50% 85%, rgba(124, 58, 237, 0.4) 0%, transparent 60%),
        radial-gradient(circle 12px at 15% 50%, rgba(124, 58, 237, 0.4) 0%, transparent 60%),
        radial-gradient(circle 12px at 85% 50%, rgba(124, 58, 237, 0.4) 0%, transparent 60%);
    
    animation: particleBurst 8s linear infinite;
}

@keyframes centralPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.2);
    }
}

@keyframes particleBurst {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: scale(1) rotate(90deg);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.5) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg);
    }
}



/* Slideshow Styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%; /* 3 times the height to hold 3 slides */
    z-index: 5;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: slideUp 28s infinite; /* 27 seconds total: 9 seconds per slide */
}

.slide {
    width: 100%;
    height: 33.33%; /* Each slide takes 1/3 of container height */
    position: relative;
    overflow: hidden;
}

.screen-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 42px;
}

.screen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 42px;
    background: black;
}

@keyframes slideUp {
    0%, 33.33% {
        transform: translateY(0%); /* Show first slide */
    }
    36.66%, 66.66% {
        transform: translateY(-33.33%); /* Show second slide */
    }
    70%, 100% {
        transform: translateY(-66.66%); /* Show third slide */
    }
}

.website-builder-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.builder-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.builder-tabs {
    display: flex;
    gap: 1rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--primary-purple);
    color: white;
}

.builder-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
}

.action-btn.primary {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.builder-content {
    display: flex;
    height: 300px;
}

.builder-sidebar {
    width: 180px;
    background: #f9fafb;
    padding: 1rem;
    border-right: 1px solid #e5e7eb;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
}

.component-item:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
}

.component-item i {
    width: 14px;
    text-align: center;
}

.builder-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.canvas-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.device-selector {
    display: flex;
    gap: 1rem;
}

.device-selector i {
    padding: 0.5rem;
    border-radius: 4px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-selector i.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
}

.canvas-preview {
    flex: 1;
    padding: 1rem;
    background: #f9fafb;
    position: relative;
}

.preview-browser {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1rem;
}

.preview-nav {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.nav-logo {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 0.875rem;
}

.nav-items {
    display: flex;
    gap: 0.5rem;
}

.nav-items::before {
    content: '···';
    color: #d1d5db;
    font-weight: bold;
}

.preview-hero {
    padding: 1.5rem 1rem;
    text-align: center;
}

.hero-badge {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.hero-title-lines {
    margin-bottom: 1rem;
}

.title-line {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 0.25rem;
    width: 100%;
}

.title-line.short {
    width: 60%;
    margin: 0 auto;
}

.hero-cta-btn {
    background: var(--primary-purple);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.build-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
}

.build-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.build-step.completed,
.build-step.active {
    opacity: 1;
}

.build-step i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    background: #e5e7eb;
    color: #6b7280;
}

.build-step.completed i {
    background: var(--primary-green);
    color: white;
}

.build-step.active i {
    background: var(--primary-purple);
    color: white;
    animation: pulse 2s infinite;
}

.build-step span {
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
    }
}

/* Why Us Section */
.why-us {
    padding: 150px 0 150px;
    background: white;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a3a 25%, #2d1b69 50%, var(--primary-purple) 75%, var(--primary-pink) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    z-index: 0;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 50%, var(--primary-purple) 100%);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.why-us .container {
    position: relative;
    z-index: 2;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.credential-item h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.credential-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.stat-card:nth-child(1) .stat-icon {
    background: var(--primary-cyan);
}

.stat-card:nth-child(2) .stat-icon {
    background: var(--primary-green);
}

.stat-card:nth-child(3) .stat-icon {
    background: var(--primary-pink);
}

.stat-card:nth-child(4) .stat-icon {
    background: var(--primary-purple);
}

.stats-grid .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: block;
}

.stats-grid .stat-label {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 150px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 50%, var(--primary-purple) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 50%, #FF6B9D 100%);
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Different colors for different service cards */
.service-card.performance .service-icon {
    background: var(--primary-cyan);
}

.service-card.website .service-icon {
    background: var(--primary-purple);
}

.service-card.content .service-icon {
    background: var(--primary-pink);
}

.service-card.ecommerce .service-icon {
    background: var(--primary-green);
}

.service-card.analytics .service-icon {
    background: var(--primary-dark);
}

.service-card.email-marketing .service-icon {
    background: var(--primary-pink);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.service-visual {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

/* Service Visuals */
.phone-mockup {
    width: 120px;
    height: 120px;
    background: #1f2937;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.revenue-display {
    color: white;
    text-align: center;
}

.currency {
    font-size: 1rem;
    opacity: 0.8;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.suffix {
    font-size: 0.875rem;
    opacity: 0.8;
}

.growth-indicator {
    font-size: 0.75rem;
    color: var(--primary-green);
    margin-top: 0.5rem;
}

.website-mockup {
    width: 200px;
    height: 120px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.mockup-header {
    background: #f3f4f6;
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.url-bar {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #6b7280;
}

.mockup-content {
    padding: 1rem;
}

.chart-area {
    height: 60px;
}

.revenue-chart {
    width: 100%;
    height: 100%;
}

.revenue-chart polyline {
    stroke: var(--primary-cyan);
}

.video-mockup {
    width: 160px;
    height: 90px;
    background: #1f2937;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
}

.video-timeline {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.timeline-progress {
    width: 40%;
    height: 100%;
    background: var(--primary-pink);
    border-radius: 2px;
}

.ecommerce-mockup {
    width: 180px;
    height: 120px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
}

.product-item {
    background: #f8fafc;
    border-radius: 4px;
    padding: 0.5rem;
}

.product-image {
    width: 100%;
    height: 40px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.product-title {
    width: 80%;
    height: 8px;
    background: #d1d5db;
    border-radius: 2px;
    margin-bottom: 0.25rem;
}

.product-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
}

.analytics-mockup {
    width: 200px;
    height: 120px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.metric-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.metric-card {
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.metric-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

.metric-label {
    font-size: 0.625rem;
    color: #6b7280;
}

.chart-container {
    height: 40px;
}

.analytics-chart {
    width: 100%;
    height: 100%;
}

.email-mockup {
    width: 200px;
    height: 120px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.email-interface {
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.email-header {
    margin-bottom: 0.5rem;
}

.email-subject {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.email-stats {
    display: flex;
    gap: 0.5rem;
}

.open-rate, .click-rate {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    color: white;
}

.open-rate {
    background: var(--primary-green);
}

.click-rate {
    background: var(--primary-cyan);
}

.email-body {
    flex: 1;
    margin-bottom: 0.5rem;
}

.email-content-line {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 0.25rem;
    width: 100%;
}

.email-content-line.short {
    width: 70%;
}

.email-cta-button {
    background: var(--primary-purple);
    color: white;
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-align: center;
    margin: 0.25rem 0;
    width: fit-content;
}

.sms-preview {
    border-top: 1px solid #f3f4f6;
    padding-top: 0.25rem;
}

.sms-bubble {
    background: #007AFF;
    color: white;
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
}

.sms-text {
    display: block;
}

.service-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 600;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.service-cta:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(3px);
}



/* Hero Logo Showcase Banner */
.hero-logo-banner {
    padding: 2rem 0 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    background: transparent;
    max-width: 600px; /* Constrain width to fit hero text area */
    width: 100%;
}

/* Fade effects on both ends */
.hero-logo-banner::before,
.hero-logo-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 63px; /* Width of fade effect - increased by 25% from 50px */
    z-index: 10;
    pointer-events: none;
}

.hero-logo-banner::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-logo-banner::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Mobile overrides for hero banner — make it full width */
@media (max-width: 768px) {
  .hero-logo-banner {
    width: 100% !important;
    max-width: none !important;         /* remove the 280px cap */
    padding: 1rem 0 0 !important;
    margin: 1rem 0 0 !important;
  }

  .hero-logo-track {
    gap: clamp(0.5rem, 2.5vw, 1rem) !important;
  }

  /* scale the edge fade with viewport so it doesn't look "cropped" */
  .hero-logo-banner::before,
  .hero-logo-banner::after {
    width: 12vw !important;
  }

  /* slightly smaller logo tiles on mobile */
  .hero-logo-banner .logo-box {
    width: 88px !important; /* Increased by 25% from 70px */
    height: 44px !important; /* Increased by 25% from 35px */
  }
}

@media (max-width: 480px) {
  .hero-logo-banner {
    width: 100% !important;
    max-width: none !important;         /* remove the 240px cap */
  }

  .hero-logo-banner::before,
  .hero-logo-banner::after {
    width: 14vw !important;
  }

  .hero-logo-banner .logo-box {
    width: 75px !important; /* Increased by 25% from 60px */
    height: 38px !important; /* Increased by 25% from 30px */
  }
}

.hero-logo-track {
    display: flex;
    align-items: center;
    animation: logoScroll 40s linear infinite;
    will-change: transform;
    gap: 1rem; /* Reduced gap */
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box {
    width: 125px; /* Increased by 25% from 100px */
    height: 63px; /* Increased by 25% from 50px */
    background: transparent; /* Removed white background */
    border: none; /* Removed border */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-box:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-size: 0.65rem; /* Reduced font size */
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.6px; /* Reduced letter spacing */
    z-index: 1;
    position: relative;
}

.banner-logo-image {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

/* Logo-specific sizing adjustments can be added here if needed */

.logo-box:hover .banner-logo-image {
    transform: scale(1.05);
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.hero-logo-banner:hover .hero-logo-track {
    animation-play-state: paused;
}

/* Original Logo Showcase Banner (if still needed elsewhere) */
.logo-banner {
    padding: 3rem 0;
    margin: 3rem 0;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: logoScroll 40s linear infinite;
    will-change: transform;
    gap: 2rem;
}

/* Pause animation on hover */
.logo-banner:hover .logo-track {
    animation-play-state: paused;
}



/* Mobile adjustments for original logo banner */
@media (max-width: 768px) {
    .logo-banner {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .logo-track {
        gap: 1.5rem;
    }
    
    .logo-banner .logo-box {
        width: 140px;
        height: 70px;
    }
    
    .logo-banner .logo-text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}



@media (max-width: 480px) {
    .logo-banner {
        padding: 1.5rem 0;
    }
    
    .logo-track {
        gap: 1rem;
    }
    
    .logo-banner .logo-box {
        width: 120px;
        height: 60px;
    }
    
    .logo-banner .logo-text {
        font-size: 0.7rem;
    }
}

/* Blog Section */
.blog {
    padding: 150px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.blog::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 50%, #FF6B9D 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 0;
}

.blog::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 50%, var(--primary-purple) 100%);
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.blog .container {
    position: relative;
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.blog-card:nth-child(1) .blog-image {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
}

.blog-card:nth-child(2) .blog-image {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
}

.blog-card:nth-child(3) .blog-image {
    background: linear-gradient(135deg, var(--primary-pink) 0%, #FF6B9D 100%);
}

.blog-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.blog-date, .blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date::before {
    content: '📅';
    font-size: 0.75rem;
}

.blog-read-time::before {
    content: '⏱️';
    font-size: 0.75rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    flex: 1;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.blog-cta:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.blog-cta i {
    transition: transform 0.3s ease;
}

.blog-cta:hover i {
    transform: translateX(3px);
}

.blog-cta-section {
    text-align: center;
    padding: 3rem 0;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.blog-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

/* FAQ Section */
.faq {
    padding: 150px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a3a 25%, #2d1b69 50%, var(--primary-purple) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 80px; /* Ensure consistent height for all questions */
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a3a 25%, #2d1b69 50%, var(--primary-purple) 75%, var(--primary-pink) 100%);
    position: relative;
    overflow: hidden;
}



.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-info p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info .section-badge {
    background: rgba(0, 217, 255, 0.2);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 217, 255, 0.4);
    backdrop-filter: blur(10px);
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-green) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.contact-method:nth-child(2) .method-icon {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.contact-method:nth-child(3) .method-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-cyan) 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.method-info h4 {
    margin-bottom: 0.25rem;
    color: white;
    font-weight: 600;
}

.method-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.contact .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact .social-link:hover {
    background: rgba(0, 217, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-cyan);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design - Tablets and Mobile */
@media (max-width: 1024px) {
    .hamburger {
        display: flex !important;
        background-color: transparent;
        width: 36px;
        height: 36px;
        padding: 6px;
        border: none;
    }
    
    .hamburger span {
        width: 18px;
        height: 2px;
        background: #000000;
    }
    
    .navbar {
        top: 8px;
        left: 16px;
        right: 16px;
    }
    
    .nav-container {
        border-radius: 16px;
        height: 64px;
        padding: 0 16px;
    }
    
    /* Hide navigation menu by default on mobile */
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .nav-content {
        position: fixed;
        left: 16px;
        right: 16px;
        top: -100%;
        flex-direction: column;
        background-color: #FFFFFF;
        width: calc(100% - 32px);
        max-height: calc(100vh - 88px);
        border-radius: 12px;
        transition: top 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        z-index: 999;
        border: 1px solid rgba(0, 0, 0, 0.05);
        padding: 24px;
        gap: 24px;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .mobile-only {
        display: block;
    }
    
    .nav-content.active {
        top: 80px;
    }
    
    .nav-content.active .nav-menu,
    .nav-content.active .nav-actions {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #F3F4F6;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 16px 0;
        font-size: 1rem;
        color: #374151;
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-link:hover {
        background-color: #F9FAFB;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    

    
    /* Mobile Actions */
    .nav-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        align-items: stretch;
        padding-top: 32px;
        border-top: 1px solid #E5E7EB;
    }
    
    .nav-cta {
        text-align: center;
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .hero-text {
        order: 0; /* Ensure text content comes first */
    }
    
    /* Show hero visual on mobile but reorder it */
    .hero-visual {
        display: flex;
        order: 1; /* Place after other hero content */
        margin-top: 2rem;
        padding: 20px 1rem;
        min-height: 50vh;
        justify-content: center;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;  /* More gap between buttons */
        margin-bottom: 2.5rem;  /* More space after buttons for breathing room */
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 280px;  /* Smaller to not overpower title */
        justify-content: center;
        padding: 0.875rem 1.25rem;  /* More proportional padding */
        font-size: 0.9rem;  /* Smaller font so title dominates */
        font-weight: 600;  /* Keep readable but not overpowering */
    }
    
    /* Mobile hero optimizations */
    .hero {
        padding: 120px 0 60px;  /* Much more top padding, more bottom space */
        min-height: 90vh;  /* Take up more screen for breathing room */
    }
    
    .hero-badge {
        margin-bottom: 1.5rem;  /* More space after badge */
        font-size: 0.75rem;  /* Smaller, more subtle badge */
        padding: 0.5rem 1rem;  /* Less padding for subtlety */
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 6.5vw, 3.5rem) !important;  /* Even larger title to dominate */
        line-height: 1.15;  /* Slightly more breathing room */
        margin-bottom: 1.5rem;  /* More space after title */
        font-weight: 700;  /* Bolder for more presence */
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-description {
        font-size: 1.1rem;  /* Larger description for better readability */
        line-height: 1.5;   /* Better line height for larger text */
        margin-bottom: 2.25rem;  /* Much more space before buttons */
    }
    

    
    /* Mobile iPhone frame adjustments */
    .device-container {
        transform: rotateX(5deg) rotateY(-10deg) rotateZ(2deg);
    }
    
    .iphone-frame {
        width: 220px;
        height: 440px;
        border-radius: 35px;
    }
    
    .screen {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
        border-radius: 34px;
    }
    
    .dynamic-island {
        width: 100px;
        height: 25px;
        border-radius: 15px;
        top: 10px;
    }
    
    .slideshow-container {
        top: 0;
        left: 8px;
        right: 8px;
        bottom: 20px;
        border-radius: 28px;
    }
    
    .slide img,
    .slide video {
        border-radius: 28px;
    }
    
    /* Mobile website builder adjustments */
    .website-builder-mockup {
        transform: scale(0.65);
        transform-origin: top center;
        margin-bottom: 1rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    

    
    .builder-content {
        height: 250px;
    }
    
    .builder-sidebar {
        width: 120px;
        padding: 0.75rem;
    }
    
    .component-item span {
        display: none;
    }
    
    .build-indicator {
        position: static;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
        .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-cta-section {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .blog-cta-section p {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        gap: 1.00625rem; /* 15% increase from 0.875rem */
        padding: 1.15rem; /* 15% increase from 1rem */
        text-align: left;
    }
    
    .stat-icon {
        width: 40.25px; /* 15% increase from 35px */
        height: 40.25px; /* 15% increase from 35px */
        margin: 0;
        flex-shrink: 0;
        font-size: 1.00625rem; /* 15% increase from 0.875rem */
    }
    
    .stat-content {
        display: flex;
        flex-direction: column;
    }
    
    .stats-grid .stat-number {
        font-size: 1.61rem; /* 15% increase from 1.4rem */
        margin-bottom: 0.2875rem; /* 15% increase from 0.25rem */
    }
    
    .stats-grid .stat-label {
        font-size: 0.8625rem; /* 15% increase from 0.75rem */
    }
    
    .credentials {
        margin-bottom: 2rem;
    }
    
    /* Reduce gap between section header and first credential */
    .why-us .section-header {
        margin-bottom: 2rem;
    }
    
    /* Scale up all Our Story text by 15% on mobile */
    .why-us .section-header p {
        max-width: 100%;
        font-size: 1.15rem;
        padding: 0 1rem;
    }
    
    .why-us .section-header h2 {
        font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    }
    
    .credential-item p {
        font-size: 1.1rem;
        line-height: 1.5;
        max-width: 100%;
        word-wrap: break-word;
        padding: 0 1.5rem;
    }
    
    .credential-item h3 {
        padding: 0 1.5rem;
        font-size: 1.45rem;
    }
    
    /* Mobile adjustments for diagonal backgrounds */
    .why-us::before,
    .services::before,
    .faq::before {
        height: 120px;
        top: -60px;
    }
    
    .why-us::after,
    .services::after {
        height: 120px;
        bottom: -60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hamburger {
        padding: 10px;
        margin-right: 5px;
        background-color: transparent;
        border: none;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
        background: #000000;
    }
    
    /* Hero padding handled in 1024px media query */
    

    

    
    .hero-description {
        margin-bottom: 1.5rem;
    }
    
    .stat {
        min-width: 80px;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Further iPhone frame adjustments for very small screens */
    .iphone-frame {
        width: 180px;
        height: 360px;
        border-radius: 30px;
    }
    
    .screen {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 30px;
    }
    
    .dynamic-island {
        width: 80px;
        height: 20px;
        border-radius: 12px;
        top: 8px;
    }
    
    .slideshow-container {
        top: 0;
        left: 6px;
        right: 6px;
        bottom: 16px;
        border-radius: 25px;
    }
    
    .slide img,
    .slide video {
        border-radius: 25px;
    }
    
    .website-builder-mockup {
        transform: scale(0.5);
        margin: 0 auto;
        max-width: 300px;
    }
    

    
    .section-header,
    .why-us,
    .services,
    .faq,
    .contact {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        min-height: 70px; /* Slightly smaller min-height for mobile */
    }
    
    /* Reduce gap between FAQ section header and first question on mobile */
    .faq .section-header {
        margin-bottom: 2rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    /* Further reduce gap between FAQ section header and first question on very small screens */
    .faq .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* Further refinements for very small screens */
    .stat-card {
        padding: 1.00625rem; /* 15% increase from 0.875rem */
    }
    
    .stat-icon {
        width: 36.8px; /* 15% increase from 32px */
        height: 36.8px; /* 15% increase from 32px */
        font-size: 0.92rem; /* 15% increase from 0.8rem */
    }
    
    .stats-grid .stat-number {
        font-size: 1.4375rem; /* 15% increase from 1.25rem */
    }
    
    .stats-grid .stat-label {
        font-size: 0.805rem; /* 15% increase from 0.7rem */
        line-height: 1.2;
    }
    
    /* Reduce gap on very small screens too */
    .why-us .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* Scale up Our Story text by 15% for very small screens */
    .why-us .section-header p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .why-us .section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    
    .credential-item p {
        font-size: 1.05rem;
        line-height: 1.4;
        padding: 0 1.25rem;
    }
    
    .credential-item h3 {
        padding: 0 1.25rem;
        font-size: 1.35rem;
    }
    
    /* Further mobile adjustments for diagonal backgrounds */
    .why-us::before,
    .services::before,
    .faq::before {
        height: 80px;
        top: -40px;
    }
    
    .why-us::after,
    .services::after {
        height: 80px;
        bottom: -40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
}

 

/* Cross-browser mobile containment for the hero mockup */
@media (max-width: 768px) {
    /* Hero section can be natural since particles are now outside document flow */
    .hero {
      position: relative;
      width: 100%;
      max-width: 100vw;
    }
    
    /* Contain the hero content */
    .hero .container {
      max-width: 100%;
      padding: 0 15px;
    }
    
    /* Hero text container fix */
    .hero-text {
      width: 100%;
      max-width: 100%;
      padding: 0;
      margin-bottom: 2rem;
    }
    
    /* Fine-tune hero title for tablet screens */
    .hero-title {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
  
    /* Hero visual can be natural since particles are outside document flow */
    .hero-visual {
      display: flex;
      order: 1;
      margin-top: 2rem;
      padding: 20px 1rem;
      min-height: 50vh;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    
    /* Mockup container can be natural since particles are outside document flow */
    .hero-mockup {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: auto;
      height: auto;
      perspective: 1000px;
      perspective-origin: 50% 50%;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
    }
    
    /* Keep device container as original */
    .device-container {
      transform: rotateX(5deg) rotateY(-10deg) rotateZ(2deg);
    }
  
    /* Break particles free from container - let them flow across entire viewport */
    .ambient-glow {
      position: fixed;
      top: 50%;
      left: 50%;
      width: 120vw;  /* Slightly larger to ensure full coverage */
      height: 120vh;
      z-index: -1;
      /* Ensure particles don't create scrollable content */
      pointer-events: none;
      overflow: visible;
      /* Center the effect around the phone's position */
      transform: translate(-50%, -55%);  /* Moved down to better align with phone center */
    }
    
    /* Phone sizing as original */
    .iphone-frame {
      width: 220px;
      height: 440px;
      border-radius: 35px;
    }
    
    /* Fix only the logo banner */
    .hero-logo-banner {
      width: calc(100vw - 30px); /* Account for container padding */
      max-width: calc(100vw - 30px);
      overflow: hidden;
      position: relative;
      margin: 1rem -15px 0; /* Negative margin to offset container padding */
      padding: 1rem 0 0;
    }
    
    .hero-logo-track {
      display: flex;
      align-items: center;
      animation: logoScroll 40s linear infinite;
      will-change: transform;
      gap: 0.75rem;
    }
  }

/* Additional mobile fixes for very small screens */
@media (max-width: 480px) {
    .hero {
      width: 100%;
      padding: 100px 0 50px;  /* More top padding, more bottom space */
      min-height: 85vh;  /* More screen coverage for breathing room */
    }
    
    /* Apply same viewport-wide effect for very small screens */
    .ambient-glow {
      position: fixed;
      top: 50%;
      left: 50%;
      width: 120vw;
      height: 120vh;
      transform: translate(-50%, -50%);  /* Adjusted down for better alignment on smaller screens */
    }
    
    /* Maintain proper hierarchy and spacing on very small screens */
    .hero-title {
      font-size: clamp(2rem, 7vw, 2.5rem) !important;  /* Even larger title for small screens */
      line-height: 1.15;  /* Slightly more breathing room */
      margin-bottom: 1.25rem;  /* More space after title */
      font-weight: 700;
    }
    
    .hero-description {
      font-size: 1rem;  /* Keep it readable and impactful */
      line-height: 1.4;
      margin-bottom: 2rem;  /* More space before buttons */
    }
    
    .hero-badge {
      font-size: 0.7rem;  /* Even smaller on small screens */
      margin-bottom: 1.25rem;  /* More space after badge */
      padding: 0.4rem 0.8rem;
    }
    
    .hero-cta {
      gap: 0.75rem;  /* More gap between buttons */
      margin-bottom: 2.25rem;  /* More space after buttons */
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
      max-width: 280px;  /* Proportional to title */
      padding: 0.8rem 1rem;  /* More proportional padding */
      font-size: 0.85rem;  /* Smaller so title dominates */
    }
    
    /* Keep phone animations unchanged */
    .device-container {
      transform: rotateX(5deg) rotateY(-10deg) rotateZ(2deg);
    }
    
    .iphone-frame {
      width: 180px;
      height: 360px;
      border-radius: 30px;
    }
    
    /* Logo banner specific fix */
    .hero-logo-banner {
      margin: 0.5rem -15px 0;
      padding: 0.5rem 0 0;
    }
}
  
  