/* styles.css - Cleaned cursor effects, new aurora mesh background */

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

:root {
    /* Calm near-monochrome palette — one restrained indigo accent */
    --primary: #4f57cc;
    --primary-dark: #3a41a8;
    --secondary: #5b63d3;
    --accent: #6f76dd;
    --text: #1b1f24;
    --text-light: #5b626c;
    --bg: #ffffff;
    --bg-light: #f6f7f9;
    --card-bg: #ffffff;
    --border: #e6e8ec;
    --shadow: rgba(16, 19, 24, 0.07);
    --primary-rgb: 79, 87, 204;
}

.dark-theme {
    --primary: #8b91e8;
    --primary-dark: #6f76dd;
    --secondary: #9aa0ec;
    --accent: #b9bdf2;
    --text: #e7e9ee;
    --text-light: #9aa1ad;
    --bg: #0e1014;
    --bg-light: #15181e;
    --card-bg: #14171c;
    --border: #262b33;
    --shadow: rgba(0, 0, 0, 0.5);
    --primary-rgb: 139, 145, 232;
}

.light-theme {
    --primary: #4f57cc;
    --primary-dark: #3a41a8;
    --secondary: #5b63d3;
    --accent: #6f76dd;
    --text: #1b1f24;
    --text-light: #5b626c;
    --bg: #ffffff;
    --bg-light: #f6f7f9;
    --card-bg: #ffffff;
    --border: #e6e8ec;
    --shadow: rgba(16, 19, 24, 0.07);
    --primary-rgb: 79, 87, 204;
}

/* =====================================================
   AURORA MESH BACKGROUND
   ===================================================== */

.aurora-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--bg);
    /* Ensure orbs render above the background colour */
    isolation: isolate;
}

/* Base mesh gradient layer */
.aurora-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(59, 130, 246, 0.13) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 90%, rgba(6, 182, 212, 0.11) 0%, transparent 60%),
        radial-gradient(ellipse 90% 40% at 80% 60%, rgba(139, 92, 246, 0.10) 0%, transparent 50%);
    animation: auroraPulse 14s ease-in-out infinite alternate;
}

/* Floating orb — top left */
.aurora-orb-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    top: -250px;
    left: -250px;
    background: conic-gradient(
        from 200deg,
        rgba(124, 58, 237, 0.22),
        rgba(59, 130, 246, 0.16),
        rgba(6, 182, 212, 0.12),
        rgba(124, 58, 237, 0.22)
    );
    filter: blur(36px);
    will-change: transform;
    animation: orbFloat1 18s ease-in-out infinite;
}

/* Floating orb — bottom right */
.aurora-orb-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    background: conic-gradient(
        from 40deg,
        rgba(6, 182, 212, 0.18),
        rgba(139, 92, 246, 0.15),
        rgba(59, 130, 246, 0.12),
        rgba(6, 182, 212, 0.18)
    );
    filter: blur(40px);
    will-change: transform;
    animation: orbFloat2 22s ease-in-out infinite;
}

/* Floating orb — center mid */
.aurora-orb-3 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: 35%;
    left: 38%;
    background: radial-gradient(circle,
        rgba(59, 130, 246, 0.14) 0%,
        rgba(124, 58, 237, 0.10) 40%,
        rgba(6, 182, 212, 0.06) 65%,
        transparent 80%);
    filter: blur(30px);
    will-change: transform;
    animation: orbFloat3 16s ease-in-out infinite;
}

/* Fine dot grid — subtle texture */
.aurora-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(124, 58, 237, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
    opacity: 0.8;
}

/* Dark theme adjustments */
.dark-theme .aurora-bg::before {
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(139, 92, 246, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(96, 165, 250, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 90%, rgba(34, 211, 238, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 90% 40% at 80% 60%, rgba(167, 139, 250, 0.14) 0%, transparent 50%);
}

.dark-theme .aurora-orb-1 {
    background: conic-gradient(
        from 200deg,
        rgba(139, 92, 246, 0.28),
        rgba(96, 165, 250, 0.20),
        rgba(34, 211, 238, 0.15),
        rgba(139, 92, 246, 0.28)
    );
}

.dark-theme .aurora-orb-2 {
    background: conic-gradient(
        from 40deg,
        rgba(34, 211, 238, 0.22),
        rgba(167, 139, 250, 0.18),
        rgba(96, 165, 250, 0.14),
        rgba(34, 211, 238, 0.22)
    );
}

.dark-theme .aurora-orb-3 {
    background: radial-gradient(circle,
        rgba(96, 165, 250, 0.22) 0%,
        rgba(139, 92, 246, 0.16) 40%,
        rgba(34, 211, 238, 0.10) 65%,
        transparent 80%);
}

.dark-theme .aurora-grid {
    background-image:
        radial-gradient(circle, rgba(139, 92, 246, 0.18) 1px, transparent 1px);
    opacity: 0.7;
}

/* Keyframes */
@keyframes auroraPulse {
    0% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.04) rotate(1deg);
    }
    100% {
        opacity: 0.85;
        transform: scale(0.98) rotate(-0.5deg);
    }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, 30px) scale(1.05); }
    66%       { transform: translate(-20px, 50px) scale(0.97); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(-50px, -30px) scale(1.04); }
    70%       { transform: translate(20px, -50px) scale(0.96); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-bg::before,
    .aurora-orb-1,
    .aurora-orb-2,
    .aurora-orb-3 {
        animation: none;
    }
}

html {
    background-color: var(--bg);
}

/* Body styles */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 100px;
    position: relative;
    cursor: default;
}

nav,
.page,
.detail-page,
section,
.hero,
footer,
.services-grid,
.workflow-section,
.impact-metrics,
.achievement-stats,
.modal,
.alert,
.tools-page,
.gf-tools-container {
    position: relative;
    z-index: 1;
}

/* Utility class for main content horizontal margin */
.site-content-margin {
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Navigation - exactly as in React */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: color-mix(in srgb, var(--card-bg) 88%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    z-index: 1000;
    padding: 1.1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo i { color: var(--primary); font-size: 1.15rem; }
.logo .logo-wordmark { color: var(--text); }
.logo .logo-wordmark span { color: var(--primary); }

/* clean text nav — no filled blocks */
.nav-center {
    display: flex;
    gap: 0.1rem;
    background: var(--nav-pill-bg, rgba(0, 0, 0, 0.06));
    padding: 0.3rem 0.4rem;
    border-radius: 14px;
}

.dark-theme .nav-center {
    background: rgba(255, 255, 255, 0.07);
}

.nav-center a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
}

.nav-center a:hover {
    color: var(--text);
    background: rgba(var(--primary-rgb), 0.07);
}

.nav-right {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.nav-right-secondary {
    background: var(--nav-pill-bg, rgba(0, 0, 0, 0.06));
    padding: 0.3rem 0.4rem;
    border-radius: 14px;
}

.dark-theme .nav-right-secondary {
    background: rgba(255, 255, 255, 0.07);
}

.nav-right a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-right a:hover {
    background: rgba(var(--primary-rgb), 0.07);
    color: var(--text);
}

/* Sign-up CTA — solid ink, matches the design-system primary button */
.nav-right a.nav-cta {
    background: var(--ds-ink, #1b1f24);
    color: var(--ds-on-ink, #ffffff);
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
}
.nav-right a.nav-cta:hover {
    background: var(--primary);
    color: #fff;
}

/* Navigation Dropdown Styles */
.nav-item-wrapper {
    position: relative;
}

.nav-center .nav-item-wrapper {
    display: flex;
    align-items: center;
}

.nav-right .nav-item-wrapper {
    display: flex;
    align-items: center;
}

.nav-item-wrapper>a {
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--card-bg);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.2rem;
}

.nav-center .nav-item-wrapper .nav-dropdown {
    background: rgba(255, 255, 255, 0.95);
}

.nav-center .nav-item-wrapper .nav-dropdown a {
    color: var(--text);
}

.nav-center .nav-item-wrapper .nav-dropdown a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.dark-theme .nav-center .nav-item-wrapper .nav-dropdown {
    background: var(--card-bg);
}

/* Theme Toggle */
.theme-toggle {
    margin-left: 1rem;
}

.theme-toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    width: 60px;
    height: 30px;
    background: var(--border);
    border-radius: 50px;
    cursor: pointer;
    padding: 5px;
    transition: background 0.3s;
}

.theme-toggle-label i {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 14px;
}

.theme-toggle-label .fa-sun {
    left: 8px;
    color: #f59e0b;
}

.theme-toggle-label .fa-moon {
    right: 8px;
    color: #d1d5db;
}

.theme-toggle-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#theme-toggle:checked + .theme-toggle-label {
    background: var(--primary);
}

#theme-toggle:checked + .theme-toggle-label .theme-toggle-ball {
    transform: translateX(30px);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page transitions */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary);
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Alert messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    position: relative;
    margin-top: 100px;
}

