:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-card-hover: rgba(30, 30, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #10B981; /* Neon Emerald */
    --accent-glow: rgba(16, 185, 129, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Background Glow Effect */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 150%;
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.08) 0%, rgba(5, 5, 5, 1) 60%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.text-accent {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Header */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: url('icon.png') no-repeat center center;
    background-size: cover;
}

.logo-icon.small {
    width: 24px;
    height: 24px;
}
.logo-icon.small::after {
    width: 8px;
    height: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--text-secondary);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.store-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    height: 100%;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #0f0f0f;
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        inset 0 0 0 2px #555,
        inset 0 0 20px rgba(0,0,0,1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Simulate the dynamic glare on the glass */
.phone-glare {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 10;
    transition: transform 0.1s ease-out;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.phone-screen.perfect {
    background-color: #4cd964;
}

/* Level UI */
.level-ui {
    position: relative;
    width: 100%;
    height: 100%;
    color: #000;
}

.level-horizon {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-color: #9ca3af;
    transform-origin: center top;
    transition: background-color 0.3s ease;
    will-change: transform;
}

.phone-screen.perfect .level-horizon {
    background-color: #34c759;
}

.level-center-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
}

.level-degree {
    font-size: 5.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
}

.level-marker {
    width: 45px;
    height: 6px;
    background-color: #000;
    border-radius: 3px;
}

.level-fab {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #f59e0b;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease;
}

.level-fab:hover {
    transform: scale(1.05);
}

.level-fab svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 2;
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

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

.footer-info .logo {
    margin-bottom: 0.5rem;
}

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

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

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

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
