/* ====================================================
   AI Mobile App Development - Landing Page Styles
   Modern 2024/2025 Design Trends
   ==================================================== */

/* ===== CSS Custom Properties ===== */
:root {
    /* Colors */
    --clr-primary: #7c3aed;
    --clr-primary-dark: #6d28d9;
    --clr-primary-light: #a78bfa;
    --clr-secondary: #06b6d4;
    --clr-secondary-dark: #0891b2;
    --clr-accent: #FF7700;
    --clr-success: #10b981;
    --clr-danger: #ef4444;

    /* Neutrals */
    --clr-dark: #0a0a1a;
    --clr-dark-800: #111127;
    --clr-dark-700: #1a1a3e;
    --clr-dark-600: #2d2d5e;
    --clr-gray-900: #111827;
    --clr-gray-800: #1f2937;
    --clr-gray-700: #374151;
    --clr-gray-600: #4b5563;
    --clr-gray-500: #6b7280;
    --clr-gray-400: #9ca3af;
    --clr-gray-300: #d1d5db;
    --clr-gray-200: #e5e7eb;
    --clr-gray-100: #f3f4f6;
    --clr-gray-50: #f9fafb;
    --clr-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF7700 0%, #ff9900 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%);
    --gradient-card: linear-gradient(145deg, rgba(124, 58, 237, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);
}

/* ===== Reset & Base ===== */


button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Text Gradient ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.landing-page .hero-actions .btn,
.landing-page .cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-family-heading);
    text-align: center;
    line-height: normal;
}

.landing-page .btn.btn-primary,
.landing-page .hero-actions .btn-primary {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
    border: 2px solid var(--secondary-color) !important;
    box-shadow: 0 4px 20px rgba(255, 119, 0, 0.3);
}

.landing-page .btn.btn-primary:hover,
.landing-page .hero-actions .btn-primary:hover {
    background-color: #e06900 !important;
    border-color: #e06900 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 119, 0, 0.4);
}

.landing-page .btn.btn-ghost,
.landing-page .hero-actions .btn-ghost {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
}

.landing-page .btn.btn-ghost:hover,
.landing-page .hero-actions .btn-ghost:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 119, 0, 0.3) !important;
}

.landing-page .btn.btn-outline-light,
.landing-page .cta-actions .btn-outline-light {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
}

.landing-page .btn.btn-outline-light:hover,
.landing-page .cta-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.landing-page .btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.3rem;
    color: var(--clr-white);
    font-weight: 400;
}

.header.scrolled .logo {
    color: var(--clr-gray-900);
}

.logo strong {
    font-weight: 800;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--clr-white);
}

.header.scrolled .nav-link {
    color: var(--clr-gray-600);
}

.header.scrolled .nav-link:hover {
    color: var(--clr-primary);
}

.header-cta {
    background: var(--gradient-primary);
    color: var(--clr-white);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    transition: var(--transition-base);
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10001;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.header.scrolled .menu-toggle span {
    background: var(--clr-gray-900);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 136, 0, 0.137) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 60%, rgba(209, 154, 0, 0.121) 0%, transparent 50%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(11, 0, 29, 0.15);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(2, 1, 44, 0.12);
    bottom: -50px;
    left: -50px;
    animation-delay: 3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(11, 0, 38, 0.115);
    top: 40%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid #ff770040;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    font-family: var(--font-family-heading);
    font-size: var(--Font-size-16);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: var(--clr-white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--clr-gray-400);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.metric {
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-white);
}

.metric-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-accent);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--clr-gray-400);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 420px;
    background: var(--clr-dark-800);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), var(--shadow-glow);
    position: relative;
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1e1e2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.screen-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
}

.screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.screen-dot:nth-child(1) { background: #ef4444; }
.screen-dot:nth-child(2) { background: #f59e0b; }
.screen-dot:nth-child(3) { background: #10b981; }

.screen-content {
    padding: 20px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 2;
}

.code-line {
    color: var(--clr-gray-400);
}

.code-keyword { color: #c084fc; }
.code-func { color: #67e8f9; }
.code-string { color: #86efac; }
.code-comment { color: #6b7280; font-style: italic; }

.typing-animation {
    position: relative;
    overflow: hidden;
}

.typing-animation::after {
    content: '|';
    color: var(--clr-primary-light);
    animation: blink 1s infinite;
}

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

/* ===== SECTIONS ===== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-alt {
    background: var(--clr-gray-50);
}

.section-intro {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    /* background: var(--gradient-card); */
    border:1px solid #ff7700b9;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;

    font-family: var(--font-family-heading);
    font-size: var(--Font-size-14);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.label-icon {
    font-size: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--clr-gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-desc {
    /* font-size: 1.05rem; */
    color: var(--clr-gray-500);
    line-height: 1.7;
}

/* ===== Service Cards (Section 1) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.service-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height var(--transition-slow);
    border-radius: 0 0 4px 0;
}

.service-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-4px);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1.2rem;
}

.service-body h3 {
    /* font-size: 1.1rem; */
    /* font-weight: 700; */
    /* color: var(--clr-gray-900); */
    margin-bottom: var(--space-sm);
}

.service-body p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-badge {
    display: inline-block;
    padding: 4px 14px;
    background: #ff770015;
    color: var(--clr-accent);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Section Highlights ===== */
.section-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    padding: var(--space-xl);
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-xl);
}

.highlight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-gray-700);
    padding: var(--space-sm) var(--space-md);
    background: var(--clr-white);
    border-radius: var(--radius-full);
    border: 1px solid var(--clr-gray-200);
}

.highlight i {
    color: var(--clr-success);
    font-size: 0.85rem;
}

/* ===== Feature Cards (Section 2) ===== */
.features-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(124, 58, 237, 0.15);
}

.feature-large {
    grid-column: span 2;
}

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    /* background: var(--gradient-card); */
    border: 1px solid #ff77004f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    /* font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-gray-900); */
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.7;
}

.feature-stat {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-accent);
    background: #ff770015;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

/* ===== Filter Bar (Section 3) ===== */
.filter-bar {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-gray-500);
    border: 1.5px solid var(--clr-gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--clr-white);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}

/* Maintenance Grid */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.maint-card {
    padding: var(--space-lg);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.maint-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.maint-card.hidden {
    display: none;
}

.maint-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #ff770020;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.maint-card h4 {
    /* font-size: 0.95rem; */
    font-weight: 700;
    color: var(--clr-gray-900);
    margin-bottom: var(--space-sm);
}

.maint-card p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.6;
}

