/* Adobe Typekit - Aktiv Grotesk Extended */
@import url('https://use.typekit.net/gom4uqy.css');

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Light theme tokens */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F8F8;
    --color-text-primary: #111111;
    --color-text-body: #555555;
    --color-text-muted: #888888;
    --color-border: #E8E8E8;
    --color-border-light: #F0F0F0;
    --color-accent: #EC0855;
    --color-accent-light: #FCE8EF;
    --color-header-bg: #0D0D0D;
    --color-footer-bg: #272727;
    --color-hero-gradient-start: #0D0D0D;
    --color-hero-gradient-end: #2e1a22;
    --color-surface-dark: rgba(13, 13, 13, 0.95);

    --font-family: aktiv-grotesk-extended, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --header-height: 72px;
    --content-max-width: 1100px;
    --content-padding: 64px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body > .footer {
    margin-top: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--content-padding);
    height: var(--header-height);
    max-width: 1600px;
    margin: 0 auto;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--color-surface-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 28px;
    width: auto;
}

.header-divider {
    color: #555;
    font-size: 18px;
    font-weight: 300;
    user-select: none;
}

.header-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav-link:hover {
    color: #FFFFFF;
}

.header-premium-link {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.header-premium-link:hover {
    opacity: 0.7;
}

/* ========== MOBILE MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hamburger → X transition */
.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-inner {
    padding: 8px var(--content-padding) 16px;
}

.mobile-menu-link {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

.mobile-menu-link:hover {
    color: #FFFFFF;
}

.mobile-menu-link--premium {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* ========== HERO ========== */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(160deg, var(--color-hero-gradient-start) 0%, var(--color-hero-gradient-end) 60%, #2e141e 100%);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(236, 8, 85, 0.2) 100%);
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 36px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ========== SEARCH ========== */
.search-container {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: var(--font-family);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.search-icon {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Search results dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    z-index: 50;
    max-height: 360px;
}

.search-results.is-visible {
    display: block;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: var(--color-text-primary);
    text-align: left;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--color-bg-alt);
}

.search-result-question {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.search-result-category {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    margin-left: 16px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ========== CATEGORY CARDS ========== */
.categories {
    padding: 60px var(--content-padding);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--color-accent);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.category-description {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ========== CATEGORY PAGE TITLE AREA ========== */
.page-title-area {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 48px var(--content-padding);
    padding-top: calc(var(--header-height) + 48px);
    position: relative;
}

.page-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(236, 8, 85, 0.2) 100%);
}

.page-title-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    margin: 0 8px;
}

.page-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.page-description {
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.5;
}

/* ========== FAQ ACCORDION ========== */
.faq-section {
    max-width: calc(var(--content-max-width) + 2 * var(--content-padding));
    margin: 0 auto;
    padding: 32px var(--content-padding) 48px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: left;
    line-height: 1.4;
    gap: 20px;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #CCC;
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 0 28px;
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.7;
}

.faq-answer-inner a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
    color: var(--color-text-primary);
}

/* ========== NEED HELP CTA ========== */
.need-help {
    background: var(--color-header-bg);
    text-align: center;
    padding: 72px var(--content-padding);
}

.need-help-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.need-help-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #FFFFFF;
    color: var(--color-header-bg);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.need-help-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 60px var(--content-padding);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px 32px;
}

.contact-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.contact-card-description {
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-card-description a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-card-description a:hover {
    color: var(--color-text-primary);
}

.contact-card-email {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.contact-card-email:hover {
    color: var(--color-text-primary);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-footer-bg);
    padding: 80px var(--content-padding) 60px;
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand-name {
    font-size: 40px;
    font-weight: 900;
    color: #e9e9e9;
    margin-bottom: 12px;
}

.footer-brand-tagline {
    font-size: 16px;
    font-weight: 400;
    color: #959697;
    line-height: 1.9;
    max-width: 910px;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 40px;
    height: 40px;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --content-padding: 40px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --content-padding: 24px;
        --header-height: 60px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }

    .categories {
        padding: 40px var(--content-padding);
    }

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

    .category-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
        gap: 16px;
    }

    .category-icon {
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 0;
    }

    .faq-answer-inner {
        font-size: 14px;
    }

    .page-title-area {
        padding: 32px var(--content-padding);
        padding-top: calc(var(--header-height) + 32px);
    }

    .footer {
        padding: 60px var(--content-padding) 48px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-brand-name {
        font-size: 32px;
    }

    .footer-social {
        align-self: flex-end;
    }

    .footer-social img {
        width: 32px;
        height: 32px;
    }

    .need-help {
        padding: 36px var(--content-padding);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 32px 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
