/* ==========================================
   KOADLY - Modern Glassmorphism Design
   White Glass + Navy Blue Gradient Blur
   ========================================== */

/* CSS Variables */
:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --primary-dark: #0f2847;
    --secondary: #06b6d4;
    --accent: #06b6d4;
    
    /* AI Colors - Cyan/Electric Blue */
    --ai-primary: #00d4ff;
    --ai-secondary: #06b6d4;
    --ai-gradient: linear-gradient(135deg, #00d4ff 0%, #0891b2 100%);
    
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    
    --dark: #1a1a2e;
    --dark-80: rgba(26, 26, 46, 0.8);
    --dark-60: rgba(26, 26, 46, 0.6);
    
    --gradient-navy: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    --gradient-bg: linear-gradient(135deg, #f0f4f8 0%, #e1e8f0 50%, #f0f4f8 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(30, 58, 95, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Smooth Easing Curves */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.3s var(--ease-smooth);
    --transition-slow: 0.5s var(--ease-smooth);
    --transition-slower: 0.6s var(--ease-smooth);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Smooth Transitions */
a, button, input, textarea, select,
.glass, .btn, .nav-link, .bento-card,
.service-card, .portfolio-item, .demo-card {
    transition: all var(--transition-normal);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

/* Custom Scrollbar - Smooth */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-bg);
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Selection styling */
::selection {
    background: rgba(30, 58, 95, 0.3);
    color: var(--dark);
}

/* Focus styles - smooth */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    transition: outline-offset 0.3s ease;
}

/* Animated Background Blobs */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: blobFloat 25s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #0f2847 0%, #1e3a5f 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
    opacity: 0.4;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
    opacity: 0.35;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
    opacity: 0.25;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    top: 20%;
    right: 20%;
    animation-delay: -15s;
    opacity: 0.3;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(40px, 40px) scale(1.05); }
}

/* ==========================================
   PAGE TRANSITIONS - Ultra Smooth Slide Animation
   ========================================== */
.page-wrapper {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* Only animate when JS adds these classes */
.page-wrapper.page-enter-from {
    opacity: 0;
    transform: translateX(60px);
}

.page-wrapper.page-enter {
    opacity: 1;
    transform: translateX(0);
}

.page-wrapper.page-exit {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.4s cubic-bezier(0.55, 0, 1, 0.45);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Glass Effect Classes - Clean & Professional */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: box-shadow 0.3s ease;
}

.glass-dark {
    background: var(--dark-80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* ==========================================
   NAVIGATION - Smooth Transitions
   ========================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    z-index: 1000;
    border-radius: var(--radius-xl);
    padding: 12px 24px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    font-weight: 700;
    font-size: 22px;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 32px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 18px;
    text-decoration: none;
    color: var(--dark-60);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-navy);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark);
    background: var(--white-40);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================
   BUTTONS - Ultra Smooth
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-navy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-glass {
    background: var(--white-40);
    color: var(--dark);
    border: 1px solid var(--white-60);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--white-60);
}

.btn-ghost {
    background: transparent;
    color: var(--dark);
}

.btn-ghost:hover {
    background: var(--white-40);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-full {
    width: 100%;
}

.btn-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
}

/* Button with HOT badge */
.btn-hot {
    position: relative;
    padding-right: 70px;
}

.hot-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: hotPulse 2s ease-in-out infinite;
}

@keyframes hotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* AI Button */
.btn-ai {
    background: var(--ai-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* White Button */
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   BADGES
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white-60);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-80);
}

.badge.small {
    padding: 4px 10px;
    font-size: 11px;
}

.live-badge {
    padding: 4px 10px;
    background: var(--ai-gradient);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

/* AI specific styling */
.ai-card .card-icon,
.bento-ai-chat .card-icon,
.bento-voice .card-icon {
    background: var(--ai-gradient);
}

.ai-badge {
    background: var(--ai-gradient);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Enhanced Badge Styles */
.badge-animated {
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
}

.badge-sm {
    font-size: 11px;
    padding: 4px 10px;
}

/* Gradient Icon */
.gradient-icon {
    background: var(--ai-gradient) !important;
}

/* Pulse Badge */
.pulse-badge {
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hot Mini Badge */
.hot-mini {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Glow Button */
.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 212, 255, 0.5); }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--white-20);
}

.trust-label {
    font-size: 12px;
    color: var(--dark-60);
    font-weight: 500;
}

.trust-logos {
    display: flex;
    gap: 10px;
}

