*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --black: #1d1d1f;
    --gray-900: #2d2d2f;
    --gray-700: #424245;
    --gray-500: #6e6e73;
    --gray-400: #86868b;
    --gray-200: #d2d2d7;
    --gray-100: #f5f5f7;
    --white: #ffffff;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --green: #34c759;
    --orange: #ff9500;
    --red: #ff3b30;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --max-w: 1080px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
    font-size: 17px;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--gray-400);
    transition: all var(--transition);
}

.nav-search:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.3);
}

.nav-search input {
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font);
    width: 140px;
    color: var(--black);
}

.nav-search input::placeholder {
    color: var(--gray-400);
}

/* Hero */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(17px, 2.5vw, 21px);
    color: var(--gray-500);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
}

.hero-ticker {
    overflow: hidden;
    border-radius: 100px;
    background: rgba(0,0,0,0.03);
    padding: 10px 0;
}

.ticker-track {
    display: flex;
    gap: 48px;
    animation: scroll 35s linear infinite;
    white-space: nowrap;
}

.ticker-track span {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections */
.section {
    padding: 100px 24px;
}

.section-gray {
    background: var(--gray-100);
}

.section-container {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--black);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
}

/* Sort Buttons */
.sort-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    background: rgba(0,0,0,0.05);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.sort-btn:hover {
    background: rgba(0,0,0,0.08);
}

.sort-btn.active {
    background: var(--black);
    color: var(--white);
}

/* Hustle Detail Cards */
.hustles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 24px;
}

.hustle-detail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hustle-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.hustle-summary {
    padding: 28px 32px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hustle-summary:hover {
    background: rgba(0,0,0,0.01);
}

.hustle-details {
    display: none;
    padding: 0 32px 32px;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--gray-100);
}

.hustle-detail-card.expanded .hustle-details {
    display: flex;
}

.hustle-detail-card.expanded .expand-hint {
    display: none;
}

.expand-hint {
    font-size: 13px;
    color: var(--gray-400);
    text-align: center;
    padding-top: 4px;
}

