:root {
    --primary: #7657ff;
    --primary-light: #a393ff;
    --primary-dark: #5c3fd6;
    --secondary: #f4f55c;
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-dark: #15171f;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e8e8f0;
    --accent-gradient: linear-gradient(135deg, #7657ff 0%, #a393ff 100%);
    --card-bg: #ffffff;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow: 0 4px 24px rgba(21, 23, 31, 0.08);
    --shadow-hover: 0 12px 40px rgba(21, 23, 31, 0.14);
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

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

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-main {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(118, 87, 255, 0.35);
}

.btn-main:hover {
    box-shadow: 0 12px 32px rgba(118, 87, 255, 0.45);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-soft);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(118, 87, 255, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(244, 245, 92, 0.12) 0%, transparent 40%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--bg-dark);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.hero-stats span {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.4s ease;
}

.hero-visual:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(118, 87, 255, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.section-head p {
    font-size: 17px;
    color: var(--text-light);
}

.features {
    padding: 100px 0;
    background: #f0f1f7;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid #e0e2ee;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(21, 23, 31, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
}

.why {
    padding: 100px 0;
    background: #ffffff;
}

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

.why-item {
    padding: 28px;
    border-radius: var(--border-radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.why-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.why-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.why-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.showcase {
    padding: 100px 0;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse > * {
    direction: ltr;
}

.showcase-media {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(21, 23, 31, 0.1);
    border: 1px solid #e0e2ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

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

.showcase-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.showcase-text h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.showcase-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.2s ease;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    gap: 12px;
}

.samples {
    padding: 100px 0;
    background: var(--bg-soft);
}

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

.sample-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.sample-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-height: 520px;
}

.sample-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(21, 23, 31, 0.75);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(118, 87, 255, 0.18);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bg-dark);
}

.price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.price .currency {
    font-size: 24px;
    vertical-align: top;
}

.price .period {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-card li {
    padding: 8px 0;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text);
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-light);
}

.pricing-note a {
    color: var(--primary);
    font-weight: 600;
}

.faq {
    padding: 100px 0;
    background: var(--bg-soft);
}

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

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--bg-dark);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.65;
}

.cta {
    padding: 100px 0;
}

.cta-inner {
    background: var(--accent-gradient);
    border-radius: var(--border-radius);
    padding: 72px 24px;
    text-align: center;
    color: #ffffff;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 17px;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-inner .btn-main {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(21, 23, 31, 0.18);
}

.cta-inner .btn-main:hover {
    background: var(--secondary);
    color: var(--bg-dark);
}

.footer {
    padding: 64px 0 32px;
    background: var(--bg-dark);
    color: #ffffff;
}

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

.footer-brand img {
    height: 36px;
    width: auto;
    margin: 0 auto 12px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 360px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    text-align: left;
    margin: 24px 0;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

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

.footer-languages {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-languages a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.footer-languages a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    width: 100%;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.legal-page {
    padding: 140px 0 80px;
    background: #ffffff;
    min-height: 70vh;
}

.legal-inner {
    max-width: 800px;
}

.legal-inner h1 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.legal-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.legal-inner h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-inner p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-inner ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-inner li {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.sitemap-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sitemap-list a {
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.sitemap-list a:hover {
    color: var(--primary-dark);
}

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

@media (max-width: 768px) {
    .sitemap-countries {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-inner h1 {
        font-size: 32px;
    }
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

    .showcase-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        transform: none;
    }

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

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

    .showcase-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 56px;
    }

    .showcase-row.reverse {
        direction: ltr;
    }

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

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

    .pricing-card.popular {
        order: -1;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }
}
