/* ============================================================
   AMZ Rankx – Stylesheet
   ============================================================
   Farbschema: Navy (#0f172a) + Orange (#f59e0b) Akzente
   Fonts: Outfit (Display) + Source Sans 3 (Body)
   ============================================================ */

/* ──────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Light Theme = Default)
   ────────────────────────────────────────── */
:root,
[data-theme="light"] {
    /* Primary Palette */
    --color-navy-950:    #020617;
    --color-navy-900:    #0f172a;
    --color-navy-800:    #1e293b;
    --color-navy-700:    #334155;
    --color-navy-600:    #475569;
    --color-navy-500:    #64748b;
    --color-navy-400:    #94a3b8;
    --color-navy-300:    #cbd5e1;
    --color-navy-200:    #e2e8f0;
    --color-navy-100:    #f1f5f9;
    --color-navy-50:     #f8fafc;

    /* Accent */
    --color-accent:      #f59e0b;
    --color-accent-hover:#d97706;
    --color-accent-light:#fef3c7;
    --color-accent-glow: rgba(245, 158, 11, 0.15);

    /* Success / Status */
    --color-success:     #10b981;
    --color-success-bg:  #ecfdf5;
    --color-warning:     #f59e0b;
    --color-warning-bg:  #fffbeb;

    /* Semantic */
    --bg-body:           #f8fafc;
    --bg-surface:        #ffffff;
    --bg-surface-hover:  #f1f5f9;
    --bg-surface-raised: #ffffff;
    --bg-hero:           linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --bg-card:           #ffffff;
    --bg-card-hover:     #f8fafc;
    --bg-input:          #ffffff;
    --bg-nav:            rgba(255, 255, 255, 0.92);
    --bg-footer:         #0f172a;
    --bg-dropdown:       #ffffff;
    --bg-badge-soon:     #f1f5f9;
    --bg-badge-active:   #ecfdf5;
    --bg-coming-soon:    rgba(148, 163, 184, 0.08);

    --text-primary:      #0f172a;
    --text-secondary:    #475569;
    --text-tertiary:     #94a3b8;
    --text-inverse:      #f8fafc;
    --text-accent:       #d97706;
    --text-badge-soon:   #64748b;
    --text-badge-active: #059669;

    --border-color:      #e2e8f0;
    --border-light:      #f1f5f9;
    --border-input:      #cbd5e1;
    --border-input-focus:#f59e0b;

    --shadow-sm:         0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md:         0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg:         0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px rgba(15, 23, 42, 0.03);
    --shadow-xl:         0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px rgba(15, 23, 42, 0.04);
    --shadow-nav:        0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
    --shadow-glow:       0 0 20px var(--color-accent-glow);

    --nav-height:        68px;

    /* Category Card Inactive Overlay */
    --inactive-opacity:  0.55;
}

/* ──────────────────────────────────────────
   DARK THEME
   ────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-body:           #0c1222;
    --bg-surface:        #151d2e;
    --bg-surface-hover:  #1a2540;
    --bg-surface-raised: #1e293b;
    --bg-hero:           linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
    --bg-card:           #151d2e;
    --bg-card-hover:     #1a2540;
    --bg-input:          #1e293b;
    --bg-nav:            rgba(12, 18, 34, 0.95);
    --bg-footer:         #020617;
    --bg-dropdown:       #1e293b;
    --bg-badge-soon:     #1e293b;
    --bg-badge-active:   rgba(16, 185, 129, 0.12);
    --bg-coming-soon:    rgba(148, 163, 184, 0.04);

    --text-primary:      #e2e8f0;
    --text-secondary:    #94a3b8;
    --text-tertiary:     #64748b;
    --text-inverse:      #0f172a;
    --text-accent:       #f59e0b;
    --text-badge-soon:   #94a3b8;
    --text-badge-active: #34d399;

    --border-color:      #1e293b;
    --border-light:      #1e293b;
    --border-input:      #334155;
    --border-input-focus:#f59e0b;

    --shadow-sm:         0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md:         0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg:         0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl:         0 20px 25px rgba(0, 0, 0, 0.4);
    --shadow-nav:        0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.5);
    --shadow-glow:       0 0 30px rgba(245, 158, 11, 0.12);

    --inactive-opacity:  0.4;
}

/* ──────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    display: block;
}

/* ──────────────────────────────────────────
   UTILITIES
   ────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ──────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--color-accent);
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}
.btn-ghost:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
    border-color: var(--color-navy-400);
}

.btn-outline-accent {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}
.btn-outline-accent:hover {
    background: var(--color-accent);
    color: #0f172a;
}

.btn-sm {
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 8px;
}

.btn-lg {
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 12px;
}

/* ──────────────────────────────────────────
   BADGES
   ────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.badge-soon {
    background: var(--bg-badge-soon);
    color: var(--text-badge-soon);
}

.badge-active {
    background: var(--bg-badge-active);
    color: var(--text-badge-active);
}

.badge-sm {
    font-size: 9px;
    padding: 3px 7px;
}

/* ──────────────────────────────────────────
   NAVBAR
   ────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-nav);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    border-radius: 9px;
    color: #0f172a;
}
.nav-logo-icon svg {
    width: 20px;
    height: 20px;
}

.nav-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.nav-logo-text strong {
    font-weight: 800;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}
.nav-link.active {
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

.nav-link-icon {
    width: 16px;
    height: 16px;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
}

.nav-dropdown-right {
    left: auto;
    right: 0;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

.nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.15s ease;
}
.nav-dropdown-item:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}
.nav-dropdown-item.is-inactive {
    opacity: 0.5;
}
.nav-dropdown-item .badge {
    margin-left: auto;
}

.nav-dropdown-icon {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}
.nav-action-btn:hover {
    background: var(--bg-surface-hover);
    border-color: var(--color-navy-400);
    color: var(--text-primary);
}
.nav-action-btn svg {
    width: 18px;
    height: 18px;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-code {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Theme Toggle Icons */