.trust-logo {
    background: var(--white-60);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--dark);
}

/* Stat Plus Sign */
.stat-plus {
    color: var(--accent);
    font-weight: 700;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.rating i {
    color: #fbbf24;
    font-size: 12px;
}

/* Gradient Avatar */
.gradient-avatar {
    background: var(--gradient-navy) !important;
}

/* Counter Animation Script Support */
.counter {
    display: inline-block;
}

/* ==========================================
   MAIN CONTENT & BENTO GRID
   ========================================== */
.main-content {
    padding: 120px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 20px;
}

.bento-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(30, 58, 95, 0.12);
}

/* Hero Card */
.bento-hero {
    grid-column: span 8;
    grid-row: span 3;
    display: flex;
    gap: 40px;
    padding: 40px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin: 20px 0;
}

.gradient-text {
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: var(--dark-60);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--white-40);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--dark-60);
}

.hero-visual {
    flex: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 300px;
}

.float-card {
    position: absolute;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.12);
}

.float-card i {
    font-size: 18px;
    color: var(--primary);
}

.float-card:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-card:nth-child(2) {
    top: 45%;
    right: 5%;
    animation-delay: -2s;
}

.float-card:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: -4s;
}

/* AI Card Icons - Cyan */
.ai-card .card-icon {
    background: var(--ai-gradient) !important;
}

.ai-card .tool-item i,
.bento-tools .tool-item i {
    color: var(--ai-primary);
}

.voice-waves span {
    background: var(--ai-gradient) !important;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* AI Chat Demo Card */
.bento-ai-chat {
    grid-column: span 4;
    grid-row: span 3;
    min-height: 450px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.card-icon.pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
}

.bento-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bento-card > p {
    font-size: 13px;
    color: var(--dark-60);
    margin-bottom: 16px;
}

.chat-demo {
    background: var(--white-40);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 280px;
    overflow: hidden;
}

.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
}

.chat-message.bot {
    background: var(--white-80);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-message.user {
    background: var(--ai-gradient);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--dark-60);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* Voice AI Card */
.bento-voice {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.voice-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin: 20px 0;
}

.voice-waves span {
    width: 4px;
    height: 20px;
    background: var(--gradient-navy);
    border-radius: 2px;
    animation: voiceWave 1s ease-in-out infinite;
}

.voice-waves span:nth-child(1) { animation-delay: 0s; }
.voice-waves span:nth-child(2) { animation-delay: 0.1s; height: 30px; }
.voice-waves span:nth-child(3) { animation-delay: 0.2s; height: 40px; }
.voice-waves span:nth-child(4) { animation-delay: 0.3s; height: 30px; }
.voice-waves span:nth-child(5) { animation-delay: 0.4s; }

@keyframes voiceWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Services Card */
.bento-services {
    grid-column: span 6;
    grid-row: span 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--white-40);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.service-item:hover {
    background: var(--white-60);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.service-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-80);
}

/* Tech Stack Card */
.bento-tech {
    grid-column: span 2;
    grid-row: span 1;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.tech-logo {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-40);
    border-radius: var(--radius-sm);
    font-size: 24px;
    color: var(--dark-60);
    transition: var(--transition-fast);
}

.tech-logo:hover {
    background: var(--gradient-navy);
    color: var(--white);
    transform: scale(1.1);
}

/* AI Tools Card */
.bento-tools {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-tools .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tools-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0;
    margin-bottom: 16px;
}

.tool-item {
    flex-shrink: 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
}

.tool-item i {
    color: var(--primary);
}

/* Portfolio Card */
.bento-portfolio {
    grid-column: span 5;
    grid-row: span 2;
}

.portfolio-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    transition: var(--transition-normal);
}

