/* SimpliDev Marketing Website Styles */

/* CSS Variables */
:root {
    /* Colors - Electric blue/cyan accent on dark */
    --color-bg: #0a0a0f;
    --color-bg-elevated: #12121a;
    --color-bg-card: #1a1a24;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --color-text: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #6b6b7b;
    
    --color-accent: #00d4ff;
    --color-accent-secondary: #7c3aed;
    --color-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --color-gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--color-text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) var(--space-xl);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-gradient);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

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

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

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
    filter: blur(60px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-gradient-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Screenshot */
.hero-screenshot {
    margin-top: var(--space-3xl);
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.screenshot-window {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transform: rotateX(5deg);
}

.window-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.window-content {
    padding: var(--space-lg);
}

.screenshot-placeholder {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-lg);
    min-height: 400px;
}

.placeholder-sidebar {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.sidebar-section {
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.task-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gradient-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
}

.task-icon {
    font-size: 1rem;
}

.task-info {
    display: flex;
    flex-direction: column;
}

.task-key {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
}

.task-phase {
    font-size: 0.75rem;
    color: var(--color-accent);
}

.team-member {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.875rem;
}

.member-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

.team-member.online .member-status {
    background: var(--color-success);
}

.member-name {
    flex: 1;
}

.member-task {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.placeholder-chat {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.chat-message {
    display: flex;
    gap: var(--space-md);
}

.chat-message.user {
    justify-content: flex-end;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.chat-message.user .message-avatar {
    display: none;
}

.message-content {
    background: var(--color-bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    max-width: 80%;
}

.chat-message.user .message-content {
    background: var(--color-gradient-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.message-content p {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-size: 0.875rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-code {
    background: var(--color-bg);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
}

/* Section Styles */
section {
    padding: var(--space-4xl) var(--space-xl);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-gradient-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
}

/* Features Section */
.features {
    background: var(--color-bg-elevated);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color 0.2s, transform 0.2s;
}

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

.feature-card.featured {
    grid-column: span 2;
    background: var(--color-gradient-subtle);
    border-color: rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-visual {
    margin-top: var(--space-lg);
}

.confidence-bar {
    position: relative;
    height: 8px;
    background: var(--color-bg);
    border-radius: 100px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: var(--color-gradient);
    border-radius: 100px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
}

.confidence-label {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* Workflow Section */
.workflow-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    transition: all 0.3s;
}

.workflow-step.active .step-number {
    background: var(--color-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.step-content h4 {
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 0.875rem;
}

.workflow-connector {
    width: 40px;
    height: 2px;
    background: var(--color-border);
    margin-top: 23px;
}

/* Integrations Section */
.integrations {
    background: var(--color-bg-elevated);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.integration-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.integration-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.integration-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2684ff;
}

.integration-logo svg {
    width: 40px;
    height: 40px;
}

.integration-logo.confluence {
    color: #2684ff;
}

.integration-logo.github {
    color: white;
}

.integration-logo.cursor {
    background: var(--color-gradient);
    border-radius: var(--radius-md);
    color: white;
}

.cursor-icon {
    font-size: 1.5rem;
}

.integration-card h4 {
    margin-bottom: var(--space-sm);
}

/* Team Section */
.team-section {
    position: relative;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto var(--space-3xl);
}

.team-feature {
    text-align: center;
    padding: var(--space-xl);
}

.team-feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.team-feature h4 {
    margin-bottom: var(--space-sm);
}

.team-screenshot {
    max-width: 400px;
    margin: 0 auto;
}

.screenshot-window.small .window-content {
    padding: var(--space-md);
}

.team-demo {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.demo-board {
    margin-bottom: var(--space-md);
}

.board-header {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text-muted);
}

.demo-member {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

.demo-member.online .status-dot {
    background: var(--color-success);
}

.demo-member .name {
    flex: 1;
}

.demo-member .task {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent);
}

/* CTA Section */
.cta {
    position: relative;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: var(--space-md);
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) var(--space-xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .screenshot-placeholder {
        grid-template-columns: 1fr;
    }
    
    .placeholder-sidebar {
        display: none;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .workflow-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .workflow-connector {
        width: 2px;
        height: 20px;
        margin: 0;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
}

/* Demo Video Section */
.demo-section {
    padding: var(--space-4xl) var(--space-xl);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 58, 237, 0.2);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    background: var(--color-gradient);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
}

.play-button svg {
    margin-left: 8px;
}

