@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #FFFFFF;
    --bg-alt: #F8F7FF;
    --primary-color: #7C3AED;
    --primary-dark: #5B21B6;
    --accent-color: #C4B5FD;
    --text-dark: #0F172A;
    --text-light: #F8F7FF;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --border-width: 1px;
    --transition-speed: 0.3s;
    --system-font: 'Inter', sans-serif;
    --heading-font: 'Sora', sans-serif;
}

/* Contact Page Components */
.contact-info-card {
    border: 1px solid rgba(124, 58, 237, 0.12);
    padding: 1.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08), 0 0 0 1px rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
}

.card-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.card-heading {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.card-subtext {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-info-card img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 1.25rem;
        gap: 1rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background-color: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 5vw, 2.5rem); }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}



a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

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

.text-center h2, 
.text-center p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section {
    min-height: auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
    border-bottom: var(--border-width) solid var(--border-color);
    position: relative;
}



.hero, .subpage-hero {
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; /* Low opacity as requested */
    z-index: -1;
    pointer-events: none;
}

/* Page specific background images */
.home-page .hero::before { background-image: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); }
.about-page .hero::before { background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); opacity: 1; }
.services-page .hero::before { background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.pexels.com/photos/1181244/pexels-photo-1181244.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); opacity: 1; }
.pricing-page .hero::before { background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.pexels.com/photos/374074/pexels-photo-374074.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); opacity: 1; }
.contact-page .hero::before { background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.pexels.com/photos/3182812/pexels-photo-3182812.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); opacity: 1; }



/* Typography Overrides for Full Screen */
h2 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column !important; /* Force vertical stack and reset row-reverse */
        gap: 2rem;
    }
}
.grid-3 { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem;
}



@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    /* Specific override for services if it should stay 2 col */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.subpage-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.subpage-header h1 {
    margin-bottom: 1rem;
}

.subpage-header p {
    margin-bottom: 1.5rem;
}

.btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-group .btn {
        width: 100%;
    }
}

/* Premium Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: var(--border-width) solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-align: center;
    position: relative;
    min-height: 52px;
    touch-action: manipulation;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card {
    border: var(--border-width) solid var(--border-color);
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}



.card h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .card h3 {
        font-size: 1.25rem;
    }
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
    transform: translateY(-8px);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border: 1px dashed var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 2rem;
}

.empty-state h3 {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.empty-state p {
    color: var(--text-muted);
    font-family: var(--system-font);
    font-size: 0.875rem;
    max-width: 400px;
    margin: 0 auto;
}

.admin-hint {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-hint:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: var(--border-width) solid var(--primary-color);
    background: #F5F3FF;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Header */
/* Header & Navigation */
.header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav {
    background: rgba(15, 23, 42, 0.9); /* Dark Slate with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    height: 72px;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    top: 5px;
}

.header.scrolled .nav {
    height: 64px;
    background: rgba(15, 23, 42, 0.95);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    min-height: 42px;
    border-radius: 100px;
    font-weight: 800;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: var(--border-width) solid var(--border-color);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero .btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--system-font);
    text-transform: uppercase;
}

/* Platform Bar - Perfect Version */
.platform-bar {
    background: #F8F7FF;
    padding: 24px 0;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    min-height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Premium Fade Effect */
.platform-bar::before,
.platform-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.platform-bar::before {
    left: 0;
    background: linear-gradient(to right, #F8F7FF, transparent);
}

.platform-bar::after {
    right: 0;
    background: linear-gradient(to left, #F8F7FF, transparent);
}

.platform-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Between 32px-48px */
}

.platform-flex > span {
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.platform-scroll-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(1);
}

.platform-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.platform-item svg {
    width: 20px;
    height: 20px;
}

.platform-item span {
    font-family: var(--system-font);
    font-weight: 700;
    font-size: 13px;
    color: inherit;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .platform-flex {
        justify-content: flex-start;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        -webkit-overflow-scrolling: touch;
        gap: 32px;
    }
    
    .platform-flex::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .platform-flex > span {
        margin-right: 10px;
    }

    .platform-scroll-container {
        gap: 32px;
    }
}

.trust-line::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
}

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: var(--primary-color);
    color: var(--bg-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 99;
    border: var(--border-width) solid var(--primary-color);
    transition: all var(--transition-speed);
}

.wa-float:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 6px 6px 0 var(--primary-color);
    transform: translate(-4px, -4px);
}

.wa-float svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}