.portfolio-img span {
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-img span {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Card */
.bento-contact {
    grid-column: span 3;
    grid-row: span 1;
    background: var(--gradient-navy) !important;
    color: var(--white);
}

.bento-contact h3 {
    color: var(--white);
}

.bento-contact p {
    color: var(--white-80);
}

.contact-btns {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.bento-contact .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.bento-contact .btn-glass {
    background: var(--white-20);
    color: var(--white);
    border-color: var(--white-40);
}

/* Testimonial Card */
.bento-testimonial {
    grid-column: span 4;
    grid-row: span 1;
}

.quote-icon {
    font-size: 48px;
    font-family: Georgia, serif;
    line-height: 1;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    font-size: 14px;
    font-style: italic;
    margin: 12px 0 16px;
    color: var(--dark-80);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 13px;
}

.author-role {
    font-size: 11px;
    color: var(--dark-60);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    margin: 40px 20px 20px;
    border-radius: var(--radius-xl);
    padding: 60px 40px 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--white-40);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 14px;
    color: var(--dark-60);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--white-40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-60);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-navy);
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 13px;
    color: var(--dark-60);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--dark-60);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .bento-hero {
        grid-column: span 12;
    }
    
    .bento-ai-chat {
        grid-column: span 6;
    }
    
    .bento-voice {
        grid-column: span 6;
    }
    
    .bento-services {
        grid-column: span 12;
    }
    
    .bento-tech {
        grid-column: span 4;
    }
    
    .bento-tools {
        grid-column: span 8;
    }
    
    .bento-portfolio {
        grid-column: span 8;
    }
    
    .bento-contact {
        grid-column: span 4;
    }
    
    .bento-testimonial {
        grid-column: span 6;
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-visual {
        display: none;
    }
    
    .bento-hero {
        grid-row: span 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .bento-hero {
        padding: 30px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        padding: 10px 16px;
    }
    
    .portfolio-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-btns {
        flex-direction: column;
    }
    
    .footer {
        padding: 40px 24px 20px;
        margin: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-item {
        padding: 16px 8px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================================
   ANIMATIONS & UTILITIES
   ========================================== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white-20);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================
   PAGE SPECIFIC STYLES
   ========================================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Page Header */
.page-header {
    padding: 140px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 16px 0;
}

.page-header p {
    font-size: 16px;
    color: var(--dark-60);
    max-width: 500px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-top: 16px;
}

/* AI Gradient Text */
.gradient-text-ai {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* AI Button */
.btn-ai {
    background: var(--ai-gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 58, 95, 0.1);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card.ai-highlight {
    border: 2px solid var(--ai-primary);
}

.service-card .ai-icon {
    background: var(--ai-gradient);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--dark-60);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.service-features li i {
    color: var(--primary);
    font-size: 12px;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--white-40);
}

.price {
    font-size: 14px;
    color: var(--dark-60);
}

.price strong {
    font-size: 20px;
    color: var(--dark);
}

/* Process Timeline */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.process-step {
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 160px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 16px;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--dark-60);
}

.process-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-navy);
}

/* CTA Card */
.cta-card {
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-card h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card p {
    color: var(--dark-60);
    margin-bottom: 32px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ai-cta {
    background: var(--ai-gradient) !important;
    color: var(--white);
}

.ai-cta p {
    color: var(--white-80);
}

/* ==========================================
   DEMOS PAGE
   ========================================== */
.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.demo-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.demo-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.demo-icon.ai-icon {
    background: var(--ai-gradient);
}

.demo-meta h3 {
    font-size: 20px;
    font-weight: 700;
}

.demo-desc {
    color: var(--dark-60);
    font-size: 14px;
    margin-bottom: 20px;
}

.demo-preview {
    margin-bottom: 20px;
}

/* Chat Preview */
.chat-window {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chat-header-mini {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.chat-messages-mini {
    padding: 16px;
    max-height: 150px;
    overflow-y: auto;
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    max-width: 85%;
}

.msg.bot {
    background: rgba(255,255,255,0.1);
}

.msg.user {
    background: var(--ai-gradient);
    margin-left: auto;
}

.chat-input-mini {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-mini input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--white);
    font-size: 13px;
}

.chat-input-mini button {
    background: var(--ai-gradient);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
}

/* Voice Demo */
.voice-demo-widget {
    text-align: center;
    padding: 24px;
}

.voice-avatar {
    width: 80px;
    height: 80px;
    background: var(--ai-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: 0 auto 16px;
}

.voice-status {
    font-size: 14px;
    color: var(--dark-60);
    margin-bottom: 16px;
}

.voice-waves-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 50px;
    margin-bottom: 16px;
}

.voice-waves-large span {
    width: 6px;
    height: 30px;
    background: var(--ai-gradient);
    border-radius: 3px;
    animation: voiceWave 1s ease-in-out infinite;
}

.btn-ai-call {
    background: var(--ai-gradient);
    width: 60px;
    height: 60px;
}

/* Content Generator */
.content-gen-widget {
    padding: 20px;
    border-radius: var(--radius-md);
}

.content-input,
.content-output {
    margin-bottom: 16px;
}

.content-input label,
.content-output label {
    font-size: 12px;
    color: var(--white-60);
    display: block;
    margin-bottom: 8px;
}

.content-input input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 13px;
}

.output-text {
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 13px;
    color: var(--white-80);
    line-height: 1.5;
}

/* Image Generator */
.sample-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sample-img {
    aspect-ratio: 1;
    border-radius: 8px;
}

/* Voice Cloner */
.voice-clone-widget {
    padding: 20px;
    border-radius: var(--radius-md);
}

.voice-samples {
    display: flex;
    gap: 12px;
}

.voice-sample {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.voice-sample i {
    color: var(--ai-primary);
}

.voice-sample span {
    flex: 1;
    font-size: 13px;
}

.play-btn {
    background: var(--ai-gradient);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WhatsApp Preview */
.whatsapp-widget {
    padding: 16px;
    border-radius: var(--radius-md);
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.wa-messages {
    max-height: 120px;
}

.wa-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 10px;
    max-width: 85%;
}

.wa-msg.incoming {
    background: rgba(255,255,255,0.1);
}

.wa-msg.outgoing {
    background: #25D366;
    margin-left: auto;
}

.demo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.demo-features span {
    font-size: 12px;
    color: var(--dark-60);
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-features i {
    color: var(--ai-primary);
}

.demo-actions {
    display: flex;
    gap: 12px;
}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white-40);
    border: 1px solid var(--white-60);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-navy);
    color: var(--white);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.portfolio-image.ai-project::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.3) 0%, transparent 100%);
}

.ai-badge-project {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ai-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-category.ai-cat {
    color: var(--ai-primary);
}

.portfolio-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--dark-60);
    margin-bottom: 16px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tech span {
    padding: 4px 12px;
    background: var(--white-40);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-card .stat-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin: 0 auto 20px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--dark-60);
    margin-top: 8px;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.contact-form-card {
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--white-60);
    border: 1px solid var(--white-80);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white-80);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--dark-60);
    margin-bottom: 4px;
}

