/* ========================================
   CSS Variables & Design System
   ======================================== */
:root {
    /* Colors */
    --primary: 199 89% 48%;
    --primary-foreground: 0 0% 100%;
    --background: 210 20% 98%;
    --foreground: 222 47% 11%;
    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;
    --muted: 210 20% 96%;
    --muted-foreground: 215 16% 47%;
    --border: 214 32% 91%;
    --accent: 210 40% 96%;

    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 4rem 0;

    /* Typography */
    --font-family: 'Inter', system-ui, sans-serif;

    /* Transitions */
    --transition: 0.3s ease;

    /* 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);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Container
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   Typography
   ======================================== */
.text-primary {
    color: hsl(var(--primary));
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title-center {
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all var(--transition);
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background: hsl(var(--primary) / 0.9);
}

.btn-outline {
    border: 2px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background: hsl(var(--muted));
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

@media (min-width: 768px) {
    .header-content {
        height: 80px;
    }
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    transition: color var(--transition);
}

.nav-link:hover {
    color: hsl(var(--primary));
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: hsl(var(--foreground));
    transition: all var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.nav-link-mobile:hover {
    color: hsl(var(--primary));
}

.btn-mobile {
    margin-top: 0.5rem;
    text-align: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding-top: 100px;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted)));
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 6rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(var(--primary) / 0.2), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-phones {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--section-padding);
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-block:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .about-block {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .about-block-reverse {
        flex-direction: row-reverse;
    }
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-img {
    max-width: 500px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.about-list {
    margin-top: 1.5rem;
}

.about-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: hsl(var(--foreground) / 0.9);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--section-padding);
    padding-bottom: 0;
    background: hsl(var(--muted));
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-subtitle {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 1rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.9375rem;
}

.features-showcase {
    display: flex;
    justify-content: center;
}

.features-phone {
    max-width: 300px;
    width: 100%;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: var(--section-padding);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    border-bottom: 1px solid hsl(var(--border));
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--foreground));
    transition: color var(--transition);
}

.faq-question:hover {
    color: hsl(var(--primary));
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(199 89% 38%));
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-content {
        flex-direction: row;
        text-align: left;
        gap: 4rem;
    }
}

.cta-text {
    flex: 1;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-title .text-primary {
    color: white;
    text-decoration: underline;
    text-decoration-color: hsl(var(--primary-foreground) / 0.5);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .cta-buttons {
        justify-content: flex-start;
    }
}

.store-btn {
    transition: transform var(--transition), opacity var(--transition);
}

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

.store-btn img {
    height: 48px;
    width: auto;
}

@media (min-width: 768px) {
    .store-btn img {
        height: 56px;
    }
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-phone {
    max-width: 400px;
    width: 100%;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsl(var(--muted-foreground));
}

.footer-section {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-section {
        margin-top: 0;
    }
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: hsl(var(--muted-foreground));
    transition: color var(--transition);
}

.footer-link:hover {
    color: hsl(var(--primary));
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-radius: 50%;
    transition: all var(--transition);
}

.social-btn:hover {
    background: hsl(var(--primary));
    color: white;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}
