/* ========================================
   PREMIUM DESIGN SYSTEM
   ======================================== */

/* Three.js Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #a855f7;
    --success: #10b981;
    --warning: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.9);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

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

/* Premium Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    height: 120px;
    width: auto;
    max-width: 200px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Desktop Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    letter-spacing: -0.1px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
}

/* Mobile nav icons (hidden on desktop) */
.nav-icon {
    display: none;
}

.nav-label {
    display: none;
}

.nav-toggle {
    display: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 80px;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Brand Section */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.brand-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: var(--shadow-lg);
}

.brand-icon svg {
    width: 32px;
    height: 32px;
}

.brand-text {
    text-align: left;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-location {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Tagline */
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

/* ========================================
   SERVICE SHOWCASE
   ======================================== */
.service-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.showcase-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.showcase-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.showcase-img svg {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.showcase-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.showcase-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--primary);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ========================================
   TIMELINE STEPS - ZIGZAG
   ======================================== */
.timeline-steps {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: timelineFlow 4s linear infinite;
    transform: translateY(-50%);
    border-radius: 2px;
}

@keyframes timelineFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
    z-index: 2;
    opacity: 0;
    animation: timelineReveal 0.6s ease forwards;
}

.timeline-item:nth-child(2) { animation-delay: 0.15s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.45s; }
.timeline-item:nth-child(5) { animation-delay: 0.6s; }

@keyframes timelineReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15), var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 3;
}

.timeline-dot span {
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0.2), 0 8px 30px rgba(99, 102, 241, 0.3);
}

.timeline-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    position: relative;
}

.timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    transform: translateX(-50%);
}

.timeline-up .timeline-card {
    margin-bottom: 20px;
}

.timeline-up .timeline-card::after {
    bottom: -20px;
}

.timeline-down .timeline-card {
    margin-top: 20px;
}

.timeline-down .timeline-card::after {
    top: -20px;
    background: linear-gradient(to top, var(--primary), transparent);
}

/* Zigzag: up cards go above the line, down cards go below */
.timeline-up {
    flex-direction: column;
    margin-top: -120px;
}

.timeline-down {
    flex-direction: column;
    margin-top: 120px;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: all 0.4s ease;
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.timeline-item:hover .timeline-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: rotate(-8deg) scale(1.1);
}