.social-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.social-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.social-links-large {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--white-40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-60);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--gradient-navy);
    color: var(--white);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.faq-item {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h4 i {
    color: var(--primary);
    font-size: 12px;
}

.faq-item p {
    font-size: 14px;
    color: var(--dark-60);
    line-height: 1.6;
    margin-left: 24px;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 16px;
    color: var(--dark-60);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 13px;
    color: var(--dark-60);
}

.about-image {
    padding: 40px;
    border-radius: var(--radius-xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.visual-card {
    padding: 20px 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.visual-card i {
    font-size: 24px;
    color: var(--primary);
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.mission-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.mission-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin: 0 auto 24px;
}

.mission-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mission-card p {
    font-size: 14px;
    color: var(--dark-60);
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 20px;
}

.team-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card > p {
    font-size: 13px;
    color: var(--dark-60);
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--white-40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-60);
    text-decoration: none;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--gradient-navy);
    color: var(--white);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin: 0 auto 20px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--dark-60);
}

/* ==========================================
   AUTH PAGES (Login/Register)
   ========================================== */
.auth-section {
    padding: 140px 20px 60px;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 48px;
    border-radius: var(--radius-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: var(--dark-60);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-60);
    font-size: 14px;
}

.input-icon input {
    padding-left: 44px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--dark-60);
    cursor: pointer;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--white-60);
}

.auth-divider span {
    font-size: 13px;
    color: var(--dark-60);
}

.social-auth {
    display: flex;
    gap: 16px;
}

.social-auth-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--white-60);
    background: var(--white-40);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.social-auth-btn:hover {
    background: var(--white-60);
}

.social-auth-btn i {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--dark-60);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE - PAGE SPECIFIC
   ========================================== */
@media (max-width: 992px) {
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 40px;
    }
    
    .services-main-grid,
    .demos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .social-auth {
        flex-direction: column;
    }
    
    .sample-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   iOS FOLDER ANIMATION SYSTEM
   iPhone-style folder with smooth animations
   ========================================== */

/* iOS Folder Grid */
.ios-folder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Folder */
.ios-folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.ios-folder:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.12);
}

.ios-folder:active,
.ios-folder.folder-tap {
    transform: scale(0.98);
}

/* Folder Mini Icons (2x2 grid preview) */
.folder-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    width: 100px;
    height: 100px;
}

.folder-icon-mini {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.folder-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}

.folder-count {
    font-size: 0.8rem;
    color: var(--dark-60);
}

/* ==========================================
   FOLDER MODAL (Expanded View)
   ========================================== */
