/* stores.onl - Modern Ecommerce Builder Styles */

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #10B981;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --shadow: 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);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.brand-text {
    position: relative;
}

.dot-new {
    color: var(--primary);
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--gray);
    margin-bottom: 48px;
    font-weight: 400;
}

.flow-text {
    display: block;
    margin-top: 8px;
    font-size: 0.8em;
}

.onl {
    color: var(--secondary);
    font-weight: 700;
}

/* Demo Preview */
.demo-preview {
    max-width: 800px;
    margin: 0 auto 48px;
}

.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.browser-bar {
    background: #F3F4F6;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
}

.browser-dots span:first-child { background: #EF4444; }
.browser-dots span:nth-child(2) { background: #F59E0B; }
.browser-dots span:nth-child(3) { background: #10B981; }

.browser-url {
    flex: 1;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}

.browser-content {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    position: relative;
    overflow: hidden;
}

.demo-animation {
    text-align: center;
}

.store-builder h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--dark);
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    width: 0;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0; }
    50% { width: 60%; }
    100% { width: 100%; }
}

.building-step {
    color: var(--gray);
    font-size: 16px;
    animation: fadeInOut 3s ease-in-out infinite;
}

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

/* CTA Section */
.cta-section {
    margin-top: 48px;
}

.launch-date {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.date-highlight {
    color: var(--primary);
}

.countdown-text {
    color: var(--gray);
    margin-bottom: 32px;
    font-size: 18px;
}

.early-access-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.early-access-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.early-access-form input:focus {
    border-color: var(--primary);
}

.cta-button {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.arrow-icon {
    transition: transform 0.3s;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

.form-note {
    margin-top: 16px;
    color: var(--gray);
    font-size: 14px;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation: float2 20s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #F59E0B;
    top: 50%;
    left: 50%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.2); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--light);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

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

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.step p {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.6;
}

/* Launch Section */
.launch-section {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
}

.launch-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.launch-section .section-title {
    color: var(--white);
}

.launch-description {
    font-size: 20px;
    line-height: 1.8;
    color: #CBD5E1;
    margin-bottom: 48px;
}

.countdown-container {
    margin-bottom: 48px;
}

.countdown-container h3 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #CBD5E1;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.countdown-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
}

.launch-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.launch-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #CBD5E1;
}

.launch-feature svg {
    color: var(--secondary);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--white);
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 800;
}

.footer-brand p {
    color: var(--gray);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .early-access-form {
        flex-direction: column;
    }
    
    .countdown {
        gap: 16px;
    }
    
    .countdown-value {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .launch-features {
        flex-direction: column;
        align-items: center;
    }
}

/* Loading State */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}