/* ==========================================================================
   A2J SUITES — Design System
   Legal Aid Technology Platform
   Brand Brief: Principled · Accessible · Dependable · Forward-thinking · Civic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    /* Primary palette */
    --forest: #1B4332;
    --forest-medium: #2D6A4F;
    --forest-light: #40916C;
    --forest-pale: #D8F3DC;

    /* Accent palette */
    --gold: #D4A03C;
    --gold-dark: #B8860B;
    --gold-light: #F0D78C;
    --gold-pale: #FDF8EC;

    /* Neutrals */
    --ivory: #FDFCF8;
    --surface: #F5F2EC;
    --border: #E0DDD5;
    --border-light: #EDEAE3;
    --text: #1A1A2E;
    --text-secondary: #5A5A6A;
    --text-muted: #8A8A9A;
    --white: #FFFFFF;

    /* Semantic */
    --success: #2E8B57;
    --error: #C53030;
    --info: #2B6CB0;
    --warning: #D69E2E;

    /* Gradients */
    --gradient-hero: linear-gradient(145deg, #1B4332 0%, #2D6A4F 50%, #1B4332 100%);
    --gradient-gold: linear-gradient(135deg, #D4A03C 0%, #F0D78C 100%);
    --gradient-card: linear-gradient(180deg, rgba(27, 67, 50, 0.03) 0%, rgba(212, 160, 60, 0.03) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 26, 46, 0.10);
    --shadow-xl: 0 16px 50px rgba(26, 26, 46, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 160, 60, 0.20);
    --shadow-float: 0 20px 60px rgba(27, 67, 50, 0.15);

    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-lg: 0.5s;
}

/* ---------- 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: var(--font-body);
    color: var(--text);
    background-color: var(--ivory);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--forest-medium);
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

a:hover {
    color: var(--gold-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.2;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul,
ol {
    padding-left: 1.5rem;
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title {
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--forest-medium);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--text);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 160, 60, 0.35);
    color: var(--text);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(253, 252, 248, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all var(--duration) var(--ease-out);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-brand img {
    width: 36px;
    height: 36px;
}

.navbar-brand span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--forest);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--duration) var(--ease-out);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width var(--duration) var(--ease-out);
}

.navbar-links a:hover {
    color: var(--forest);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(27, 67, 50, 0.88) 0%,
            rgba(45, 106, 79, 0.80) 40%,
            rgba(27, 67, 50, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 6rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.hero-content h1 .gold-text {
    color: var(--gold-light);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-decor {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 60, 0.12);
    z-index: 1;
}

.hero-decor::before {
    content: '';
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 60, 0.08);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--forest);
    padding: 3.5rem 0;
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-light);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* ---------- Feature Cards ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all var(--duration-lg) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--forest-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
}

.feature-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- How It Works ---------- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--duration) var(--ease-out);
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-float);
}

.step-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.about-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.about-meta-item {
    text-align: center;
}

.about-meta-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--forest);
}

.about-meta-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--duration) var(--ease-out);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--forest-pale);
    color: var(--forest);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-card h4 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.team-card p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ---------- Communication Transparency ---------- */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.transparency-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    position: relative;
}

.transparency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    background: var(--gradient-gold);
}

.transparency-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transparency-card ul {
    list-style: none;
    padding: 0;
}

.transparency-card li {
    padding: 0.35rem 0;
    font-size: 0.93rem;
    color: var(--text-secondary);
    padding-left: 1.3rem;
    position: relative;
}

.transparency-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ---------- Infrastructure Cards ---------- */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.infra-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    text-align: center;
    transition: all var(--duration) var(--ease-out);
}

.infra-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.infra-card .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.infra-card h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.infra-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- Email Practices ---------- */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.practice-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--duration) var(--ease-out);
}

.practice-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--gold-light);
}

.practice-item .icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.practice-item h4 {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.practice-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ---------- Subscribe Section ---------- */
.subscribe-section {
    padding: 5rem 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.subscribe-decor-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 60, 0.10);
    top: -200px;
    right: -150px;
    pointer-events: none;
}

