/* Modern Landing Page Design - Inspired by Linear, Vercel, Stripe */

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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --accent: #0066ff;
    --accent-hover: #0052cc;
    --border: #e5e5e5;
    --shadow: rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Site Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.header-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--text-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    background: #111;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0a0a0a 0%, #404040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    text-align: center;
}

.hero-stats div {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.stat-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Ad Container */
.ad-container {
    max-width: 728px;
    margin: 60px auto;
    text-align: center;
}

.ad-placeholder {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.ad-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Tools Section */
.tools-section {
    padding: 60px 0;
}

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

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card.active {
    cursor: pointer;
    border-color: var(--accent);
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.tool-card.active:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
}

.tool-card.soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.tool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tool-icon {
    font-size: 40px;
    filter: grayscale(0%);
}

.tool-card.soon .tool-icon {
    filter: grayscale(100%);
}

.badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--accent);
    color: white;
}

.soon-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.tool-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.tool-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tool-arrow {
    font-size: 24px;
    color: var(--accent);
    display: none;
}

.tool-card.active .tool-arrow {
    display: block;
    position: absolute;
    right: 32px;
    bottom: 32px;
    opacity: 0.6;
    transition: all 0.3s;
}

.tool-card.active:hover .tool-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature {
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

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

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

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .site-header {
        position: static;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tool-card {
        padding: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .ad-container {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        gap: 12px;
    }
    
    .header-cta {
        width: 100%;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tool-icon {
        font-size: 32px;
    }
    
    .tool-card h3 {
        font-size: 18px;
    }
    
    .tool-card p {
        font-size: 14px;
    }
    
    .ad-placeholder {
        padding: 40px 16px;
    }
}
