:root {
    /* Sculpty Color System */
    --primary-accent: #2B7EFF;
    --background: #0A0B0F;
    --surface: #16161B;
    --raised-surface: #1D1E24;
    --text: #F2F3F7;
    --secondary-text: #A1A3AA;
    --border: #2A2B30;
    
    /* Spacing System */
    --spacing-xs: 4px;
    --spacing-s: 8px;
    --spacing-m: 16px;
    --spacing-l: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    overscroll-behavior: none;
    overflow-x: hidden;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Typography */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.subheading {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.body-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.secondary-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-text);
}

.caption-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--secondary-text);
}

/* Background Glows - Persistent across page */
.background-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.glow-main {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    background: radial-gradient(circle, rgba(43, 126, 255, 0.2) 0%, rgba(43, 126, 255, 0.06) 50%, transparent 70%);
}

.glow-secondary {
    top: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(43, 126, 255, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.glow-accent-1 {
    bottom: -20%;
    left: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(43, 126, 255, 0.15) 0%, transparent 60%);
    filter: blur(100px);
    animation: float-reverse 18s ease-in-out infinite;
}

.glow-accent-2 {
    top: 70%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 126, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.glow-accent-3 {
    top: 120%;
    left: 30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(43, 126, 255, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    animation: float-reverse 22s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(20px); }
    66% { transform: translateY(20px) translateX(-20px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(20px) translateX(-30px); }
    66% { transform: translateY(-30px) translateX(20px); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    z-index: 1;
}

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

.sculpty-logo {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: var(--spacing-s);
    color: var(--text);
    letter-spacing: -0.03em;
}

.tagline {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-m);
    color: var(--text);
    opacity: 0.9;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.subtitle strong {
    color: var(--text);
    font-weight: 700;
}

.download-buttons {
    display: flex;
    gap: var(--spacing-m);
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-btn {
    background: var(--primary-accent);
    border: 1px solid var(--primary-accent);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.app-store-btn:hover {
    background: transparent;
    color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(43, 126, 255, 0.2);
}

/* Section Styling */
section {
    padding: var(--spacing-xxl) 0;
}

.features-section {
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}

@supports not (backdrop-filter: blur(20px)) {
    .features-section {
        background: rgba(10, 11, 15, 0.98);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
    margin-bottom: var(--spacing-m);
}

/* Feature Cards */
.feature-card {
    background: var(--surface);
    border-radius: 12px;
    padding: var(--spacing-l);
    height: 100%;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-title {
    margin-bottom: var(--spacing-m);
}

.feature-description {
    margin-bottom: var(--spacing-l);
    line-height: 1.6;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-highlights li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-s);
    line-height: 1.5;
}

.feature-highlights li::before {
    content: '✓';
    color: var(--primary-accent);
    font-weight: 700;
    margin-right: var(--spacing-s);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Stats Section */
.stats-section {
    background: var(--surface);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-accent);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

/* CTA Section */
.cta-section {
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--border);
}

.cta-title {
    margin-bottom: var(--spacing-m);
}

.cta-subtitle {
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: var(--spacing-l) 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-m);
}

.copyright {
    font-size: 14px;
    font-weight: 400;
}

.support-link {
    color: var(--secondary-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.support-link i {
    font-size: 12px;
}

/* Pricing Card */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-l);
}

.pricing-column h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--spacing-m);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-text);
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: color 0.2s ease;
}

.scroll-indicator:hover {
    color: var(--primary-accent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sculpty-logo {
        font-size: 48px;
    }
    
    .pricing-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-l);
    }
    
    .feature-card {
        margin-bottom: var(--spacing-m);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* Simplify glows on mobile for performance */
    .background-glows {
        display: none;
    }
    
    .hero-section {
        background: var(--background);
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(43, 126, 255, 0.15) 0%, transparent 70%);
        filter: blur(100px);
        pointer-events: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-s);
    }
}

/* Container adjustment for better spacing */
.container {
    position: relative;
    z-index: 2;
}

/* Utility Classes */
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }