:root {
    --bg-color: #050507;
    --surface-color: #121214;
    --surface-hover: #1c1c1e;
    --primary-color: #5E5CE6;
    --primary-glow: rgba(94, 92, 230, 0.5);
    --accent-color: #0A84FF;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --border-color: #2C2C2E;
    --card-border: rgba(255, 255, 255, 0.1);
    
    --gradient-primary: linear-gradient(135deg, #5E5CE6 0%, #BF5AF2 100%);
    --gradient-dark: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(94, 92, 230, 0.15), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

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

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

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(94, 92, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(94, 92, 230, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(94, 92, 230, 0.1);
    border: 1px solid rgba(94, 92, 230, 0.3);
    color: #BF5AF2;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 48px;
    padding: 12px;
    border: 4px solid #333;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    margin: 0 auto;
    position: relative;
}

.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.screen-content {
    background: #1C1C1E;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 14px;
}

.app-body {
    padding: 20px;
    flex: 1;
}

.welcome-text h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.welcome-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.stat-card {
    flex: 1;
    background: #2C2C2E;
    padding: 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.study-card {
    background: #2C2C2E;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(94, 92, 230, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.card-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.floating-action {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

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

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

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

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, #1C1C1E 0%, #121214 100%);
    border: 1px solid var(--card-border);
    padding: 80px 20px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

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

.footer-logo {
    font-weight: 700;
    font-size: 1.1rem;
}

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

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

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

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .links {
        display: none;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
}
