/* ============================================
   FAMONA AI Technologies - Royal AI Design System
   Enterprise-Grade Corporate Website
   ============================================ */

/* === CSS Custom Properties === */
:root {
    /* Brand Colors - Royal AI Theme */
    --deep-black: #0A0A0A;
    --cosmic-black: #050510;
    --royal-blue: #0039A6;
    --royal-blue-dark: #002266;
    --royal-blue-light: #1a5fc9;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8942E;
    --silver: #C0C0C0;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E0E0E0;
    --gray-600: #666666;
    --gray-800: #333333;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #050510 0%, #0A0A2E 25%, #0039A6 60%, #1a5fc9 100%);
    --gradient-royal: linear-gradient(135deg, #002266 0%, #0039A6 50%, #1a5fc9 100%);
    --gradient-gold: linear-gradient(135deg, #B8942E 0%, #D4AF37 50%, #F4D03F 100%);
    --gradient-cosmic: radial-gradient(ellipse at 50% 0%, rgba(0, 57, 166, 0.4) 0%, transparent 60%);

    /* Typography */
    --font-display: 'Orbitron', 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --max-width: 1400px;
    --header-height: 80px;

    /* Effects */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 57, 166, 0.4);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--deep-black);
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold);
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section--dark {
    background: var(--cosmic-black);
    color: var(--white);
}

.section--gradient {
    background: var(--gradient-hero);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-royal {
    color: var(--royal-blue);
}

/* === Neural Grid Background === */
.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
}

/* === Animated Gradient Header === */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, #050510, #0039A6, #1a5fc9, #0039A6, #050510);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* === Badge Component === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.badge--light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.badge__dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header--dark {
    background: rgba(5, 5, 16, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.header__logo img {
    height: 55px;
    width: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 57, 166, 0.2);
    transition: all var(--transition-base);
}

.header__logo:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--royal-blue);
    letter-spacing: 0.05em;
}

.header__logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Navigation === */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav__link {
    font-weight: 500;
    color: var(--gray-800);
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--royal-blue);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-gold);
    color: var(--deep-black);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
    color: var(--deep-black);
}

.btn--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn--outline {
    background: transparent;
    border-color: var(--royal-blue);
    color: var(--royal-blue);
}

.btn--outline:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.btn--large {
    padding: var(--space-5) var(--space-10);
    font-size: 1.125rem;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: var(--space-8);
}

.hero__badge {
    margin-bottom: var(--space-8);
}

.hero__logo {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 57, 166, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: var(--space-8);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto var(--space-10);
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* === Page Header === */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cosmic);
}

.page-header__content {
    position: relative;
    z-index: 1;
}

.page-header__badge {
    margin-bottom: var(--space-6);
}

.page-header__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--space-4);
}

.page-header__subtitle {
    font-size: 1.25rem;
    color: var(--silver);
}

/* === Section Header === */
.section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section__badge {
    margin-bottom: var(--space-4);
}

.section__title {
    color: var(--royal-blue);
    margin-bottom: var(--space-4);
}

.section--dark .section__title {
    color: var(--white);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* === Cards Grid === */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-royal);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-glow);
}

.card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--royal-blue);
    margin-bottom: var(--space-3);
}

.card__text {
    color: var(--gray-600);
    line-height: 1.7;
}

.card__tags {
    margin-top: var(--space-4);
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* === Stats Grid === */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-6);
}

.stat {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === Info Grid === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.info-card {
    background: rgba(0, 57, 166, 0.05);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--royal-blue);
    transition: all var(--transition-base);
}

.info-card:hover {
    background: rgba(0, 57, 166, 0.1);
    transform: translateX(5px);
}

.info-card__label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-1);
}

.info-card__value {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--royal-blue);
    font-size: 1.125rem;
}

/* === Quiz Styles === */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8);
}

.quiz-progress {
    margin-bottom: var(--space-8);
}

.quiz-progress__bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quiz-progress__fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.quiz-progress__text {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.quiz-question {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-8);
}

.quiz-question__text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--royal-blue);
    margin-bottom: var(--space-8);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.quiz-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: var(--space-5) var(--space-6);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quiz-option:hover {
    background: rgba(0, 57, 166, 0.1);
    border-color: var(--royal-blue);
}

.quiz-option.selected {
    background: var(--royal-blue);
    color: var(--white);
    border-color: var(--royal-blue);
}

.quiz-result {
    text-align: center;
    padding: var(--space-16);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.quiz-result__icon {
    font-size: 5rem;
    margin-bottom: var(--space-6);
}

.quiz-result__score {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-result__title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--royal-blue);
    margin: var(--space-4) 0;
}

.quiz-result__message {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

/* === Contact Form === */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-800);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 4px rgba(0, 57, 166, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: var(--space-2);
}

/* === Footer === */
.footer {
    background: var(--cosmic-black);
    color: var(--white);
    padding: var(--space-20) 0 var(--space-10);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__brand img {
    height: 50px;
    border-radius: var(--radius-md);
}

.footer__brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
}

.footer__brand-text span {
    color: var(--gold);
}

.footer__description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.7;
}

.footer__title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-3);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    text-align: center;
}

.footer__legal {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-2);
}

.footer__compliance {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__india {
    margin-top: var(--space-6);
    font-size: 0.875rem;
    color: var(--gold);
}

/* === Legal Content === */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
}

.legal-content h2 {
    font-family: var(--font-display);
    color: var(--royal-blue);
    font-size: 1.5rem;
    margin: var(--space-10) 0 var(--space-4);
}

.legal-content p {
    color: #444;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
    color: #444;
}

.legal-content li {
    margin-bottom: var(--space-2);
    line-height: 1.7;
}

/* === Timeline === */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-10);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-10);
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-10) - 8px);
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

.timeline__date {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: var(--space-2);
}

.timeline__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--royal-blue);
    margin-bottom: var(--space-2);
}

.timeline__text {
    color: var(--gray-600);
}

/* === Compliance Logos === */
.compliance-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
    padding: var(--space-10) 0;
}

.compliance-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: rgba(0, 57, 166, 0.05);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.compliance-logo:hover {
    background: rgba(0, 57, 166, 0.1);
    transform: translateY(-5px);
}

.compliance-logo__icon {
    font-size: 3rem;
}

.compliance-logo__text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--royal-blue);
    text-align: center;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav__list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav__list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__logo {
        width: 140px;
        height: 140px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__description {
        margin: 0 auto;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: var(--space-8);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero__cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Print Styles === */
@media print {

    .header,
    .footer,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white;
        color: black;
    }
}

/* === Accessibility === */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cosmic-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-royal);
    border-radius: 5px;
}

/* === Selection === */
::selection {
    background: var(--royal-blue);
    color: var(--white);
}

/* === Loading Spinner === */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === Toast Notifications === */
.toast {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: var(--royal-blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast--success {
    background: #059669;
}

.toast--error {
    background: #DC2626;
}