.folder-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.folder-modal.active {
    opacity: 1;
    visibility: visible;
}

.folder-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.folder-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--radius-xl);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.folder-modal.active .folder-modal-content {
    transform: scale(1);
    opacity: 1;
}

.folder-modal.closing .folder-modal-content {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-in;
}

.folder-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--white-20);
}

.folder-modal-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.folder-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.folder-close-btn:hover {
    background: var(--primary);
    color: white;
}

/* Folder Apps Grid */
.folder-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.folder-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: appFadeIn 0.4s ease forwards;
}

@keyframes appFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.folder-app:hover {
    transform: scale(1.05);
}

.folder-app:active {
    transform: scale(0.98);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.folder-app:hover .app-icon {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.app-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   TOOL DETAIL MODAL
   ========================================== */
.tool-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tool-modal.active {
    opacity: 1;
    visibility: visible;
}

.tool-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.tool-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--radius-xl);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-modal.active .tool-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.tool-modal.closing .tool-modal-content {
    transform: translateY(30px);
    opacity: 0;
}

.tool-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 8px 0;
    transition: all var(--transition-fast);
}

.tool-back-btn:hover {
    color: var(--primary-dark);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.tool-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tool-info h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.tool-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.tool-description {
    color: var(--dark-80);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tool-features {
    margin-bottom: 24px;
}

.tool-features h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.tool-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.tool-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--dark-80);
}

.tool-features li i {
    color: #10b981;
    font-size: 0.75rem;
}

.tool-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* AI CTA Styling */
.ai-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
}

/* ==========================================
   iOS FOLDER RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .ios-folder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .folder-icons {
        width: 80px;
        height: 80px;
        padding: 8px;
    }
    
    .folder-icon-mini {
        font-size: 14px;
    }
    
    .folder-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .app-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .tool-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ios-folder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .ios-folder {
        padding: 16px;
    }
    
    .folder-modal-content {
        padding: 20px;
    }
    
    .folder-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   WEBSITE WIZARD STYLES
   ========================================== */

/* Alert Banner */
.wizard-alert {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: 12px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 100px;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.wizard-alert i {
    font-size: 16px;
}

/* Wizard Section */
.wizard-section {
    padding: 20px 0 80px;
}

.wizard-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* Form Side */
.wizard-form-side {
    padding: 30px;
    border-radius: var(--radius-xl);
}

/* Progress Steps */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--white-20);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white-20);
    border: 2px solid var(--white-40);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--dark-60);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.progress-step.completed .step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.progress-step span {
    font-size: 12px;
    color: var(--dark-60);
    font-weight: 500;
}

.progress-step.active span {
    color: var(--primary);
}

.progress-line {
    width: 80px;
    height: 2px;
    background: var(--white-40);
    margin: 0 10px;
    margin-bottom: 20px;
}

/* Wizard Steps */
.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h3 {
    font-size: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard-step h3 i {
    color: var(--primary);
}

.step-desc {
    color: var(--dark-60);
    margin-bottom: 30px;
}

/* Form Groups */
.wizard-step .form-group {
    margin-bottom: 24px;
}

.wizard-step label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.required {
    color: #ef4444;
}

.wizard-step input,
.wizard-step select,
.wizard-step textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--white-40);
    border-radius: var(--radius-md);
    background: var(--white-80);
    font-size: 15px;
    transition: all 0.3s ease;
}

.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

/* Option Cards */
.option-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.option-card {
    padding: 20px 16px;
    border: 2px solid var(--white-40);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white-80);
}

.option-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(45, 90, 135, 0.1));
}

.option-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.option-card span {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

/* Color Options */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}

/* Feature Checkboxes */
.feature-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 2px solid var(--white-40);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white-80);
}

.checkbox-card:hover {
    border-color: var(--primary-light);
}

.checkbox-card input {
    display: none;
}

.checkbox-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.checkbox-card span i {
    color: var(--primary);
}

.checkbox-card:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(45, 90, 135, 0.1));
}

/* AI Suggestion Box */
.ai-suggestion {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(8, 145, 178, 0.1));
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #0891b2;
    border-left: 3px solid var(--ai-primary);
}

.ai-suggestion i {
    margin-right: 8px;
}

.btn-ai-small {
    margin-top: 8px;
    padding: 8px 16px;
    font-size: 13px;
    background: var(--ai-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ai-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--white-20);
}