.alert-success {
    background-color: #10b981;
    color: white;
}

.alert-error {
    background-color: #ef4444;
    color: white;
}

.alert-info {
    background-color: #3b82f6;
    color: white;
}

.alert-warning {
    background-color: #f59e0b;
    color: white;
}

.btn-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-center,
    .nav-right {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* === FrontDeskAI Product Page Custom Styles === */
.frontdesk-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.frontdesk-screenshot-box {
    background: white;
    border: 2px dashed #4f5567;
    border-radius: 16px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f0d0d;
    transition: box-shadow 0.2s;
    text-align: center;
}

.frontdesk-screenshot-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #a78bfa;
}

.frontdesk-screenshot-box:hover {
    box-shadow: 0 4px 24px rgba(60, 60, 120, 0.12);
}

.frontdesk-expected-results {
    margin: 2.5rem 0 0 0;
    padding: 3rem 1rem 2.5rem 1rem;
    border-radius: 24px;
    background: linear-gradient(120deg, #7c3aed 0%, #60a5fa 100%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.frontdesk-expected-results h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.frontdesk-results-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.frontdesk-result .frontdesk-result-value {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.frontdesk-result .frontdesk-result-label {
    font-size: 1.1rem;
    color: #e0e7ff;
}

.frontdesk-demo-btn {
    background: linear-gradient(90deg, #a78bfa 0%, #60a5fa 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 2rem;
    padding: 1.1rem 2.8rem;
    font-size: 1.2rem;
    box-shadow: 0 2px 12px rgba(60, 60, 120, 0.10);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin: 0 auto;
    display: block;
}

.frontdesk-demo-btn:hover {
    background: linear-gradient(90deg, #7c3aed 0%, #60a5fa 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(60, 60, 120, 0.18);
}

.light-theme .frontdesk-expected-results {
    background: linear-gradient(120deg, #7c3aed 0%, #3b82f6 100%);
}

.dark-theme .frontdesk-screenshot-box {
    background: rgb(2, 2, 2);
    border: 2px dashed #6b7280;
    color: whitesmoke;
}

/* Achievement Stats Section */
.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.achievement-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.achievement-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.achievement-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.achievement-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb, 124, 58, 237), 0.2);
    border-color: var(--primary);
}

.achievement-stat:hover::before {
    opacity: 0.05;
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.dark-theme .achievement-number {
    background: linear-gradient(135deg, #8b5cf6, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .achievement-number {
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* =====================================================================
   FOOTER — mature, branded, near-monochrome surface
   ===================================================================== */
footer {
    position: relative;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 4rem 2rem 1.75rem;
    margin-top: 5rem;
}
/* tricolor seam at the very top edge */
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #FF9933 15%, #FF9933 33%,
        rgba(200, 200, 200, 0.5) 33%, rgba(200, 200, 200, 0.5) 66%,
        #138808 66%, #138808 85%,
        transparent 100%);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* brand-led layout: a wide identity column + link columns */
.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.7fr;
    gap: 2.5rem 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.1rem;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.footer-section ul li {
    position: relative !important;
    padding-left: 0 !important;
    margin-bottom: 0.7rem;
}

.footer-section ul li::before {
    content: none !important;
    display: none !important;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--ds-t, 0.18s ease), padding-left var(--ds-t, 0.18s ease);
    display: inline-block;
    font-size: 0.93rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* brand identity */
.footer-section .logo {
    background: none;
    color: var(--text);
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.footer-section .logo i { color: var(--primary); }
.footer-section .logo .logo-wordmark { color: var(--text); }
.footer-section .logo .logo-wordmark span { color: var(--primary); }

.footer-brand-line {
    color: var(--text);
    font-weight: 550;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    max-width: 340px;
}
.footer-brand-sub {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 360px;
    margin-bottom: 1.4rem;
}

.footer-section i {
    width: 18px;
}

/* social icon buttons */
.social-links {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

/* tooltip */
.social-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 0.72rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.social-links a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* brand-colour hover states */
.social-links a:hover {
    transform: translateY(-3px) scale(1.08);
}

.social-linkedin:hover {
    color: #fff;
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.35);
}
.social-x:hover {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.social-github:hover {
    color: #fff;
    background: #24292f;
    border-color: #24292f;
    box-shadow: 0 4px 16px rgba(36, 41, 47, 0.35);
}
.social-youtube:hover {
    color: #fff;
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.32);
}
.social-email:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}

/* support / contact block — quiet card */
.support-info {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    width: 100%;
    margin: 0;
}

.support-info h3 {
    color: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    font-weight: 650;
}

.support-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.55;
    font-size: 0.9rem;
}

.contact-info p {
    margin-bottom: 0.55rem;
    color: var(--text-light);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

/* ===== Footer India Badge (bottom strip) ===== */
.footer-india-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.footer-india-badge .fib-saffron,
.footer-india-badge .fib-white,
.footer-india-badge .fib-green {
    display: block;
    width: 5px;
    height: 22px;
}

.fib-saffron { background: #FF9933; }
.fib-white   { background: #e8e8e8; }
.fib-green   { background: #138808; }
.dark-theme .fib-white { background: #888; }

.fib-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 0 0.75rem 0 0.55rem;
    letter-spacing: 0.01em;
}

/* bottom strip */
.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.86rem;
    margin: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text);
    transition: all 0.3s;
    z-index: 2;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

body.modal-open {
    overflow: hidden;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-content > .footer-section:first-child {
        grid-column: 1 / -1;
    }
    .support-info { width: 100%; margin-left: 0; }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.25rem 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .support-info { width: 100%; margin-left: 0; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .footer-section .logo {
        font-size: 1.4rem;
    }
}

/* =====================================================================
   AURORA — calmed to a faint, near-static indigo wash (minimal/mature).
   Overrides the louder multi-colour orbs + diagonal shimmer above.
   ===================================================================== */
.aurora-bg::before {
    background:
        radial-gradient(ellipse 80% 60% at 12% 8%, rgba(79, 87, 204, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 88% 92%, rgba(79, 87, 204, 0.05) 0%, transparent 60%);
    animation: none;
}
.aurora-orb-1, .aurora-orb-2 {
    background: radial-gradient(circle, rgba(79, 87, 204, 0.08), transparent 70%);
    opacity: 0.6;
    animation-duration: 40s;                        /* very slow drift */
}
.aurora-orb-3 { display: none; }
.aurora-grid {
    background-image: radial-gradient(circle, rgba(79, 87, 204, 0.06) 1px, transparent 1px);
    opacity: 0.5;
}
.dark-theme .aurora-bg::before {
    background:
        radial-gradient(ellipse 80% 60% at 12% 8%, rgba(139, 145, 232, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 88% 92%, rgba(139, 145, 232, 0.06) 0%, transparent 60%);
}
.dark-theme .aurora-orb-1, .dark-theme .aurora-orb-2 {
    background: radial-gradient(circle, rgba(139, 145, 232, 0.10), transparent 70%);
}
.dark-theme .aurora-grid {
    background-image: radial-gradient(circle, rgba(139, 145, 232, 0.07) 1px, transparent 1px);
}