/* ═══════════════════════════════════════════
   DIGI JANTA — Design System & Styles
   Premium Dark/Light Theme with Indian Governance Aesthetic
   ═══════════════════════════════════════════ */

/* ──── CSS Custom Properties (DARK – default) ──── */
:root,
[data-theme="dark"] {
    /* Core Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2035;
    --bg-card: rgba(26, 32, 53, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    /* Accent Colors – Inspired by Indian civic vibrancy */
    --saffron: #FF6B35;
    --saffron-light: #FF9F1C;
    --teal: #2EC4B6;
    --teal-dark: #009688;
    --green: #38B000;
    --green-light: #70E000;
    --red: #E71D36;
    --amber: #FFB703;
    --purple: #7B61FF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35, #FF9F1C);
    --gradient-teal: linear-gradient(135deg, #2EC4B6, #009688);
    --gradient-green: linear-gradient(135deg, #38B000, #70E000);
    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FF9F1C 50%, #FFD166 100%);
    --gradient-text: linear-gradient(135deg, #FF6B35, #FFB703, #FF9F1C);
    --gradient-section: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

    /* Text */
    --text-primary: #f0f2f5;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #ffffff;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 120px;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow-saffron: 0 0 60px rgba(255, 107, 53, 0.15);
    --shadow-glow-teal: 0 0 60px rgba(46, 196, 182, 0.15);
    --shadow-glow-amber: 0 0 60px rgba(255, 183, 3, 0.15);

    /* Navbar scrolled */
    --navbar-scrolled-bg: rgba(10, 14, 26, 0.85);
    --mobile-nav-bg: rgba(10, 14, 26, 0.95);

    /* Floating card */
    --floating-card-bg: rgba(26, 32, 53, 0.9);

    /* CTA gradient */
    --cta-card-bg: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 159, 28, 0.05), rgba(46, 196, 182, 0.05));
    --cta-dot: rgba(255, 107, 53, 0.08);

    /* Form */
    --form-bg: rgba(255, 255, 255, 0.05);
    --form-focus-bg: rgba(255, 107, 53, 0.05);

    /* Select */
    --select-option-bg: #111827;

    /* Phone frame shadow */
    --phone-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ──── LIGHT THEME ──── */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef1f6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);

    --saffron: #E05A2D;
    --saffron-light: #F08A24;
    --teal: #1BA89E;
    --teal-dark: #007F74;
    --green: #2E9800;
    --amber: #E0A200;

    --gradient-primary: linear-gradient(135deg, #E05A2D, #F08A24);
    --gradient-teal: linear-gradient(135deg, #1BA89E, #007F74);
    --gradient-text: linear-gradient(135deg, #C04A20, #E0A200, #E05A2D);
    --gradient-section: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

    --text-primary: #1a1d2e;
    --text-secondary: #555b6e;
    --text-muted: #7d8597;
    --text-heading: #111422;

    --border-subtle: rgba(0, 0, 0, 0.07);
    --border-glass: rgba(0, 0, 0, 0.1);

    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow-saffron: 0 4px 30px rgba(224, 90, 45, 0.1);
    --shadow-glow-teal: 0 4px 30px rgba(27, 168, 158, 0.1);
    --shadow-glow-amber: 0 4px 30px rgba(224, 162, 0, 0.1);

    --navbar-scrolled-bg: rgba(255, 255, 255, 0.88);
    --mobile-nav-bg: rgba(255, 255, 255, 0.96);

    --floating-card-bg: rgba(255, 255, 255, 0.92);

    --cta-card-bg: linear-gradient(135deg, rgba(224, 90, 45, 0.05), rgba(240, 138, 36, 0.04), rgba(27, 168, 158, 0.04));
    --cta-dot: rgba(224, 90, 45, 0.06);

    --form-bg: rgba(0, 0, 0, 0.03);
    --form-focus-bg: rgba(224, 90, 45, 0.04);

    --select-option-bg: #ffffff;

    --phone-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ──── Global Theme Transition ──── */
html[data-theme],
html[data-theme] *,
html[data-theme] *::before,
html[data-theme] *::after {
    transition:
        background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable transition on initial page load to prevent flash */
html.no-transition,
html.no-transition *,
html.no-transition *::before,
html.no-transition *::after {
    transition: none !important;
}

/* ──── Reset & Base ──── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ──── Section Headers ──── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-heading);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #FFD166, #fff, #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .gradient-text-light {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ──── Buttons ──── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-ghost:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ══════════════════════════════════════
   LANGUAGE TOGGLE
   ══════════════════════════════════════ */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
    z-index: 10;
    color: var(--text-secondary);
}

.lang-toggle:hover {
    border-color: var(--saffron);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.12);
}

.lang-option {
    padding: 2px 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.lang-divider {
    color: var(--text-muted);
    opacity: 0.4;
    font-weight: 400;
    user-select: none;
}

.lang-option.active {
    color: var(--saffron);
    background: rgba(255, 107, 53, 0.1);
}

.lang-mr {
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* Marathi font for entire page when in Marathi mode */
[data-lang="mr"] body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-lang="mr"] h1,
[data-lang="mr"] h2,
[data-lang="mr"] h3,
[data-lang="mr"] h4,
[data-lang="mr"] h5,
[data-lang="mr"] h6 {
    font-family: 'Poppins', 'Outfit', 'Inter', sans-serif;
}

/* ══════════════════════════════════════
   THEME TOGGLE
   ══════════════════════════════════════ */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 10;
}

.toggle-track {
    width: 52px;
    height: 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.toggle-track:hover {
    border-color: var(--saffron);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.15);
}

.toggle-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    position: absolute;
    left: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Dark mode: thumb on LEFT, show moon */
[data-theme="dark"] .icon-sun {
    opacity: 0;
    transform: scale(0) rotate(90deg);
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Light mode: thumb on RIGHT, show sun */
[data-theme="light"] .toggle-thumb {
    transform: translateX(24px);
}

[data-theme="light"] .icon-moon {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="light"] .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

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

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

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* In dark mode, brighten the logo slightly for visibility */
[data-theme="dark"] .logo-img {
    filter: brightness(1.15) contrast(1.05);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

[data-theme="light"] .shape {
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-shape 12s ease-in-out infinite;
}

[data-theme="light"] .shape-1 {
    background: radial-gradient(circle, rgba(224, 90, 45, 0.09), transparent 70%);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.12), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

[data-theme="light"] .shape-2 {
    background: radial-gradient(circle, rgba(27, 168, 158, 0.08), transparent 70%);
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.1), transparent 70%);
    top: 40%;
    left: 30%;
    animation: float-shape 10s ease-in-out infinite 3s;
}

[data-theme="light"] .shape-3 {
    background: radial-gradient(circle, rgba(240, 138, 36, 0.07), transparent 70%);
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.08), transparent 70%);
    top: 20%;
    right: 30%;
    animation: float-shape 8s ease-in-out infinite 1s;
}

[data-theme="light"] .shape-4 {
    background: radial-gradient(circle, rgba(123, 97, 255, 0.06), transparent 70%);
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.hero-phone-mockup {
    position: relative;
}

.phone-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.2), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

[data-theme="light"] .phone-glow {
    background: radial-gradient(ellipse at center, rgba(224, 90, 45, 0.12), transparent 70%);
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.phone-frame {
    width: 320px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--phone-shadow);
    position: relative;
}

.phone-frame img {
    width: 100%;
    border-radius: 32px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--floating-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card strong {
    font-size: 1rem;
    display: block;
    color: var(--text-primary);
}

.floating-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.float-icon {
    font-size: 1.4rem;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 5%;
    left: 10px;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border-glass);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: scroll-indicator 2s ease-in-out infinite;
}

@keyframes scroll-indicator {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* Animate-in */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */
.features {
    background: var(--gradient-section);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow-glow-saffron);
}

[data-theme="light"] .feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(224, 90, 45, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
    transform: scale(1.08);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ══════════════════════════════════════
   APPS SHOWCASE
   ══════════════════════════════════════ */
.apps {
    background: var(--bg-secondary);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.app-showcase:last-child {
    margin-bottom: 0;
}

.app-showcase.reverse {
    direction: rtl;
}

.app-showcase.reverse>* {
    direction: ltr;
}

.app-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.app-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.citizen-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--saffron);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.citizen-tag .app-tag-dot {
    background: var(--saffron);
}

.nagarsevak-tag {
    background: rgba(46, 196, 182, 0.1);
    color: var(--teal);
    border: 1px solid rgba(46, 196, 182, 0.2);
}

.nagarsevak-tag .app-tag-dot {
    background: var(--teal);
}

.admin-tag {
    background: rgba(255, 183, 3, 0.1);
    color: var(--amber);
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.admin-tag .app-tag-dot {
    background: var(--amber);
}

.app-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-heading);
}

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

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-features-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.app-features-list li:hover {
    background: var(--bg-glass);
}

.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    color: var(--saffron);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

.check-icon.teal {
    background: rgba(46, 196, 182, 0.1);
    color: var(--teal);
}

.check-icon.amber {
    background: rgba(255, 183, 3, 0.1);
    color: var(--amber);
}

.app-features-list li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.app-features-list li span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* App Visual */
.app-visual {
    display: flex;
    justify-content: center;
}

.app-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    max-width: 420px;
}

