/* ══════════════════════════════════════════════════════════════════════════════
   🎨 PREMIUM DESIGN SYSTEM - SaaS Premium Style (Stripe-inspired)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   1. CSS VARIABLES - Design Tokens
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Premium Colors */
    --premium-bg: #fafbfc;
    --premium-surface: #ffffff;
    --premium-border: #e5e7eb;
    --premium-border-light: #f3f4f6;

    /* Gradient Accents */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-subtle: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
    --gradient-glow: linear-gradient(180deg, rgba(79, 70, 229, 0.08) 0%, transparent 100%);

    /* Premium Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-glow-indigo: 0 0 60px -15px rgba(79, 70, 229, 0.25);
    --shadow-glow-violet: 0 0 80px -20px rgba(139, 92, 246, 0.20);

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;

    /* Layout */
    --container-max: 1400px;
    --container-content: 1200px;
    --hero-min-height: calc(100vh - 80px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   2. BODY & GLOBAL RESETS
   ═══════════════════════════════════════════════════════════════════════════════ */
body {
    background: var(--premium-bg);
    background-image: var(--gradient-glow);
    background-attachment: fixed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. PREMIUM HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--premium-border-light);
    padding: var(--space-md) 0;
    box-shadow: none;
}

.header .container {
    max-width: var(--container-max);
}

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
}

.header-buttons .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
}

.header-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-sm);
}

.header-buttons .btn-secondary {
    background: transparent;
    border: 1px solid var(--premium-border);
    color: var(--text-muted);
}

.header-buttons .btn-secondary:hover {
    background: var(--premium-surface);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. HERO SECTION (Desktop-First, Full Viewport)
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero-modern {
    min-height: var(--hero-min-height);
    padding: var(--space-3xl) var(--space-lg);
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-modern .container {
    max-width: var(--container-max);
    width: 100%;
}

/* Desktop Split Layout - Asymmetric 55/45 */
@media (min-width: 1024px) {
    .hero-split-layout {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
        gap: var(--space-4xl);
        max-width: var(--container-max);
    }

    .hero-text-content {
        padding-right: var(--space-2xl);
    }
}

/* Hero Title - Massive & Gradient */
.hero-modern h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 50%, #7c3aed 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: var(--space-xl);
}

/* Badge */
.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

/* Hero Benefits */
.hero-benefits {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-xl);
}

@media (max-width: 640px) {
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    color: var(--text-main);
}

.check-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Trust Badge Modern */
.trust-badge-container {
    margin-top: var(--space-xl);
}