/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: var(--primary-color);
    color: var(--bg-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 99;
    border: var(--border-width) solid var(--primary-color);
    transition: all var(--transition-speed);
}

.wa-float:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 6px 6px 0 var(--primary-color);
    transform: translate(-4px, -4px);
}

.wa-float svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

/* Animations - Made harsher for system feel */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE OPTIMIZATION — SHIVAXA
   Mobile-First Premium SaaS Experience
   ============================================ */

/* --- 01. MOBILE NAVBAR (≤768px) --- */
@media (max-width: 768px) {
    .header {
        top: 0;
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 12px;
    }

    .nav {
        border-radius: 0;
        height: 64px;
        padding: 0 16px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header.scrolled {
        top: 0;
    }

    .header.scrolled .nav {
        height: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: none;
        clip-path: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        clip-path: none;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.25rem;
        font-weight: 700;
        padding: 1.25rem 0;
        display: block;
        text-align: center;
        letter-spacing: 0.15em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        width: 100%;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        z-index: 1001;
        color: white;
        font-size: 1.5rem;
    }

    .logo-text img {
        height: 26px;
    }
}

/* --- 02. RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 9vw, 2.75rem) !important;
        line-height: 1.05 !important;
    }

    h2 {
        font-size: clamp(1.6rem, 7vw, 2.25rem) !important;
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.4rem 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .subheadline {
        font-size: 1rem !important;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    }

    h2 {
        font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
    }
}

/* --- 03. SECTION SPACING --- */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section.large {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }

    .section.large {
        padding: 3rem 0;
    }

    .container {
        padding: 0 16px;
    }
}

/* --- 04. GRID & CARD RESPONSIVENESS --- */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column !important;
        gap: 2.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }

    .card {
        padding: 1.75rem;
        border-radius: 16px;
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(124, 58, 237, 0.08);
    }
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .card {
        padding: 1.5rem;
        border-radius: 14px;
    }
}

/* --- 05. IMAGE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-visual img {
        width: 100%;
        height: auto;
        border-radius: 16px !important;
        max-height: 320px;
        object-fit: cover;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-visual img {
        border-radius: 12px !important;
        max-height: 260px;
    }
}

/* --- 06. BUTTONS & TOUCH UX --- */
@media (max-width: 768px) {
    .btn {
        min-height: 52px;
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    }

    .hero .btn-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero .btn-group .btn {
        width: 100%;
    }
}

/* --- 07. HERO SECTION MOBILE --- */
@media (max-width: 768px) {
    .hero,
    .subpage-hero {
        padding-top: 5rem;
        padding-bottom: 3rem;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

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

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .trust-line {
        justify-content: center;
        font-size: 0.75rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .trust-line::before {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero,
    .subpage-hero {
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }
}

/* --- 08. FOOTER MOBILE --- */
@media (max-width: 992px) {
    .footer .grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer {
        padding: 60px 0 30px;
    }
}

@media (max-width: 576px) {
    .footer .grid-4 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer {
        padding: 40px 0 24px;
    }

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

    .footer-links a {
        justify-content: center;
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-legal a {
        font-size: 0.8125rem;
    }

    .copyright {
        font-size: 0.8125rem;
    }
}

/* --- 09. FLOW CONTAINER MOBILE --- */
@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        gap: 0.75rem;
        margin: 2rem 0;
    }

    .flow-step {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.25rem;
        margin: 0;
    }
}

/* --- 10. PRICING MOBILE --- */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.25rem !important;
    }
}

/* --- 11. WHATSAPP FLOAT MOBILE --- */
@media (max-width: 768px) {
    .wa-float,
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 54px;
        height: 54px;
    }

    .wa-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float img {
        width: 100%;
        height: 100%;
    }
}

/* --- 12. TOAST MOBILE --- */
@media (max-width: 768px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        max-width: 100%;
    }
}

/* --- 13. CAROUSEL MOBILE --- */
@media (max-width: 768px) {
    .carousel-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .carousel-track {
        gap: 1rem;
    }

    .video-testimonial {
        flex: 0 0 85%;
        scroll-snap-align: center;
        width: 85%;
    }

    .review-screenshot {
        flex: 0 0 60%;
        scroll-snap-align: center;
        width: 60%;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-controls {
        justify-content: center;
    }
}

/* --- 14. ANIMATION PERFORMANCE --- */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px);
        transition-duration: 0.5s;
    }

    .card:hover {
        transform: translateY(-4px);
    }

    /* Reduce heavy blur on mobile */
    .nav {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .card:hover {
        transform: none;
    }

    .ticker {
        animation: none;
    }

    .flow-arrow {
        animation: none;
    }
}