/* Review Section */
.review-section {
    background: var(--white-80);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.review-section h4 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 16px;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-label {
    font-size: 12px;
    color: var(--dark-60);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-value {
    font-weight: 500;
    color: var(--dark);
}

/* AI Final Suggestion */
.ai-final-suggestion {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.ai-suggestion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--ai-primary);
    font-weight: 600;
}

.ai-suggestion-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    gap: 6px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--ai-primary);
    border-radius: 50%;
    animation: loadingDot 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDot {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Success State */
.success-state {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPop 0.5s ease;
}

.success-icon i {
    font-size: 36px;
    color: white;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-state h3 {
    margin-bottom: 12px;
    color: #10b981;
}

.success-state p {
    color: var(--dark-60);
    max-width: 400px;
    margin: 0 auto 24px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Preview Side */
.wizard-preview-side {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark);
}

.preview-header i {
    color: var(--primary);
}

.preview-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.preview-browser {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
    flex: 1;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--dark-60);
    border: 1px solid #e5e7eb;
}

.preview-content {
    padding: 0;
    min-height: 400px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.preview-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 2px solid rgba(30, 58, 95, 0.1);
}

.preview-logo {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

.preview-nav-links {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--dark-60);
}

.preview-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(45, 90, 135, 0.05));
}

.preview-hero h1 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.preview-hero p {
    font-size: 12px;
    color: var(--dark-60);
    margin-bottom: 16px;
}

.preview-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.preview-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: white;
}

.preview-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--dark-60);
}

.preview-feature i {
    font-size: 20px;
    color: var(--primary);
}

.preview-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--dark-60);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .wizard-container {
        grid-template-columns: 1fr;
    }
    
    .wizard-preview-side {
        position: relative;
        top: 0;
        order: -1;
    }
    
    .preview-container {
        max-height: 300px;
        overflow: hidden;
    }
}

/* ==========================================
   ENHANCED PREVIEW STYLES
   ========================================== */

/* Preview Header with Mode Toggle */
.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
}

.preview-title i {
    color: var(--primary);
}

.preview-mode-toggle {
    display: flex;
    gap: 4px;
    background: var(--white-40);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.mode-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: var(--dark-60);
    transition: all 0.3s ease;
}

.mode-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mode-btn:hover:not(.active) {
    color: var(--primary);
}

/* Mobile Mode Preview - iPhone 15 Pro Style */
.preview-container.mobile-mode {
    max-width: 220px;
    margin: 0 auto;
    border-radius: 36px;
    border: 8px solid #1a1a2e;
    position: relative;
    background: #1a1a2e;
    box-shadow: 
        0 0 0 1px #3d3d4e,
        0 0 0 3px #1a1a2e,
        0 25px 60px rgba(0,0,0,0.4),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
}

/* iPhone Side Buttons - Hidden by default */
.iphone-buttons {
    display: none;
}

.preview-container.mobile-mode .iphone-buttons {
    position: absolute;
    left: -10px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.preview-container.mobile-mode .iphone-buttons span {
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #3d3d4e, #2d2d3e);
    border-radius: 2px 0 0 2px;
}

/* iPhone Home Indicator - Hidden by default */
.iphone-home-indicator {
    display: none;
}

/* iPhone Status Bar - Hidden by default */
.iphone-status-bar {
    display: none;
}

.preview-container.mobile-mode .iphone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 5px;
    background: #1a1a2e;
    color: white;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 50;
}

.preview-container.mobile-mode .iphone-status-bar .status-time {
    font-size: 13px;
}

.preview-container.mobile-mode .iphone-status-bar .status-icons {
    display: flex;
    gap: 5px;
    font-size: 11px;
}

/* iPhone Dynamic Island */
.preview-container.mobile-mode::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #000;
    border-radius: 16px;
    z-index: 100;
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 0 8px rgba(0,0,0,0.5);
}

/* iPhone Power Button */
.preview-container.mobile-mode::after {
    content: '';
    position: absolute;
    top: 90px;
    right: -10px;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #3d3d4e, #2d2d3e);
    border-radius: 0 2px 2px 0;
}