.theme-icon-dark  { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark  { display: block; }

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
}
.nav-mobile-toggle svg {
    width: 20px;
    height: 20px;
}
.mobile-icon-close { display: none; }
.nav-mobile-toggle.is-open .mobile-icon-open  { display: none; }
.nav-mobile-toggle.is-open .mobile-icon-close  { display: block; }

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 24px 24px;
    background: var(--bg-nav);
    border-top: 1px solid var(--border-color);
}
.nav-mobile-menu.is-open {
    display: flex;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}
.nav-mobile-link.is-inactive {
    opacity: 0.5;
}

.nav-mobile-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

/* ──────────────────────────────────────────
   MAIN CONTENT
   ────────────────────────────────────────── */
.main-content {
    flex: 1;
    padding-top: var(--nav-height);
}

/* ──────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────── */
.hero {
    background: var(--bg-hero);
    padding: 80px 0 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial glow */
.hero::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero h1 .accent {
    color: var(--color-accent);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-ghost {
    color: #cbd5e1;
    border-color: #334155;
}
.hero .btn-ghost:hover {
    color: #f8fafc;
    border-color: #64748b;
    background: rgba(255, 255, 255, 0.05);
}

/* ──────────────────────────────────────────
   CATEGORY GRID
   ────────────────────────────────────────── */
.categories-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
    color: var(--text-primary);
}

.category-card:hover::before {
    transform: scaleX(1);
}

/* Inactive Card */
.category-card.is-inactive {
    opacity: var(--inactive-opacity);
    background: var(--bg-coming-soon);
}
.category-card.is-inactive:hover {
    opacity: 0.75;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.category-card.is-inactive:hover::before {
    background: var(--color-navy-400);
    transform: scaleX(1);
}

.category-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-accent-glow);
    border-radius: 14px;
    margin-bottom: 18px;
    color: var(--color-accent);
}
.category-card-icon svg {
    width: 24px;
    height: 24px;
}

.is-inactive .category-card-icon {
    background: var(--bg-surface-hover);
    color: var(--text-tertiary);
}

.category-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.category-card-stats {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.category-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-surface-hover);
    color: var(--text-tertiary);
    transition: all 0.2s ease;
}
.category-card-arrow svg {
    width: 16px;
    height: 16px;
}

.category-card:hover .category-card-arrow {
    background: var(--color-accent);
    color: #0f172a;
    transform: translateX(2px);
}

/* ──────────────────────────────────────────
   FEATURES SECTION
   ────────────────────────────────────────── */
.features-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}
.feature-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-accent-glow);
    border-radius: 12px;
    color: var(--color-accent);
}
.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ──────────────────────────────────────────
   WORKFLOW SECTION
   ────────────────────────────────────────── */
.workflow-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* Connecting line */
.workflow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-navy-400), var(--color-accent));
    opacity: 0.3;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--color-accent);
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.workflow-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ──────────────────────────────────────────
   CATEGORY DETAIL PAGE
   ────────────────────────────────────────── */
.page-header {
    padding: 40px 0 32px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-tertiary);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    font-size: 12px;
}

.page-header-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-accent-glow);
    border-radius: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}
.page-header-icon svg {
    width: 28px;
    height: 28px;
}

.page-header-text h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.page-header-text p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Tool Cards Grid */
.tools-section {
    padding: 40px 0 80px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tool-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.tool-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.tool-card.is-inactive {
    opacity: var(--inactive-opacity);
    cursor: default;
}
.tool-card.is-inactive:hover {
    opacity: 0.65;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.tool-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--color-accent-glow);
    border-radius: 12px;
    color: var(--color-accent);
}
.tool-card-icon svg {
    width: 20px;
    height: 20px;
}

.is-inactive .tool-card-icon {
    background: var(--bg-surface-hover);
    color: var(--text-tertiary);
}

.tool-card-content {
    flex: 1;
}

.tool-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tool-card-action {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}
.tool-card-action svg {
    width: 14px;
    height: 14px;
}

.is-inactive .tool-card-action {
    color: var(--text-tertiary);
}

/* ──────────────────────────────────────────
   LOGIN / REGISTER PAGES
   ────────────────────────────────────────── */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height) - 80px);
    padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-coming-soon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--color-accent-glow);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-accent);
}
.auth-coming-soon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1.5px solid var(--border-input);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}
.form-input:focus {
    border-color: var(--border-input-focus);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-footer a {
    font-weight: 600;
}

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
    background: var(--bg-footer);
    color: #94a3b8;
    padding: 60px 0 32px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f8fafc;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    color: #475569;
}

.footer-version {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #334155;
}

/* ──────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────── */

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

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-actions .btn {
        display: none;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .nav-container {
        gap: 12px;
    }

    .hero {
        padding: 48px 0 56px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-desc {
        font-size: 15px;
    }

    .section {
        padding: 48px 0;
    }
    .section-header h2 {
        font-size: 26px;
    }
    .categories-section,
    .features-section,
    .workflow-section {
        padding: 48px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .workflow-steps::before {
        display: none;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .page-header-content {
        flex-direction: column;
    }

    .auth-card {
        padding: 28px 24px;
    }
}

/* ──────────────────────────────────────────
   ANIMATIONS
   ────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
