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

:root {
    --primary: #3344DD;
    --primary-dark: #2233BB;
    --primary-light: #5566FF;
    --bg-light: #F0F3FF;
    --bg-section: #E8EEFF;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(51, 68, 221, 0.08);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.04), 0 10px 40px rgba(51, 68, 221, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: -0.011em;
    font-optical-sizing: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
    list-style: none;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-contacts a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0;
}

.top-bar-contacts a:hover {
    opacity: 0.85;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-text {
    font-weight: 400;
}

.logo-text strong {
    font-weight: 700;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 68, 221, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
    border-radius: 7px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 70px 0 90px;
    background: var(--white);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 440px;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: 800;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.035em;
}

.hero-text h1 em {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

/* ===== ABOUT ===== */
.about {
    padding: 70px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.about-card h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-card p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text-body);
}

.benefits-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 450;
}

/* ===== FEATURES ===== */
.features {
    padding: 90px 0;
    background: var(--white);
}

.features-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.features-image {
    flex: 1;
    max-width: 420px;
}

.features-text {
    flex: 1;
}

.features-text h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.features-text > p {
    font-size: 0.875rem;
    margin-bottom: 24px;
    line-height: 1.75;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 450;
}

.download-label {
    margin-bottom: 10px;
    font-size: 0.9375rem;
}

.google-play-btn {
    display: inline-block;
    transition: transform 0.2s ease;
}

.google-play-btn:hover {
    transform: scale(1.04);
}

/* ===== PLANS ===== */
.plans {
    padding: 90px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 1.875rem;
    color: var(--text-dark);
    margin-bottom: 48px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
}

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

.plan-featured {
    border-color: var(--primary);
}

.plan-name {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.plan-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 450;
}

.plan-users {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
    letter-spacing: -0.03em;
}

.plan-price-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.btn-plan {
    padding: 10px 32px;
    border-radius: 8px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 90px 0;
    background: var(--white);
}

.contact-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-intro {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 420px;
    padding: 12px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 25px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.8125rem;
    outline: none;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.contact-form textarea {
    border-radius: 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(51, 68, 221, 0.1);
}

.contact-form .btn {
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    padding: 24px 0;
    color: var(--white);
}

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

.footer-follow {
    font-size: 0.8125rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.1rem;
    }

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

    .features-inner {
        flex-direction: column;
        text-align: center;
    }

    .features-list {
        align-items: center;
    }

    .features-image {
        max-width: 350px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        gap: 16px;
    }

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

    .nav-links a.active::after {
        display: none;
    }

    .navbar {
        position: relative;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.875rem;
    }

    .hero-image {
        max-width: 350px;
    }

    .top-bar-contacts {
        flex-direction: column;
        gap: 4px;
        align-items: flex-end;
        font-size: 0.75rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .download-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-card {
        padding: 24px;
    }

    .plan-card {
        padding: 24px 20px;
    }
}
