/* VeinWiki - Clean, Modern Design */

:root {
    --primary: #5BAFCF;
    --primary-dark: #4A9BBB;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border: #e5e5e5;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 32px;
    width: auto;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

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

.mobile-nav a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
    color: var(--primary-dark);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg-dark);
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text);
}

.btn-white {
    background: #fff;
    color: var(--text);
}

.btn-white:hover {
    background: var(--bg-alt);
}

/* ========== HERO ========== */
.hero {
    padding: 140px 0 80px;
    background: var(--bg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero Card */
.hero-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.hero-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-card > p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.symptom-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chip {
    background: #fff;
    color: var(--text);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.chip:hover {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.card-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* ========== STATS ========== */
.stats {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats .container {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

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

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

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

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========== CARDS ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== TREATMENTS ========== */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.treatment {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.treatment:hover {
    box-shadow: var(--shadow);
}

.treatment h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.treatment p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.treatment-time {
    display: inline-block;
    background: var(--bg-alt);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
    max-width: 460px;
}

.cta-list {
    list-style: none;
    margin-bottom: 28px;
}

.cta-list li {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.cta-note {
    display: block;
    font-size: 13px;
    opacity: 0.5;
    margin-top: 12px;
}

/* Score Card */
.score-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--text);
}

.score-ring {
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.score-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
}

.score-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== FAQ ========== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
}

.faq-tag {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

/* ========== TRUST ========== */
.trust {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.trust .container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-alt);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-legal {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== ANIMATIONS ========== */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.card-grid .card:nth-child(2) { transition-delay: 0.1s; }
.card-grid .card:nth-child(3) { transition-delay: 0.2s; }
.treatment-grid .treatment:nth-child(2) { transition-delay: 0.1s; }
.treatment-grid .treatment:nth-child(3) { transition-delay: 0.2s; }
.treatment-grid .treatment:nth-child(4) { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-nav { display: block; }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 { font-size: 36px; }
    
    .hero-card {
        max-width: 400px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-content p { margin: 0 auto 24px; }
    .cta-visual { display: none; }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats .container {
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats .container {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat { flex: 1 1 100px; }
    .stat-number { font-size: 24px; }
    
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 24px; }
    
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    
    .trust .container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-content h2 { font-size: 28px; }
}

/* Logo sizing fix */
@media (max-width: 400px) {
    .logo img {
        height: 28px;
    }
    
    .header .container {
        height: 60px;
    }
    
    .hero { padding: 90px 0 50px; }
}