.timeline-item:hover .timeline-icon svg {
    color: white;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links-section h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .timeline-steps {
        padding: 60px 0;
    }
    
    .timeline-up {
        margin-top: -100px;
    }
    
    .timeline-down {
        margin-top: 100px;
    }
    
    .service-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Top bar: only logo */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo-icon {
        height: 90px;
        width: auto;
        max-width: 160px;
    }
    
    /* Fixed Bottom Tab Bar */
    .mobile-nav {
        display: flex !important;
    }
    
    .hero {
        padding: 140px 24px 60px;
    }
    
    .hero-brand {
        flex-direction: column;
        gap: 12px;
    }
    
    .brand-text {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .service-showcase {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .service-showcase::-webkit-scrollbar {
        display: none;
    }
    
    .service-showcase .showcase-card {
        min-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    /* Timeline mobile - vertical layout */
    .timeline-steps {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }
    
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 3px;
        height: 100%;
        transform: none;
        background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent), var(--primary));
        background-size: 100% 200%;
        animation: timelineFlowV 4s linear infinite;
    }
    
    @keyframes timelineFlowV {
        0% { background-position: 50% 0%; }
        100% { background-position: 50% 200%; }
    }
    
    .timeline-item,
    .timeline-up,
    .timeline-down {
        flex-direction: row !important;
        margin-top: 0 !important;
        width: 100%;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .timeline-up .timeline-card,
    .timeline-down .timeline-card {
        margin: 0;
    }
    
    .timeline-up .timeline-card::after,
    .timeline-down .timeline-card::after {
        display: none;
    }
    
    .timeline-dot {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        order: -1;
    }
    
    .timeline-card {
        flex: 1;
        text-align: left;
        padding: 20px;
    }
    
    .timeline-icon {
        margin: 0 0 10px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        margin-bottom: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Page Header */
.page-header {
    padding: 170px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

/* ========================================
   CONTACT PAGE - PREMIUM
   ======================================== */

/* Contact Hero */
.contact-hero {
    padding: 170px 0 40px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0 16px;
    color: var(--text-primary);
}

.contact-hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quick Contact Cards */
.contact-cards-section {
    padding: 40px 0 60px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

.contact-quick-card:hover::before {
    transform: scaleX(1);
}

.cqc-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease;
}

.contact-quick-card:hover .cqc-icon {
    transform: scale(1.1);
}

.cqc-icon svg {
    width: 26px;
    height: 26px;
}

.cqc-phone {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.cqc-whatsapp {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.cqc-clock {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.cqc-location {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.cqc-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cqc-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cqc-action {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.contact-quick-card:hover .cqc-action {
    opacity: 1;
}

/* Map & Info Section */
.contact-map-section {
    padding: 20px 0 80px;
}

.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 480px;
}

.contact-map-info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-map-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-address-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(99, 102, 241, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.cab-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cab-row svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.cab-row strong {
    color: var(--text-primary);
    font-weight: 700;
}

.contact-map-actions {
    display: flex;
    gap: 12px;
}

.contact-map-embed {
    position: relative;
    min-height: 100%;
}

.contact-map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact CTA */
.contact-cta-section {
    padding: 0 0 80px;
}

.contact-cta-card {
    position: relative;
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, #1e1b4b, #312e81, #3b0764);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: white;
}

.contact-cta-glow {
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.contact-cta-desc {
    font-size: 1.0625rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
    position: relative;
}

.contact-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
}

/* ========================================
   CONTACT RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .contact-hero {
        padding: 110px 0 24px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .contact-quick-card {
        padding: 20px 16px;
    }
    
    .cqc-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .cqc-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .cqc-value {
        font-size: 0.9375rem;
    }
    
    .cqc-action {
        font-size: 0.75rem;
    }
    
    .contact-map-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-map-info {
        padding: 32px 24px;
    }
    
    .contact-map-embed {
        position: relative;
        min-height: 350px;
    }
    
    .contact-map-embed iframe {
        position: absolute;
    }
    
    .contact-map-actions {
        flex-direction: column;
    }
    
    .contact-cta-card {
        padding: 48px 24px;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cards-section {
        padding: 20px 0 40px;
    }
    
    .contact-map-section {
        padding: 0 0 50px;
    }
    
    .contact-cta-section {
        padding: 0 0 100px;
    }
}

/* Forms */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-color);
}

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

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.price-table th,
.price-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td {
    color: var(--text-secondary);
}

.price-highlight {
    font-weight: 700;
    color: var(--primary);
}

/* Application Cards */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.app-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 20px;
}

.app-icon svg {
    width: 28px;
    height: 28px;
}

.app-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
}

.app-link:hover {
    gap: 10px;
}

.app-link svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   ABOUT PAGE - PREMIUM
   ======================================== */

/* Scroll Animations */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Hero Grid */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Highlight Items */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.highlight-icon svg {
    width: 22px;
    height: 22px;
}

.highlight-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 3D Printer Scene */
.about-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.about-3d-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3.5;
    border-radius: var(--radius-xl);
    transform-style: preserve-3d;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: rotateY(-3deg) rotateX(3deg) translateY(0); }
    50% { transform: rotateY(3deg) rotateX(-3deg) translateY(-12px); }
}

.card-3d-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f8fafc, #eef2ff);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow:
        0 20px 60px rgba(99, 102, 241, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-3d-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(99, 102, 241, 0.05), transparent 30%);
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { transform: rotate(360deg); }
}

.card-3d-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    opacity: 0.15;
    z-index: -1;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.1; transform: scale(1); }
    to { opacity: 0.25; transform: scale(1.05); }
}