/* --- 15. CONTACT FORM MOBILE --- */
@media (max-width: 768px) {
    .form-control {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
        transform: none;
    }

    textarea.form-control {
        min-height: 150px;
    }

    .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-info-card {
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 16px;
    }

    .contact-info-card:hover {
        transform: none;
    }
}

/* --- 16. INLINE STYLE OVERRIDES FOR MOBILE --- */
@media (max-width: 768px) {
    /* Override inline padding-top on hero sections */
    .hero[style*="padding-top"] {
        padding-top: 5rem !important;
    }

    /* Override inline padding-bottom on hero sections */
    .hero[style*="padding-bottom"] {
        padding-bottom: 3rem !important;
    }

    /* Override inline max-width constraints */
    [style*="max-width: 600px"],
    [style*="max-width: 650px"],
    [style*="max-width: 700px"],
    [style*="max-width: 800px"] {
        max-width: 100% !important;
    }

    /* Override inline font-size for large headings */
    h1[style*="font-size"] {
        font-size: clamp(2rem, 9vw, 2.75rem) !important;
        line-height: 1.05 !important;
    }

    h2[style*="font-size: 3.5rem"],
    h2[style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }

    /* Fix inline grid-template-columns for grid-4 */
    .grid-4[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Override large inline paddings */
    [style*="padding: 6rem"] {
        padding: 3rem 1.5rem !important;
    }

    /* Fix margin-bottom on large sections */
    [style*="margin-bottom: 10rem"] {
        margin-bottom: 4rem !important;
    }

    [style*="margin-bottom: 5rem"] {
        margin-bottom: 2.5rem !important;
    }

    /* Inline font-size overrides for body text */
    [style*="font-size: 1.25rem"] {
        font-size: 1rem !important;
    }

    [style*="font-size: 1.125rem"] {
        font-size: 0.9375rem !important;
    }

    /* Fix gap on inline grids */
    [style*="gap: 4rem"] {
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .grid-4[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    h2[style*="font-size: 3.5rem"],
    h2[style*="font-size: 3rem"] {
        font-size: 1.75rem !important;
    }

    [style*="padding: 6rem"] {
        padding: 2.5rem 1.25rem !important;
    }

    [style*="margin-bottom: 10rem"] {
        margin-bottom: 3rem !important;
    }
}

/* --- 17. TABLET OPTIMIZATIONS (769px – 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        padding: 0 24px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 2rem;
    }

    h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
    }

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

/* --- 18. SMALL LAPTOP (1025px – 1280px) --- */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 1100px;
    }

    .nav-links {
        gap: 2rem;
    }
}

/* --- 19. FOOTER SYSTEM TEXT MOBILE --- */
@media (max-width: 768px) {
    .footer-system-text {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }
}

/* --- 20. TICKER MOBILE --- */
@media (max-width: 768px) {
    .ticker-item {
        padding: 0 2rem;
        font-size: 0.75rem;
    }
}

/* --- 21. PLATFORM BAR MOBILE --- */
@media (max-width: 768px) {
    .platform-flex {
        justify-content: flex-start;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 24px;
    }

    .platform-flex::-webkit-scrollbar {
        display: none;
    }

    .platform-flex > span {
        margin-right: 10px;
    }

    .platform-scroll-container {
        gap: 24px;
    }

    .platform-bar {
        min-height: 64px;
    }
}

/* High Contrast Section */
.bg-contrast {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.bg-contrast h2, .bg-contrast p {
    color: var(--bg-color);
}

.bg-contrast .btn-primary {
    background: var(--bg-color);
    color: var(--primary-color);
    border-color: var(--bg-color);
}

.bg-contrast .btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--bg-color);
    box-shadow: 6px 6px 0 var(--bg-color);
    transform: translate(-4px, -4px);
}

