/* === HERO (landing-specific) === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-bg .orb-1 {
    width: 600px; height: 600px;
    background: var(--accent-lime);
    top: -200px; right: -100px;
    opacity: 0.08;
}

.hero-bg .orb-2 {
    width: 400px; height: 400px;
    background: var(--accent-orange);
    bottom: -100px; left: -100px;
    opacity: 0.06;
}

.hero-bg .diagonal-line {
    position: absolute;
    top: 0; right: 15%;
    width: 1px; height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(204,255,0,0.1), transparent);
    transform: rotate(15deg);
    transform-origin: top;
}

.hero-bg .diagonal-line:nth-child(4) { right: 25%; opacity: 0.5; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    background: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent-lime);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease both;
}

.hero-badge .pulse {
    width: 8px; height: 8px;
    background: var(--accent-lime);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    color: var(--accent-lime);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em; left: 0; right: 0;
    height: 0.12em;
    background: var(--accent-lime);
    opacity: 0.3;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Search box */
.search-box {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    display: flex;
    gap: 0.3rem;
    max-width: 750px;
    animation: fadeInUp 0.8s ease 0.3s both;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus-within {
    border-color: rgba(204, 255, 0, 0.2);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.05);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: transparent;
    transition: background 0.2s;
    min-width: 0;
}

.search-field:hover { background: rgba(255,255,255,0.03); }

.search-field svg {
    width: 18px; height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-field input,
.search-field select {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    min-width: 0;
}

.search-field select { cursor: pointer; appearance: none; }
.search-field select option { background: var(--bg-surface-2); }
.search-field input::placeholder { color: var(--text-muted); }

.search-divider {
    width: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0.5rem 0;
}

.search-box .btn-primary {
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    flex-shrink: 0;
}

/* Stats bar */
.stats-bar {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Categories section */
.categories-section {
    background: var(--bg-surface);
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    padding: 8rem 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.category-card {
    background: var(--bg-surface-2);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--cat-color, var(--accent-lime)), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.category-card:hover::after { opacity: 0.06; }

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
    position: relative;
    z-index: 1;
}

.category-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.category-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card { position: relative; padding: 2rem; }

.step-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 4rem;
    color: rgba(204, 255, 0, 0.07);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector { display: none; }

@media (min-width: 900px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 3.5rem;
        right: -1.5rem;
        width: 3rem;
        height: 2px;
        background: linear-gradient(90deg, rgba(204,255,0,0.2), transparent);
    }
}

/* CTA */
.cta-section {
    background: var(--bg-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(204,255,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content .section-title {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-content .section-desc {
    max-width: 450px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .search-box { flex-direction: column; padding: 0.8rem; }
    .search-divider { width: 100%; height: 1px; margin: 0; }
    .search-box .btn-primary { width: 100%; justify-content: center; }
    .stats-bar { gap: 1.5rem; flex-wrap: wrap; }
    .categories-section { clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%); padding: 6rem 2rem; }
    .hero h1 { word-break: break-word; }
    .hero-content { overflow: hidden; }
    .section-inner { overflow: hidden; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
    .hero { padding: 7rem 1.2rem 3rem; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
}
