/* ============================================
   RyanAir Compensation — Premium Design System
   ============================================ */

:root {
    /* RyanAir Brand Palette */
    --primary: #073590;
    --primary-dark: #042366;
    --primary-light: #e8eef8;
    --accent: #f1c933;
    --accent-dark: #d4a80f;
    --accent-glow: rgba(241, 201, 51, 0.35);

    /* Backgrounds */
    --bg-color: #f4f6fb;
    --bg-hero: linear-gradient(135deg, #031b4d 0%, #073590 40%, #0a4ab8 100%);

    /* Text */
    --text-dark: #111827;
    --text-light: #4b5563;
    --text-muted: #9ca3af;
    --white: #ffffff;

    /* Surfaces */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.35);
    --card-bg: #ffffff;

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(7, 53, 144, 0.08);
    --shadow-hover: 0 16px 48px rgba(7, 53, 144, 0.16);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(241, 201, 51, 0.15);

    /* Radii */
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Green accents */
    --green-bg: #ecfdf5;
    --green-border: #a7f3d0;
    --green-text: #065f46;
    --green-icon: #10b981;
}

/* ============ RESET ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(7, 53, 144, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 0%, rgba(241, 201, 51, 0.03) 0%, transparent 60%);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ GLASS EFFECTS ============ */
.glass-effect {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
}

/* ============ NAVBAR ============ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.logo .highlight {
    color: var(--primary);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(7, 53, 144, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(7, 53, 144, 0.4);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px var(--accent-glow);
    color: var(--primary-dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

.btn-white:hover {
    background: #f8f9fb;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.btn-glow {
    animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(7, 53, 144, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(7, 53, 144, 0.5); }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 90px 0 170px;
    background: var(--bg-hero);
    color: var(--white);
    overflow: hidden;
}

/* Animated mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(241, 201, 51, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3.6rem;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, var(--accent) 0%, #ffe082 100%);
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.88;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(241, 201, 51, 0.15);
    border: 1px solid rgba(241, 201, 51, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--accent);
    backdrop-filter: blur(5px);
}

.badge i {
    font-size: 0.75rem;
}

/* ============ CONTACT WIDGET ============ */
.contact-widget {
    padding: 32px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-list li > i {
    width: 34px;
    height: 34px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-list span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.social-row a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-row a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.widget-footer p {
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
}

/* ============ MAIN LAYOUT ============ */
.main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* ============ SIDEBAR TOC ============ */
.sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.toc {
    padding: 24px;
}

.toc h3 {
    font-size: 0.8rem;
    margin-bottom: 18px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 4px;
}

.toc a {
    display: block;
    padding: 9px 14px;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.toc a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.toc a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--accent);
}

/* ============ CONTENT ============ */
.content {
    padding: 56px;
}

.intro-text .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.section-block {
    margin-bottom: 80px;
    scroll-margin-top: 130px;
}

.section-block h2 {
    font-size: 1.85rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 20px;
    color: var(--text-dark);
}

.section-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-block > p {
    color: var(--text-light);
    margin-bottom: 12px;
    max-width: 700px;
}

/* ============ BENTO GRID (Reply Times) ============ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.bento-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(7, 53, 144, 0.12);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.bento-card ul {
    list-style: none;
    margin-top: 10px;
}

.bento-card li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.bento-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(7, 53, 144, 0.25);
}

/* ============ FACTORS GRID ============ */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.factor-item {
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

.factor-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-card);
    border-left: 3px solid var(--primary);
}

.factor-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.factor-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============ THRESHOLDS (Milestone Bar) ============ */
.thresholds-section-intro {
    margin-bottom: 40px;
}

.thresholds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

/* Connecting line behind cards */
.thresholds-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, #e2e8f0, var(--primary), var(--accent), #e2e8f0);
    z-index: 0;
    border-radius: 3px;
}

