/* FlowAI Custom Style Sheet - 2026 Premium Dark Aesthetic */

:root {
    --bg-color: #09090b;
    --card-bg: #18181b;
    --border-color: #27272a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --primary-color: #a855f7; /* Purple */
    --secondary-color: #3b82f6; /* Blue */
    --accent-glow: rgba(168, 85, 247, 0.15);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
.gradient-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

.bg-purple {
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.bg-blue {
    background: var(--secondary-color);
    bottom: 200px;
    right: -100px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(9, 9, 11, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    gap: 0.5rem;
}

.logo span span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.45);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #27272a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.w-100 {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem 0;
    text-align: center;
}

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

.badge {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Features Section */
.features-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Simulator Section */
.simulator-section {
    padding: 6rem 0;
}

.simulator-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.simulator-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 2rem;
}

.simulator-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.workflow-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.workflow-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
}

.workflow-tab:hover {
    background: rgba(39, 39, 42, 0.4);
    color: var(--text-primary);
}

.workflow-tab.active {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--primary-color);
}

.tab-icon {
    font-size: 1.4rem;
}

.simulator-workspace {
    padding-left: 1rem;
}

.workspace-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #22c55e; /* Green */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
}

.status-indicator.busy {
    background-color: #eab308; /* Yellow */
    box-shadow: 0 0 8px #eab308;
}

.workflow-content {
    display: none;
}

.workflow-content.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-content label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.workflow-content textarea, 
.workflow-content input[type="text"] {
    width: 100%;
    background-color: #09090b;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s ease;
}

.workflow-content textarea {
    height: 120px;
}

.workflow-content textarea:focus, 
.workflow-content input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.code-font {
    font-family: 'Courier New', Courier, monospace !important;
}

.button-group {
    display: flex;
    gap: 1rem;
}

/* Output Terminal */
.output-terminal {
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    background-color: #09090b;
    border-radius: 12px;
    overflow: hidden;
}

.terminal-header {
    background-color: #18181b;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.terminal-body {
    padding: 1.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    min-height: 120px;
    white-space: pre-wrap;
    color: #38bdf8; /* Light Blue */
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 380px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 50px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pricing-features li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    background-color: #020202;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-note {
    font-size: 0.85rem !important;
    opacity: 0.6;
}

/* Responsiveness */
@media (max-width: 900px) {
    .simulator-container {
        grid-template-columns: 1fr;
    }
    .simulator-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .simulator-workspace {
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
