/* ===== CSS Variables - Winter Theme ===== */
:root {
    /* Primary colors */
    --color-primary: #0066cc;
    --color-primary-light: #4d9fff;
    --color-primary-dark: #004c99;

    /* Status colors */
    --color-green: #22c55e;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    --color-orange: #f59e0b;

    /* Neutral colors */
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Winter colors */
    --color-ice: #e0f2fe;
    --color-frost: #bae6fd;
    --color-snow: #f0f9ff;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-gray-800);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    text-decoration: none;
}

.btn--secondary {
    background: var(--color-white);
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-200);
}

.btn--secondary:hover {
    border-color: var(--color-gray-300);
    background: var(--color-gray-50);
    text-decoration: none;
}

.btn--large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    background: var(--color-gray-50);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-100);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-900);
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav__cta:hover {
    background: var(--color-primary-dark);
    text-decoration: none;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--color-snow) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-ice);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-gray-900);
    margin-bottom: 20px;
}

.hero__highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__phone {
    position: relative;
    width: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 8px var(--color-gray-800);
}

.hero__screenshot {
    width: 100%;
    display: block;
}

.hero__snow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--color-white));
    pointer-events: none;
}

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

.features__container {
    max-width: 1200px;
    margin: 0 auto;
}

.features__header {
    text-align: center;
    margin-bottom: 60px;
}

.features__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.features__subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    background: var(--color-gray-50);
    transition: all var(--transition-normal);
}

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

.feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon--green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-green);
}

.feature__icon--blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
}

.feature__icon--purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-purple);
}

.feature__icon--orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-orange);
}

.feature__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.feature__text {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 80px 24px;
    background: var(--color-snow);
}

.screenshots__container {
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots__header {
    text-align: center;
    margin-bottom: 48px;
}

.screenshots__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.screenshots__subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
}

.screenshots__carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.screenshots__item {
    text-align: center;
}

.screenshots__image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
    transition: transform var(--transition-normal);
}

.screenshots__image:hover {
    transform: scale(1.02);
}

.screenshots__caption {
    font-size: 14px;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 24px;
    background: var(--color-white);
}

.faq__container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.faq__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.faq__subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
}

.faq__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq__card {
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--color-gray-100);
}

.faq__card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.faq__card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq__card-icon--ios {
    background: var(--color-gray-900);
    color: var(--color-white);
}

.faq__card-icon--android {
    background: #3ddc84;
    color: var(--color-white);
}

.faq__card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-900);
}

.faq__steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.faq__step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq__step-number {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.faq__step-content {
    font-size: 14px;
    color: var(--color-gray-700);
    line-height: 1.6;
    padding-top: 4px;
}

.faq__step-content a {
    color: var(--color-primary);
    font-weight: 500;
}

.faq__icon-inline {
    display: inline-flex;
    vertical-align: middle;
    margin: 0 2px;
    color: var(--color-gray-500);
}

.faq__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-ice);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-primary-dark);
}

.faq__note--success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    position: relative;
    overflow: hidden;
}

.cta__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.cta__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta__decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta__snowflake {
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.cta__snowflake:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta__snowflake:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.cta__snowflake:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

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

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

/* ===== Footer ===== */
.footer {
    padding: 40px 24px;
    background: var(--color-gray-900);
    text-align: center;
}

.footer__container {
    max-width: 800px;
    margin: 0 auto;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo {
    width: 32px;
    height: 32px;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
}

.footer__text {
    font-size: 14px;
    color: var(--color-gray-400);
    margin-bottom: 8px;
}

.footer__text a {
    color: var(--color-frost);
}

.footer__copyright {
    font-size: 13px;
    color: var(--color-gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__phone {
        width: 260px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots__carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots__item:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__phone {
        width: 220px;
    }

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

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

    .screenshots__item:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

    .cta__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav__title {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn--large {
        width: 100%;
    }
}