.t-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.t-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.t-header {
    background: linear-gradient(135deg, #f8fafc 0%, var(--primary-light) 100%);
    padding: 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.t-time {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.t-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

.t-body {
    padding: 24px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.t-body ul {
    list-style: none;
    margin-top: 8px;
}

.t-body li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.t-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Highlighted threshold card */
.t-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 36px rgba(7, 53, 144, 0.18);
    transform: scale(1.04);
    z-index: 5;
}

.t-card.highlight .t-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.t-card.highlight .t-time,
.t-card.highlight .t-title {
    color: var(--white);
}

.t-card.highlight:hover {
    transform: scale(1.04) translateY(-8px);
}

/* ============ PASSENGER RIGHTS ============ */
.split-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.rights-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.rights-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}

.rights-card.warning::before {
    background: linear-gradient(to bottom, #ef4444, #f97316);
}

.rights-card h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
}

.rights-card ul {
    list-style: none;
}

.rights-card li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rights-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 0.85rem;
}

.rights-card.warning li::before {
    content: '\f00d';
    color: #ef4444;
}

/* ============ COMPENSATION TABLE ============ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
    background: var(--card-bg);
    margin-top: 24px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 580px;
}

th {
    background: linear-gradient(135deg, var(--primary-light) 0%, #dde6f5 100%);
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    padding: 18px 24px;
    text-align: left;
    border-bottom: 2px solid rgba(7, 53, 144, 0.1);
}

th:first-child { border-top-left-radius: var(--radius-lg); }
th:last-child { border-top-right-radius: var(--radius-lg); }

td {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

tr:last-child td { border-bottom: none; }
tr:last-child td:first-child { border-bottom-left-radius: var(--radius-lg); }
tr:last-child td:last-child { border-bottom-right-radius: var(--radius-lg); }

tr:hover td {
    background: rgba(7, 53, 144, 0.02);
}

td:last-child {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

tr:hover td:last-child {
    background: var(--primary-light);
}

/* ============ STEPS TIMELINE ============ */
.steps-timeline {
    position: relative;
    max-width: 780px;
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 46px;
    height: 46px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(7, 53, 144, 0.15);
}

.step-item::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 46px;
    bottom: -26px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(7, 53, 144, 0.2), rgba(7, 53, 144, 0.05));
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

.step-content {
    background: var(--card-bg);
    padding: 22px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.step-item:hover .step-content {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.step-item:hover .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* ============ CHECKLIST ============ */
.checklist-box {
    background: linear-gradient(135deg, var(--green-bg) 0%, #d1fae5 100%);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.checklist-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-size: 180px;
    color: var(--green-icon);
    opacity: 0.06;
    transform: rotate(-15deg);
}

.checklist-items {
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-text);
}

.check-item i {
    font-size: 1.1rem;
    color: var(--green-icon);
    background: var(--white);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

/* ============ FAQ ACCORDION ============ */
.faq-accordion-container {
    margin-top: 24px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: var(--shadow-soft);
    border-color: rgba(7, 53, 144, 0.15);
}

.faq-item summary {
    padding: 22px 28px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item[open] summary {
    color: var(--primary);
}

.faq-item p {
    padding: 0 28px 22px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: faqSlideIn 0.25s ease-out;
}

@keyframes faqSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ SUMMARY ============ */
.summary-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #dde6f5 100%);
    border: 1px solid rgba(7, 53, 144, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
}

.summary-box h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.summary-box p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============ STICKY FOOTER ============ */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06);
    z-index: 999;
    border-top: 1px solid rgba(7, 53, 144, 0.1);
    display: none;
    animation: slideUp 0.35s ease-out;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content span {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.footer-content span strong {
    color: var(--primary);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ============ MAIN FOOTER ============ */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 80px;
}

/* ============ SCROLL ANIMATIONS ============ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children delay */
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.48s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.56s; }
.animate-on-scroll:nth-child(9) { transition-delay: 0.64s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .thresholds-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thresholds-grid::before {
        display: none;
    }

    .t-card.highlight {
        transform: none;
    }
}

@media (max-width: 968px) {
    .hero-layout,
    .main-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0 120px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-card {
        display: block;
        margin-top: 40px;
    }

    .contact-widget {
        padding: 24px;
    }

    .sidebar {
        display: none;
    }

    .content {
        padding: 28px;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
    }

    .bento-grid,
    .split-cards,
    .factors-grid {
        grid-template-columns: 1fr;
    }

    .thresholds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-block h2 {
        font-size: 1.5rem;
    }

    .step-item {
        gap: 14px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .step-item::after {
        left: 17px;
    }

    .step-content {
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    /* Mobile Sticky Footer */
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-content span {
        font-size: 0.92rem;
    }

    .sticky-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* Navbar */
    .logo {
        font-size: 1.2rem;
    }

    .navbar .btn-sm {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .thresholds-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .content {
        padding: 20px;
    }

    .bento-card {
        padding: 24px;
    }

    .rights-card {
        padding: 28px;
    }

    .checklist-box {
        padding: 28px;
    }

    .summary-box {
        padding: 28px;
    }
}