.app-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.citizen-glow::before {
    background: var(--gradient-primary);
}

.nagarsevak-glow::before {
    background: var(--gradient-teal);
}

.admin-glow::before {
    background: linear-gradient(135deg, var(--amber), var(--saffron));
}

.app-image-wrapper:hover::before {
    opacity: 1;
}

.app-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.app-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
}

/* ══════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════ */
.how-it-works {
    background: var(--bg-primary);
}

.workflow-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 65px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--saffron),
            var(--teal),
            var(--amber),
            var(--green));
    opacity: 0.3;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-primary), 0 0 20px rgba(255, 107, 53, 0.3);
}

.step-card {
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-saffron);
}

[data-theme="light"] .step-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   STATS
   ══════════════════════════════════════ */
.stats {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    padding: 80px 0;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.15);
    box-shadow: var(--shadow-card-hover);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--saffron);
    display: inline;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════
   CATEGORIES
   ══════════════════════════════════════ */
.categories {
    background: var(--bg-primary);
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    cursor: default;
}

.category-chip:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-saffron);
}

[data-theme="light"] .category-chip:hover {
    box-shadow: var(--shadow-card-hover);
}

.cat-icon {
    font-size: 1.2rem;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 53, 0.15);
    box-shadow: var(--shadow-glow-saffron);
}