/* Specific Section Styles */
.step-item {
    border-left: var(--border-width) solid var(--primary-color);
    padding-left: 2rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-family: var(--system-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.mock-ui {
    border: var(--border-width) solid var(--border-color);
    background: #000;
    padding: 2rem;
}

.mock-ui-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: var(--border-width) solid var(--border-color);
    padding-bottom: 1.5rem;
}

.mock-ui-dot {
    width: 16px;
    height: 16px;
    background: var(--border-color);
}

/* System Fonts for specific tech areas */
.mock-ui div, .mock-ui span {
    font-family: var(--system-font) !important;
}

/* Contact Form */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--primary-color);
    font-family: var(--system-font);
}

.form-control {
    width: 100%;
    padding: 1.25rem;
    background: var(--bg-color);
    border: var(--border-width) solid var(--border-color);
    color: var(--text-light);
    font-family: var(--system-font);
    font-size: 1.125rem;
    transition: all var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 4px 4px 0 var(--primary-color);
    transform: translate(-2px, -2px);
}

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

/* Footer Section */
.footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .logo-text {
    color: white;
}

.footer .logo-text span {
    color: var(--primary-color);
}

.footer h4 {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover img {
    transform: scale(1.1);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
    .footer .grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Testimonials Carousel System */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

@media (max-width: 768px) {
    .carousel-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }
    .carousel-track {
        gap: 1rem;
        display: flex;
    }
    .video-testimonial {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .review-screenshot {
        flex: 0 0 60%;
        scroll-snap-align: center;
    }
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: transparent;
    border: var(--border-width) solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 4px 4px 0 var(--border-color);
    transform: translate(-2px, -2px);
}

.carousel-btn svg {
    fill: currentColor;
}

.testimonial-card {
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-color);
    flex-shrink: 0;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(182, 255, 0, 0.15), 8px 8px 0 var(--primary-color);
    transform: translate(-4px, -4px) scale(1.02);
}

.video-testimonial {
    width: calc(50% - 1rem); /* 2 items on desktop */
}

.review-screenshot {
    width: calc(25% - 1.5rem); /* 4 items on desktop */
    padding: 1rem;
}

.media-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-width) solid var(--border-color);
}

.video-preview {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.video-preview:hover img {
    opacity: 0.5;
}

.video-preview:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: -3px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: var(--border-width) solid var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.video-preview:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(182, 255, 0, 0.6);
}

.video-preview.playing .play-btn,
.video-preview.playing img {
    display: none;
}

.video-preview.playing {
    cursor: default;
}

.video-preview.playing iframe,
.video-preview.playing video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    font-family: var(--system-font);
}

.review-screenshot img {
    width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    display: block;
    transition: border-color 0.2s;
}

.review-screenshot:hover img {
    border-color: var(--primary-color);
}

.review-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .video-testimonial {
        width: 100%; /* 1 item on mobile */
    }
    .review-screenshot {
        width: calc(50% - 0.5rem); /* 2 items on mobile */
    }
    .carousel-track {
        gap: 1rem;
    }
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
    .carousel-controls {
        justify-content: center;
    }
}


/* Footer System Animation */
.footer-system-text {
    font-family: var(--system-font), monospace;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(182, 255, 0, 0.4);
    min-height: 2.5em;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.footer-system-text.visible {
    opacity: 1;
}

.footer-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--primary-color);
    margin-left: 4px;
    vertical-align: middle;
    animation: terminal-blink 0.6s infinite;
}

@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .footer-system-text {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--primary-color);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 0.8s infinite;
}

/* Pricing & FAQ Mobile Fixes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .faq-item {
        padding: 1.5rem !important;
    }
}

/* Marquee Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--bg-color);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 3rem;
    font-family: var(--system-font);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ticker-item::before {
    content: '✔';
    color: var(--primary-color);
}

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

/* Horizontal Flow UI */
.flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.flow-step {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--system-font);
    color: white;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: flow-pulse 2s infinite;
}

@keyframes flow-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

@media (max-width: 768px) {
    .flow-arrow {
        transform: rotate(90deg);
        display: block;
        margin: 0.5rem 0;
    }
    }
}

/* Premium Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast.success {
    border-left: 4px solid var(--primary-color);
}

.toast.error {
    border-left: 4px solid #EF4444;
}

.toast-icon {
    font-size: 1.25rem;
    margin-top: 2px;
}

.toast.success .toast-icon {
    color: var(--primary-color);
}

.toast.error .toast-icon {
    color: #EF4444;
}

.toast-content h4 {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.toast-content p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .toast {
        max-width: 100%;
    }
}