.trust-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--premium-border);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.trust-badge svg {
    color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   5. CALCULATOR - Premium Glass Effect
   ═══════════════════════════════════════════════════════════════════════════════ */
.calculator-glass {
    background: var(--premium-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow:
        var(--shadow-lg),
        var(--shadow-glow-indigo),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 520px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.calculator-glass:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        var(--shadow-glow-violet),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   6. RATE PILLS - Modern Segment Control
   ═══════════════════════════════════════════════════════════════════════════════ */
.rate-pills {
    display: flex;
    justify-content: stretch;
    gap: 0.25rem;
    flex-wrap: nowrap;
    margin-bottom: var(--space-xl);
    background: var(--premium-bg);
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--premium-border-light);
}

.pill {
    flex: 1;
    justify-content: center;
    padding: 0.7rem 0.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: none;
    white-space: nowrap;
}

.pill span[style*="border-radius:50%"] {
    display: none;
}

.rate-pills input:checked+.pill {
    background: var(--premium-surface);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: none;
}

.pill:hover {
    color: var(--text-main);
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   7. INPUT FIELDS - Premium Style
   ═══════════════════════════════════════════════════════════════════════════════ */
.input-glass .input-group {
    margin-bottom: var(--space-lg);
}

.input-glass label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.input-glass input {
    background: var(--premium-bg);
    border: 2px solid var(--premium-border-light);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.input-glass input:focus {
    border-color: var(--primary-color);
    background: var(--premium-surface);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.input-glass input::placeholder {
    color: var(--text-light);
}

.currency-symbol {
    color: var(--text-light);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   8. RESULT BOX - Premium Highlight
   ═══════════════════════════════════════════════════════════════════════════════ */
.calculator-glass .result-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    text-align: center;
}

.calculator-glass .result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calculator-glass .result-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calculator-glass .copy-tva-btn {
    margin-top: var(--space-md);
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.calculator-glass .copy-tva-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   9. SOCIAL PROOF SECTION - Minimalist
   ═══════════════════════════════════════════════════════════════════════════════ */
.social-proof-section {
    text-align: center;
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--premium-border-light);
    border-bottom: 1px solid var(--premium-border-light);
    background: var(--premium-surface);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   10. TVA SEO BOX - Premium Card
   ═══════════════════════════════════════════════════════════════════════════════ */
.tva-seo-box {
    background: var(--premium-surface);
    border: 1px solid var(--premium-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-sm);
    margin: var(--space-4xl) auto;
    max-width: var(--container-content);
}

.tva-seo-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.tva-seo-badge {
    display: inline-block;
    background: var(--gradient-subtle);
    color: var(--text-main);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--premium-border);
}

.tva-seo-formulas p {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   11. FEATURES GRID - Modern Cards
   ═══════════════════════════════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--premium-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--premium-border-light);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--premium-border);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   12. ARTICLE SECTIONS - Clean Layout
   ═══════════════════════════════════════════════════════════════════════════════ */
.article {
    background: var(--premium-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--premium-border-light);
    box-shadow: var(--shadow-xs);
}

.article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    margin-top: 0;
    margin-bottom: var(--space-lg);
}

.example-box {
    background: var(--gradient-subtle);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--primary-color);
}

.example-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.example-box code {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.2em 0.5em;
    border-radius: var(--radius-xs);
    font-size: 0.9em;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   13. EXAMPLES TABLE - Premium Style
   ═══════════════════════════════════════════════════════════════════════════════ */
.tva-examples {
    background: var(--premium-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--premium-border);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.tva-ex-row {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--premium-border-light);
    transition: background 0.2s ease;
}

.tva-ex-row:hover {
    background: var(--premium-bg);
}

.tva-ex-rate {
    background: var(--gradient-subtle);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    min-width: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   14. RATES TABLE - Clean Design
   ═══════════════════════════════════════════════════════════════════════════════ */
.rates-table {
    background: var(--premium-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--premium-border);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.rates-table table {
    width: 100%;
    border-collapse: collapse;
}

.rates-table th {
    background: var(--premium-bg);
    padding: var(--space-md) var(--space-lg);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--premium-border);
}

.rates-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--premium-border-light);
    vertical-align: top;
}

.rates-table .rate-percent {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.rates-table .table-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   15. GUIDES GRID - Premium Cards
   ═══════════════════════════════════════════════════════════════════════════════ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    /* Tighter gap */
    margin-top: var(--space-lg);
}

@media (max-width: 1200px) {
    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
}

.guide-card {
    background: var(--premium-surface);
    padding: var(--space-lg);
    /* Reduced from xl */
    border-radius: var(--radius-md);
    /* Slightly tighter radius */
    border: 1px solid var(--premium-border-light);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.guide-icon {
    width: 36px;
    /* Smaller icon container */
    height: 36px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    /* Tighter margin */
    color: var(--primary-color);
}

.guide-card h3 {
    font-size: 1rem;
    /* Slightly smaller title */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.guide-card p {
    font-size: 0.85rem;
    /* Smaller body text */
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.guide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.guide-arrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(79, 70, 229, 0.05);
    /* Subtle pill bg */
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    margin-top: auto;
    /* Push to bottom */
    align-self: flex-start;
    /* Align left */
}

.guide-card:hover .guide-arrow {
    background: var(--primary-color);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   16. FAQ SECTION - Modern Accordion
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq-section {
    max-width: var(--container-content);
    margin: var(--space-4xl) auto;
    padding: 0 var(--space-lg);
}

.faq-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.faq-item {
    background: var(--premium-surface);
    border: 1px solid var(--premium-border-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: all 0.2s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--premium-border);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   17. FOOTER - Clean Minimal
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--premium-surface);
    border-top: 1px solid var(--premium-border);
    padding: var(--space-3xl) 0 var(--space-2xl);
    margin-top: var(--space-4xl);
}

.footer .container {
    max-width: var(--container-max);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   18. CONTAINER OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════════ */
.container {
    max-width: var(--container-content);
    padding: 0 var(--space-lg);
}

/* Wider sections */
section.container[style*="margin-top"] {
    max-width: var(--container-content);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   19. MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --hero-min-height: auto;
    }

    .hero-modern {
        min-height: auto;
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-modern h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        max-width: 100%;
    }

    .badge-new {
        justify-content: center;
        width: 100%;
    }

    .hero-benefits {
        align-items: center;
    }

    .hero-benefits li {
        justify-content: flex-start;
        text-align: left;
    }

    .trust-badge-container {
        justify-content: center !important;
    }

    .calculator-glass {
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .rate-pills {
        gap: 0.35rem;
    }

    .pill {
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
    }

    .input-glass input {
        font-size: 1.25rem;
        padding: 0.85rem 1rem;
    }

    .calculator-glass .result-value {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   20. ANIMATIONS & MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entry {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered delays - MUST include animation name */
.delay-1 {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.delay-2 {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.delay-3 {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.delay-4 {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.5);
    outline-offset: 2px;
}