/* ===== Timeline (Section 4) ===== */
.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto var(--space-3xl);
    padding-left: 50px;
}

.timeline-track {
    position: absolute;
    left: 20px;
    top: 90px;
    bottom: 90px;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-accent), var(--clr-danger));
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    margin-bottom: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.timeline-marker {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 0 4px var(--clr-gray-50), 0 0 20px rgba(124, 58, 237, 0.2);
    z-index: 2;
    top: calc(50% - 25px);
}

.section-alt .timeline-marker {
    box-shadow: 0 0 0 4px var(--clr-gray-50), 0 0 20px rgba(124, 58, 237, 0.2);
}

.timeline-content {
    padding: var(--space-lg);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    flex: 1;
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.15);
}

.timeline-content h4 {
    font-weight: 700;
    color: var(--clr-gray-900);
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.6;
}

.timeline-duration {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-accent);
    background: #ff770015;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

/* Takeover Grid */
.takeover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.takeover-card {
    padding: var(--space-xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.takeover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(124, 58, 237, 0.2);
}

.takeover-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.takeover-card h3 {
    /* font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-gray-900); */
    margin-bottom: var(--space-sm);
}

.takeover-card p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.7;
}

.takeover-stat {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-success);
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

/* ===== IoT Section (Section 5) ===== */
.iot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.iot-card {
    padding: var(--space-xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.iot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(6, 182, 212, 0.2);
}

.iot-card-highlight {
    grid-column: span 2;
    background: var(--gradient-card);
    border-color: rgba(124, 58, 237, 0.15);
}

.iot-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.iot-card-header i {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1rem;
}

.iot-card-header h3 {
    /* font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-gray-900); */
}

.iot-card p {
    font-size: 1rem;
    color: var(--clr-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.iot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.iot-tags span {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-success);
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

/* ===== CTA Section ===== */
.section-cta {
    background: var(--gradient-dark);
    overflow: hidden;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--clr-gray-400);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-list {
    margin-bottom: var(--space-xl);
}

.cta-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--clr-gray-300);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.cta-list li i {
    color: var(--clr-success);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* CTA Visual Card */
.cta-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
}

.cta-card-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta-deliverables li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--clr-gray-300);
    font-size: 0.9rem;
    padding: var(--space-sm) 0;
}

.cta-deliverables li i {
    color: var(--clr-primary-light);
    width: 20px;
}

.cta-card-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-secondary);
    text-align: center;
}

/* ===== Back to Top ===== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

/* ===== Scroll Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

 /* SVG Text Animation */
.text-line { width: 100%; height: auto;}
.text-line text { font-family: var(--font-family-heading); font-size: clamp(1.4rem, 12vw, 3.3rem); font-weight: 700; text-transform: uppercase; fill: transparent; stroke: #d9d9d9; stroke-width: 1; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: textDrawLoop 10s ease-in-out infinite; }
@keyframes textDrawLoop {
  0% { stroke-dashoffset: 1200; fill: transparent;}
  60% { stroke-dashoffset: 0; fill: transparent;}
  75% { fill: #d9d9d9;}
  100% { stroke-dashoffset: 1200; fill: transparent;}
}
@media (prefers-reduced-motion: reduce) {
  .text-line text { animation: none; fill: #d9d9d9; stroke-dashoffset: 0;}
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-large {
        grid-column: span 1;
    }

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

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

    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-list li {
        justify-content: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
   
    

    .header-cta {
        display: none;
    }

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

    .features-masonry,
    .maintenance-grid,
    .takeover-grid,
    .iot-grid {
        grid-template-columns: 1fr;
    }

    .feature-large,
    .iot-card-highlight {
        grid-column: span 1;
    }

    .filter-bar {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .timeline-track {
        left: 14px;
        top: 140px;
        bottom: 140px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

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

@media (max-width: 480px) {
    .section {
        padding: var(--space-3xl) 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .metric-value {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.88rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

     .chip-dot { display: none;}

     .service-card { flex-wrap: wrap;}
    .service-card .service-body { width: 100%;}
    .highlight { width: 100%;}
    .iot-card-header {flex-direction: column; align-items: flex-start;}
}
