@import 'design-system.css';

/* Global Reset & Base Styles override */
body {
    background-color: var(--background-alt);
    color: var(--text-secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    height: 32px;
    width: auto;
    border-radius: var(--radius-md);
}

.nav-tab-bar {
    display: flex;
    gap: var(--space-1);
    margin-left: var(--space-8);
}

.nav-tab {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-tab:hover {
    color: var(--text-primary);
    background: var(--background-alt);
}

.nav-tab.nav-link--current {
    color: var(--text-primary);
    background: var(--border);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-link-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-link-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--primary-foreground);
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--space-16) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fafafa 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.hero-heading {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-text {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hero-button-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-button-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.hero-button-secondary:hover {
    background: var(--background-alt);
    border-color: var(--border-hover);
}

/* Features Section */
.hero-features {
    padding: var(--space-16) 0;
    background: var(--surface);
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.features-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.features-subtitle {
    font-size: var(--text-lg);
    color: var(--text-tertiary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.feature-card {
    background: var(--surface);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-medium);
}

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

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.feature-tags {
    margin-top: var(--space-6);
    display: flex;
    gap: var(--space-2);
}

.tag {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: var(--space-1) var(--space-2);
    background: var(--background-alt);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* CTA Final */
.hero-cta-final {
    padding: var(--space-16) 0;
    text-align: center;
    background: var(--background-alt);
}

.cta-final-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-final-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* Animations & Decorative */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary), var(--text-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-shape {
    position: absolute;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
}

.shape-1 { top: -10%; left: -10%; width: 40vw; height: 40vw; background: #e0e7ff; border-radius: 50%; }
.shape-2 { bottom: -10%; right: -10%; width: 35vw; height: 35vw; background: #dbeafe; border-radius: 50%; }

/* Utilities */
.nav-hidden { display: none !important; }

@media (max-width: 768px) {
    .nav-actions { display: none; }
    .burger-menu { display: block; }
    .hero-heading { font-size: var(--text-4xl); }
}