/* Printer Scene CSS Art */
.printer-scene {
    position: relative;
    width: 220px;
    height: 200px;
    z-index: 1;
}

.scene-printer {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.printer-body {
    width: 180px;
    height: 70px;
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.printer-display {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 80px;
    height: 16px;
    background: #0f172a;
    border-radius: 4px;
}

.printer-display::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 40px;
    height: 4px;
    background: var(--success);
    border-radius: 2px;
    animation: displayBlink 2s ease-in-out infinite;
}

@keyframes displayBlink {
    0%, 100% { opacity: 1; width: 40px; }
    50% { opacity: 0.6; width: 25px; }
}

.printer-slot {
    position: absolute;
    top: -4px;
    left: 30px;
    width: 120px;
    height: 6px;
    background: #94a3b8;
    border-radius: 3px;
}

.printer-btn {
    position: absolute;
    top: 14px;
    border-radius: 50%;
}

.printer-btn.green {
    right: 30px;
    width: 12px;
    height: 12px;
    background: var(--success);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: btnPulse 2s ease-in-out infinite;
}

.printer-btn.amber {
    right: 14px;
    width: 8px;
    height: 8px;
    top: 16px;
    background: var(--warning);
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.8); }
}

/* Paper animations */
.scene-paper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.scene-paper-1 {
    width: 100px;
    height: 70px;
    top: 0;
    animation: paperFeed 3s ease-in-out infinite;
}

@keyframes paperFeed {
    0% { top: -10px; opacity: 0; }
    20% { top: 0; opacity: 1; }
    80% { top: 30px; opacity: 1; }
    100% { top: 40px; opacity: 0; }
}

.scene-paper-1::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 55px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.scene-paper-1::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 10px;
    width: 70px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    box-shadow: 0 8px 0 #e2e8f0, 0 16px 0 #e2e8f0;
}

.scene-paper-2 {
    width: 90px;
    height: 60px;
    top: -5px;
    left: calc(50% - 8px);
    opacity: 0.6;
    animation: paperFeed 3s ease-in-out infinite 1s;
}

.scene-paper-3 {
    width: 80px;
    height: 55px;
    top: -5px;
    left: calc(50% + 5px);
    opacity: 0.3;
    animation: paperFeed 3s ease-in-out infinite 2s;
}

/* Output paper */
.scene-output {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 50px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 10px;
    animation: outputSlide 3s ease-in-out infinite;
}

@keyframes outputSlide {
    0%, 20% { transform: translateX(-50%) translateY(-10px); opacity: 0; }
    40% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.output-line {
    height: 3px;
    border-radius: 2px;
    margin-bottom: 5px;
}

.output-line.l1 { width: 60%; background: var(--primary); }
.output-line.l2 { width: 85%; background: #e2e8f0; }
.output-line.l3 { width: 70%; background: #e2e8f0; }

/* Stats Premium */
.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card-premium {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.stat-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-card-premium:hover::before {
    opacity: 1;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.stat-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1.1;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.stat-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.value-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Responsive */
@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-grid {
        gap: 32px;
    }
    
    .about-3d-card {
        max-width: 320px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card-premium {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE BOTTOM NAV BAR
   ======================================== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    justify-content: space-around;
    align-items: center;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    padding: 6px 4px;
    flex: 1;
    min-width: 0;
    transition: var(--transition);
}

.mobile-nav .mob-icon {
    width: 22px;
    height: 22px;
    color: var(--text-tertiary);
    transition: var(--transition);
}

.mobile-nav .mob-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: var(--transition);
}

.mobile-nav a.active .mob-icon,
.mobile-nav a:hover .mob-icon {
    color: var(--primary);
}

.mobile-nav a.active .mob-label,
.mobile-nav a:hover .mob-label {
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.mobile-nav a {
    position: relative;
}

/* Add bottom padding to body on mobile to account for nav bar */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    
    footer {
        padding-bottom: 70px !important;
    }
}