.preview-container.mobile-mode .preview-browser {
    padding: 38px 10px 6px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.preview-container.mobile-mode .browser-dots {
    display: none;
}

.preview-container.mobile-mode .browser-url {
    font-size: 9px;
    text-align: center;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    width: 100%;
}

.preview-container.mobile-mode .preview-content {
    min-height: 320px;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0;
    background: white;
}

/* iPhone Home Indicator */
.preview-container.mobile-mode .iphone-home-indicator {
    display: block;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #1a1a2e;
    border-radius: 4px;
    z-index: 100;
}

/* Preview Content */
.preview-content {
    --theme-primary: #1e3a5f;
    --theme-secondary: #2d5a87;
    --theme-gradient: linear-gradient(135deg, #1e3a5f, #2d5a87);
    min-height: 280px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    position: relative;
    overflow-y: auto;
    max-height: 320px;
    transition: max-height 0.4s ease;
}

/* Expanded Desktop Preview */
.preview-container.expanded .preview-content {
    max-height: 600px;
    min-height: 500px;
}

/* Expand Button */
.preview-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(30, 58, 95, 0.02));
    border: 1px dashed rgba(30, 58, 95, 0.2);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-expand-btn:hover {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.05));
}

.preview-expand-btn i {
    transition: transform 0.3s ease;
}

.preview-container.expanded + .preview-expand-btn i,
.preview-container.expanded ~ .preview-actions .preview-expand-btn i {
    transform: rotate(180deg);
}

/* Hide expand in mobile mode */
.preview-container.mobile-mode + .preview-expand-btn {
    display: none;
}

/* Preview Navbar */
.preview-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 2px solid rgba(30, 58, 95, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.preview-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.preview-logo .logo-icon {
    width: 28px;
    height: 28px;
    background: var(--theme-primary, #1e3a5f);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.preview-logo .logo-text {
    color: var(--dark);
}

.preview-nav-links {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--dark-60);
}

.preview-mobile-menu {
    display: none;
    color: var(--dark);
    font-size: 16px;
}

.preview-container.mobile-mode .preview-mobile-menu {
    display: block;
    font-size: 12px;
}

.preview-container.mobile-mode .preview-navbar {
    padding: 8px 10px;
}

.preview-container.mobile-mode .preview-logo {
    gap: 5px;
    font-size: 10px;
}

.preview-container.mobile-mode .preview-logo .logo-icon {
    width: 20px;
    height: 20px;
    font-size: 9px;
}

/* Preview Hero */
.preview-hero {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(45, 90, 135, 0.03));
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.preview-hero h1 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--theme-primary, #1e3a5f);
    line-height: 1.3;
}

.preview-hero p {
    font-size: 12px;
    color: var(--dark-60);
    margin-bottom: 16px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.preview-btn {
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-btn.primary {
    background: var(--theme-primary, #1e3a5f);
    color: white;
}

.preview-btn.secondary {
    background: transparent;
    color: var(--theme-primary, #1e3a5f);
    border: 2px solid var(--theme-primary, #1e3a5f);
}

/* Preview Sections */
.preview-section {
    padding: 24px 16px;
    background: white;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--theme-primary, #1e3a5f);
}

.preview-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 80px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(30, 58, 95, 0.1);
    color: var(--theme-primary, #1e3a5f);
}

.preview-feature span {
    font-size: 10px;
    color: var(--dark);
    font-weight: 500;
}

/* Preview About */
.preview-about {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f8fafc;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--dark);
}

.about-content p {
    font-size: 11px;
    color: var(--dark-60);
    line-height: 1.5;
}

.about-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-primary, #1e3a5f), var(--theme-secondary, #2d5a87));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

/* Preview CTA */
.preview-cta {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0.03));
}

.preview-cta h3 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--dark);
}

.preview-cta p {
    font-size: 11px;
    color: var(--dark-60);
    margin-bottom: 14px;
}

/* Preview Footer */
.preview-footer {
    padding: 20px 16px;
    background: var(--theme-primary, #1e3a5f);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-weight: 700;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 16px;
    font-size: 10px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    font-size: 14px;
    opacity: 0.8;
}

/* Mobile Bottom Nav */
.preview-bottom-nav {
    display: none;
    position: sticky;
    bottom: 0;
    background: white;
    padding: 8px 0 12px;
    border-top: 1px solid #e5e7eb;
    justify-content: space-around;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--dark-60);
    cursor: pointer;
}

.bottom-nav-item i {
    font-size: 16px;
}

.bottom-nav-item.active {
    color: var(--theme-primary, #1e3a5f);
}

/* AI Status Indicators */
.preview-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--dark-60);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-generating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(8, 145, 178, 0.1));
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #0891b2;
}

.ai-pulse {
    width: 10px;
    height: 10px;
    background: var(--ai-primary);
    border-radius: 50%;
    animation: aiPulse 1.5s infinite;
}

@keyframes aiPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

