/* FlowCrafter.ai Global Styles & Design System */

:root {
    --bg-dark: #090d16;
    --card-bg: rgba(17, 24, 39, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --slate-100: #f1f5f9;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    
    --sage-300: #cbd5c0;
    --sage-400: #b4c3a5;
    --sage-500: #93a87f;
    --sage-600: #71885b;
    
    --font-serif: 'Playfair Display', serif;
    --font-ui: 'Inter', sans-serif;
    
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--slate-100);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Blur Orbs Background */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.45;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(147, 168, 127, 0.05) 100%);
    top: -100px;
    right: -50px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, rgba(9, 13, 22, 0) 100%);
    bottom: -100px;
    left: -100px;
}

/* Header */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--slate-100);
}

.logo-accent {
    color: var(--emerald-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--slate-300);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--emerald-400);
}


/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--emerald-400);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--emerald-400) 0%, var(--sage-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--slate-400);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--emerald-600);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--emerald-500);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--slate-300);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateY(-1px);
}

/* Features Section */
.features-section {
    padding: 6rem 3rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(9, 13, 22, 0.3);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--slate-400);
    font-size: 1.1rem;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--emerald-400);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--slate-400);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--slate-400);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-section {
        padding: 4rem 1.5rem;
    }
}
