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

:root {
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-secondary: #8b5cf6;
    --color-dark: #0f172a;
    --color-dark-lighter: #1e293b;
    --color-light: #f8fafc;
    --color-text-dark: #1e293b;
    --color-text-light: #64748b;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        var(--gradient-dark);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
}

.title-sub {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: #94a3b8;
}

.hero-description {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 540px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.store-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 12px;
    opacity: 0.8;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    width: 340px;
    height: 680px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 48px;
    padding: 16px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 12px rgba(255, 255, 255, 0.05),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 32px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    border-radius: 36px;
    overflow: hidden;
}

.app-preview {
    padding: 48px 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.preview-header {
    display: flex;
    justify-content: center;
}

.mode-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.mode-option {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.mode-option.active {
    background: var(--color-primary);
    color: white;
}

.preview-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
}

.team-score {
    text-align: center;
}

.score-number {
    font-size: 96px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.team-label {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
}

.score-divider {
    font-size: 72px;
    font-weight: 300;
    color: #334155;
}

.preview-server {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #94a3b8;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--color-light);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 64px;
    color: var(--color-text-dark);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.feature-description {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta .download-buttons {
    justify-content: center;
}

.cta .store-button {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border-color: transparent;
}

.cta .store-button:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--color-dark);
    text-align: center;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-subtext {
    color: #64748b;
    font-size: 12px;
}

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

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .title-main {
        font-size: 56px;
    }

    .title-sub {
        font-size: 24px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .score-number {
        font-size: 72px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .title-main {
        font-size: 42px;
    }

    .title-sub {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .store-button {
        flex: 1;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .score-number {
        font-size: 56px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 28px;
    }
}