/* Mobile Preview Adjustments - iPhone Content */
.preview-container.mobile-mode .preview-navbar {
    padding: 8px 12px;
    background: white;
}

.preview-container.mobile-mode .preview-logo {
    gap: 5px;
}

.preview-container.mobile-mode .preview-logo .logo-icon {
    width: 20px;
    height: 20px;
    font-size: 9px;
    border-radius: 5px;
}

.preview-container.mobile-mode .preview-logo .logo-text {
    font-size: 10px;
}

.preview-container.mobile-mode .preview-nav-links {
    display: none;
}

.preview-container.mobile-mode .preview-mobile-menu {
    display: flex;
    font-size: 12px;
    color: var(--dark);
}

.preview-container.mobile-mode .preview-hero {
    padding: 14px 12px;
    text-align: center;
}

.preview-container.mobile-mode .preview-hero h1 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.preview-container.mobile-mode .preview-hero p {
    font-size: 9px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #64748b;
}

.preview-container.mobile-mode .hero-badge {
    padding: 3px 8px;
    font-size: 8px;
    margin-bottom: 8px;
}

.preview-container.mobile-mode .hero-buttons {
    flex-direction: column;
    gap: 6px;
}

.preview-container.mobile-mode .preview-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 9px;
    border-radius: 6px;
}

.preview-container.mobile-mode .preview-section {
    padding: 12px;
}

.preview-container.mobile-mode .section-title {
    font-size: 11px;
    margin-bottom: 8px;
    font-weight: 600;
}

.preview-container.mobile-mode .preview-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-container.mobile-mode .preview-feature {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border-radius: 8px;
    width: 100%;
    font-size: 9px;
    gap: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.preview-container.mobile-mode .preview-feature .feature-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.preview-container.mobile-mode .preview-about {
    flex-direction: column;
    text-align: center;
    padding: 10px;
    gap: 8px;
}

.preview-container.mobile-mode .preview-about h3 {
    font-size: 10px;
}

.preview-container.mobile-mode .preview-about p {
    font-size: 8px;
    line-height: 1.4;
}

.preview-container.mobile-mode .about-image {
    order: -1;
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin: 0 auto;
}

.preview-container.mobile-mode .preview-cta {
    padding: 10px;
    margin: 8px;
    border-radius: 8px;
}

.preview-container.mobile-mode .preview-cta h3 {
    font-size: 10px;
}

.preview-container.mobile-mode .preview-cta p {
    font-size: 8px;
}

.preview-container.mobile-mode .preview-footer {
    padding: 8px 12px 55px;
    font-size: 7px;
}

.preview-container.mobile-mode .preview-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 14px;
    background: white;
    border-top: 1px solid #e5e7eb;
    font-size: 7px;
}

.preview-container.mobile-mode .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #94a3b8;
}

.preview-container.mobile-mode .bottom-nav-item.active {
    color: var(--theme-primary, #1e3a5f);
}

.preview-container.mobile-mode .bottom-nav-item i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .wizard-alert {
        margin-top: 90px;
        padding: 10px 16px;
        font-size: 12px;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .wizard-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-line {
        display: none;
    }
    
    .option-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-checkboxes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .wizard-form-side {
        padding: 20px;
    }
    
    .option-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* ==========================================
   MOBILE BOTTOM NAVIGATION
   ========================================== */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 -4px 20px rgba(30, 58, 95, 0.08);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    /* Adjust body padding for bottom nav */
    body {
        padding-bottom: 80px;
    }
    
    /* Move WhatsApp button up to avoid overlap */
    .whatsapp-float {
        bottom: 90px !important;
    }
    
    /* Hide footer on mobile for cleaner look */
    .footer {
        padding-bottom: 100px;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    text-decoration: none;
    color: rgba(30, 58, 95, 0.5);
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    min-width: 60px;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    letter-spacing: 0.3px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #1e3a5f;
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #06b6d4);
    border-radius: 0 0 3px 3px;
}

/* Ripple effect on tap */
.mobile-nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.mobile-nav-item:active::after {
    width: 50px;
    height: 50px;
}

/* Center Order button with special styling */
.center-nav {
    position: relative;
}

.center-nav-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin-top: -25px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.3);
    position: relative;
}

.center-nav-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #06b6d4);
    z-index: -1;
    opacity: 0.3;
    animation: centerPulse 2s infinite;
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0; }
}

.center-nav i {
    font-size: 22px !important;
    margin-bottom: 0 !important;
}

.center-nav span {
    margin-top: 8px;
}