[data-theme="light"] .testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
    color: var(--amber);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════
   CTA / CONTACT
   ══════════════════════════════════════ */
.cta-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.cta-card {
    position: relative;
    padding: 64px;
    background: var(--cta-card-bg);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

[data-theme="light"] .cta-card {
    border-color: rgba(224, 90, 45, 0.12);
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--cta-dot) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--text-heading);
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.contact-item:hover {
    background: rgba(255, 107, 53, 0.12);
    border-color: var(--saffron);
    color: var(--saffron);
    transform: translateY(-2px);
}

.contact-item svg {
    color: var(--saffron);
}

.contact-item strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

[data-theme="light"] .contact-item {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .contact-item strong {
    color: var(--text-primary);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--form-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--saffron);
    background: var(--form-focus-bg);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

select.form-input {
    cursor: pointer;
}

select.form-input option {
    background: var(--select-option-bg);
    color: var(--text-primary);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
}

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

.footer-brand .logo-img {
    height: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--saffron);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--saffron);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        margin-top: 40px;
    }

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

    .app-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-showcase.reverse {
        direction: ltr;
    }

    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .timeline-line {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--mobile-nav-bg);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-sm {
        display: none;
    }

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

    .phone-frame {
        width: 260px;
    }

    .floating-card {
        display: none;
    }

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

    .workflow-timeline {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 32px 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .app-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

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

    .categories-grid {
        gap: 10px;
    }

    .category-chip {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}