/* Risk badges */
.risk-low { background: rgba(52,199,89,0.1); color: #1a8a3e; }
.risk-med { background: rgba(255,149,0,0.1); color: #b36b00; }
.risk-high { background: rgba(255,59,48,0.1); color: var(--red); }

/* Trend badges */
.trend-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    vertical-align: middle;
    margin-left: 8px;
}

.trend-hot { background: rgba(255,59,48,0.08); color: var(--red); }
.trend-rising { background: rgba(0,113,227,0.08); color: var(--blue); }

/* Table extras */
.table-trend {
    font-size: 12px;
    font-weight: 500;
    margin-left: 6px;
}

.risk-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.hustle-header h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.hustle-tagline {
    font-size: 15px;
    color: var(--gray-500);
}

.hustle-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

.metric-icon {
    font-size: 14px;
}

.metric-time { background: rgba(0,113,227,0.08); color: var(--blue); }
.metric-cost { background: rgba(255,149,0,0.08); color: #b36b00; }
.metric-income { background: rgba(52,199,89,0.08); color: #1a8a3e; }
.metric-diff { background: var(--gray-100); color: var(--gray-700); }

.hustle-tools h4,
.hustle-steps h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    transition: all var(--transition);
}

.tool-chip:hover {
    background: rgba(0,113,227,0.08);
    color: var(--blue);
}

.tool-price {
    color: var(--gray-400);
    font-weight: 400;
}

.hustle-steps ol {
    padding-left: 20px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
}

.hustle-steps li {
    margin-bottom: 4px;
}

.income-source {
    font-size: 12px;
    color: var(--gray-400);
    font-style: italic;
}

.hustle-day-one {
    background: rgba(0,113,227,0.04);
    border: 1px solid rgba(0,113,227,0.12);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.hustle-day-one h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
    margin-bottom: 8px;
}

.hustle-day-one p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}

.hustle-risk {
    border-radius: 8px;
    padding: 12px 16px;
    line-height: 1.5;
}

.hustle-risk h4,
.hustle-mitigation h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hustle-risk {
    background: rgba(255,59,48,0.05);
}

.hustle-risk h4 {
    color: var(--red);
}

.hustle-risk p {
    font-size: 13px;
    color: var(--red);
}

.hustle-mitigation {
    background: rgba(52,199,89,0.05);
    border-radius: 8px;
    padding: 12px 16px;
    line-height: 1.5;
}

.hustle-mitigation h4 {
    color: #1a8a3e;
}

.hustle-mitigation p {
    font-size: 13px;
    color: var(--gray-700);
}

.hustle-case {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.case-result {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
}

.case-detail {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 8px;
}

.case-source {
    font-size: 12px;
    color: var(--blue);
    text-decoration: none;
}

.case-source:hover {
    text-decoration: underline;
}

.hustle-video {
    margin-top: auto;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.video-link:hover {
    background: var(--gray-900);
    transform: scale(1.02);
}

.video-play {
    font-size: 11px;
}

/* Tool Directory Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
    color: var(--black);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.tool-card-name {
    font-size: 15px;
    font-weight: 600;
}

.tool-card-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--blue);
}

.tool-card-use {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    background: rgba(0,0,0,0.05);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.tab:hover {
    background: rgba(0,0,0,0.08);
}

.tab.active {
    background: var(--black);
    color: var(--white);
}


/* Creator Cards */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.creator-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.creator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.creator-thumb {
    aspect-ratio: 16/9;
    background: var(--gray-100);
    overflow: hidden;
    position: relative;
}

.creator-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.creator-card:hover .creator-thumb img {
    transform: scale(1.03);
}

.creator-thumb .thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
}

.creator-body {
    padding: 24px;
}

.creator-body h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    line-height: 1.4;
}

.creator-meta {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.creator-summary {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 16px;
}

.creator-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    color: var(--blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.creator-btn:hover {
    border-color: var(--blue);
    background: rgba(0,113,227,0.04);
}

/* Ad Slots */
.ad-slot {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

/* Success Stories */
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.success-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.success-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.success-card .company-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.success-card .founders {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.success-card .story {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.success-card .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.success-card .metric {
    background: var(--gray-100);
    border-radius: 8px;
    padding: 12px;
}

.success-card .metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.success-card .metric-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.success-card .highlight {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    padding: 8px 12px;
    background: rgba(0,113,227,0.06);
    border-radius: 8px;
    margin-bottom: 12px;
}

.success-card .source-link {
    font-size: 13px;
    color: var(--blue);
    text-decoration: none;
}

.success-card .source-link:hover {
    text-decoration: underline;
}

.ad-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Newsletter */
.newsletter-section {
    background: var(--black);
    padding: 80px 24px;
}

.newsletter-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.newsletter-desc {
    color: var(--gray-400);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.newsletter-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 16px;
}

.newsletter-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

.newsletter-note {
    color: var(--gray-500);
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.4rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-100);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 64px 24px 32px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--black);
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-col a {
    color: var(--blue);
    text-decoration: none;
}

.footer-contact {
    margin-top: 8px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-400);
}

/* Quiz / Interactive Recommendation */
.quiz-container {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.quiz-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.quiz-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quiz-option {
    padding: 10px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.quiz-option:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.quiz-option.selected {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

#quizResults h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.quiz-matches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-match {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--black);
    transition: all var(--transition);
}

.quiz-match:hover {
    background: rgba(0,113,227,0.06);
    transform: translateX(4px);
}

.match-rank {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    min-width: 32px;
}

.match-name {
    font-weight: 600;
    font-size: 15px;
}

.match-meta {
    margin-left: auto;
    font-size: 13px;
    color: var(--gray-500);
}

/* Compare Table */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th {
    background: var(--black);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: rgba(0,113,227,0.03);
}

.compare-table td strong {
    color: var(--black);
    font-weight: 600;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-search input {
        width: 100px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .section {
        padding: 64px 20px;
    }

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

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

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

    .tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hustle-detail-card {
        padding: 24px;
    }
}