.subscribe-decor-ring--sm {
    width: 300px;
    height: 300px;
    top: auto;
    bottom: -100px;
    right: auto;
    left: -80px;
    border-color: rgba(27, 67, 50, 0.08);
}

.subscribe-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.subscribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.subscribe-content {
    text-align: center;
}

.subscribe-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--forest-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.subscribe-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 0.8rem;
    color: var(--text);
}

.subscribe-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.subscribe-input-wrapper {
    flex: 1;
    position: relative;
}

.subscribe-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--duration) var(--ease-out);
}

.subscribe-input-wrapper input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    outline: none;
    transition: all var(--duration) var(--ease-out);
}

.subscribe-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.subscribe-input-wrapper input:focus {
    border-color: var(--forest-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}

.subscribe-input-wrapper input:focus~.subscribe-input-icon,
.subscribe-input-wrapper:focus-within .subscribe-input-icon {
    color: var(--forest-light);
}

.subscribe-btn {
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.subscribe-btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--duration) var(--ease-out);
}

.subscribe-btn:hover .subscribe-btn-arrow {
    transform: translateX(3px);
}

.subscribe-consent {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.subscribe-consent a {
    color: var(--forest-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.subscribe-consent a:hover {
    color: var(--gold-dark);
}

/* Subscribe success state */
.subscribe-success {
    display: none;
    text-align: center;
    padding: 1rem 0;
}

.subscribe-success.visible {
    display: block;
    animation: fadeInUp 0.5s var(--ease-out);
}

.subscribe-success-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.subscribe-success h3 {
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 0.4rem;
}

.subscribe-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subscribe features row */
.subscribe-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.subscribe-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
}

.subscribe-feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.subscribe-feature strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.subscribe-feature span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--gradient-hero);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 60, 0.08);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    margin-top: 0.8rem;
    line-height: 1.6;
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    transition: color var(--duration) var(--ease-out);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding: 1.2rem 2rem;
    z-index: 9999;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-inner p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    flex: 1;
}

.cookie-inner p a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-accept {
    background: var(--gold);
    color: var(--text);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
}

.cookie-accept:hover {
    background: var(--gold-dark);
    color: var(--white);
}

/* ---------- Legal Pages ---------- */
.legal-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 4rem;
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.legal-hero .date {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.legal-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.legal-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--forest-medium);
    font-weight: 500;
    margin-bottom: 2rem;
}

.legal-content .back-link:hover {
    color: var(--gold-dark);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: var(--forest-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--gold-dark);
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-content .highlight-box {
    background: var(--gold-pale);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-content .highlight-box p {
    margin-bottom: 0;
    color: var(--text);
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 0.93rem;
}

.contact-card a {
    color: var(--forest-medium);
    font-weight: 500;
}

/* ---------- Notification Preferences ---------- */
.pref-category {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    margin-bottom: 1.5rem;
}

.pref-category h3 {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pref-item:last-child {
    border-bottom: none;
}

.pref-info h4 {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.pref-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.pref-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pref-badge.required {
    background: var(--forest-pale);
    color: var(--forest);
}

.pref-badge.optional {
    background: var(--gold-pale);
    color: var(--gold-dark);
}

/* ---------- 404 Page ---------- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--surface);
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 15vw, 10rem);
    color: var(--forest-pale);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-page h1 {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.error-page p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Trust Cards ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.trust-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--duration) var(--ease-out);
}

.trust-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust-card .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.trust-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trust-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.1s;
}

.stagger-3 {
    transition-delay: 0.15s;
}

.stagger-4 {
    transition-delay: 0.2s;
}

.stagger-5 {
    transition-delay: 0.25s;
}

.stagger-6 {
    transition-delay: 0.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-decor {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .transparency-grid {
        grid-template-columns: 1fr;
    }

    .infra-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .subscribe-card {
        padding: 2.2rem 1.5rem;
    }

    .subscribe-input-group {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }

    .subscribe-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .infra-grid {
        grid-template-columns: 1fr;
    }

    .about-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }
}