/* Alpha Workspace - Zen Minimalist Design V5 */
/* Clean, white, minimal aesthetic with soft blue accents */

:root {
    /* Zen color palette */
    --primary-color: #667eea;
    --primary-hover: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --background: #ffffff;
    --background-soft: #f7fafc;
    --background-subtle: #edf2f7;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-light);
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-medium);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Buttons */
.cta-button, .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary, .download-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover, .download-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-button.primary:active, .download-button.primary:active {
    transform: translateY(0);
}

.cta-button:disabled, .download-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.cta-button.downloading {
    background: var(--text-muted);
}

.cta-button.success {
    background: var(--success-color);
}

.cta-button.error {
    background: var(--error-color);
}

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-soft) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--background-subtle);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-title {
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: var(--space-xl);
}

.cta-details {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Workspace Preview */
.workspace-preview {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.window-chrome {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--background-subtle);
    border-bottom: 1px solid var(--border-color);
}

.window-controls {
    display: flex;
    gap: var(--space-xs);
    margin-right: var(--space-md);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

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

.editor-area {
    padding: var(--space-xl);
    min-height: 300px;
    background: var(--background);
}

.typing-demo {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 1.125rem;
    line-height: 1.8;
}

.demo-text {
    color: var(--text-primary);
    position: relative;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: var(--background-soft);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.2s ease;
}

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

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

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: var(--space-3xl) 0;
    background: white;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.testimonial {
    background: var(--background-soft);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    font-size: 1.5em;
    color: var(--primary-color);
}

.testimonial-content::after {
    content: '"';
    font-size: 1.5em;
    color: var(--primary-color);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

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

/* Download Section */
.download-section {
    padding: var(--space-3xl) 0;
    background: var(--background-soft);
}

.download-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-xl);
}

.download-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.file-details {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.detail {
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--background-subtle);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.download-actions {
    text-align: center;
}

.security-badges {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    font-size: 0.75rem;
    color: var(--success-color);
    background: rgba(72, 187, 120, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.installation-steps {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.installation-steps h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.installation-steps ol {
    margin-left: var(--space-md);
}

.installation-steps li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Why Choose Section */
.why-choose {
    padding: var(--space-3xl) 0;
    background: white;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-text strong {
    color: var(--text-primary);
}

.comparison-chart {
    background: var(--background-soft);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.chart-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.chart-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.metric {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.alpha-bar, .others-bar {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    min-width: 60px;
    text-align: center;
}

.alpha-bar {
    background: var(--success-color);
    color: white;
}

.others-bar {
    background: var(--background-subtle);
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    margin-bottom: var(--space-md);
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Download Messages */
.download-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.message-content {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    text-align: center;
}

.message-content h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.message-content p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.message-content button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .file-details {
        justify-content: center;
    }
    
    .security-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .workspace-preview {
        margin: 0 -1rem;
        border-radius: 0;
    }
}