/* ============ RESET & VARIABLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-rgb: 6, 182, 212;
    --neon: #00e5ff;
    --neon-rgb: 0, 229, 255;
    --magenta: #ec4899;
    --bg: #050510;
    --bg-card: rgba(15, 15, 35, 0.7);
    --bg-card-solid: #0d0d22;
    --text: #e8eaf6;
    --text-muted: #8892b0;
    --border: rgba(99, 102, 241, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ HEADER / NAV ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: normal;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(var(--primary-rgb), 0.4);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(var(--accent-rgb), 0.3);
    bottom: -80px;
    right: -80px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
}

.btn-ghost:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(var(--primary-rgb), 0.25);
    color: var(--text);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ============ DROPDOWNS ============ */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    position: relative;
    z-index: 2;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.dropdown-container:hover .dropdown-menu,
.btn-outline.dropdown-toggle:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.03);
}

.dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateX(5px);
}

.dropdown-item span {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

/* ============ PHONE MOCKUP ============ */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-phone {
    width: 260px;
    height: 500px;
    background: linear-gradient(145deg, #1a1a3a, #0f0f2a);
    border-radius: 36px;
    padding: 12px;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a1f, #0d0d2e);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.phone-status {
    position: absolute;
    top: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.phone-connected {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pulse-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.5);
}

.phone-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.phone-server {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.server-flag {
    font-size: 18px;
}

/* ============ HIGHLIGHTS ============ */
.highlights {
    padding: 100px 0 40px;
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.12);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.highlight-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============ SECTION TITLE ============ */
.section-title {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -0.02em;
}

/* ============ FEATURES GRID ============ */
.features {
    padding: 80px 0 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ============ PRICING ============ */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.03), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow:
        0 20px 60px rgba(var(--primary-rgb), 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.currency {
    font-size: 22px;
    font-weight: 700;
    margin-top: 8px;
    color: var(--text-muted);
}

.amount {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent);
    font-weight: 700;
}

/* ============ REVIEWS ============ */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--magenta));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
}

.review-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.review-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
    filter: blur(8px);
    overflow: hidden;
}

.review-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--neon), var(--magenta));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover .review-avatar::after {
    opacity: 1;
}

/* Unique gradients for each avatar */
.review-card:nth-child(1) .review-avatar {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
}

.review-card:nth-child(2) .review-avatar {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.review-card:nth-child(3) .review-avatar {
    background: linear-gradient(135deg, #06b6d4, #10b981);
}

.review-name {
    font-weight: 600;
    font-size: 15px;
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ STEPS ============ */
.steps-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.02), transparent);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.step-card {
    text-align: center;
    padding: 30px 24px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.step-arrow {
    font-size: 24px;
    color: rgba(var(--primary-rgb), 0.3);
    font-weight: 300;
}

/* ============ FAQ ============ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    user-select: none;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-toggle {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
    min-width: 24px;
    text-align: center;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* ============ CTA ============ */
.cta-section {
    padding: 80px 0 100px;
}

.cta-box {
    text-align: center;
    padding: 72px 40px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(var(--primary-rgb), 0.08), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
}

.cta-box .btn {
    position: relative;
}

/* ============ FOOTER ============ */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 14px;
}

.footer-brand .nav-logo {
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 16, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 22px;
    }

    .nav-cta {
        display: none;
    }

    .nav-burger {
        display: flex;
        z-index: 1001;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-phone {
        width: 220px;
        height: 420px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ============ ANIMATIONS ============ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate]:nth-child(2) {
    transition-delay: 0.1s;
}

/* Logo Polish */
.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Effectively makes black background transparent on dark theme */
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.4));
    border-radius: 8px;
}

/* Pricing Sub-text */
.pricing-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
}

/* Features Extra */
.features-extra {
    padding: 60px 0;
    margin-top: -60px;
}

/* Cookie Notice Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(22, 22, 26, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-logo {
    height: 40px;
    mix-blend-mode: screen;
}

.cookie-content span {
    font-size: 0.9rem;
    color: var(--text-dim);
    flex: 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Responsive Mobile Tweaks */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

[data-animate]:nth-child(3) {
    transition-delay: 0.2s;
}

[data-animate]:nth-child(4) {
    transition-delay: 0.3s;
}

[data-animate]:nth-child(5) {
    transition-delay: 0.15s;
}

[data-animate]:nth-child(6) {
    transition-delay: 0.25s;
}

/* ============ AI CHAT WIDGET ============ */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.ai-chat-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(99, 102, 241, 0.15);
    /* primary blue color */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.ai-chat-toggle:hover {
    transform: scale(1.05) translateY(-2px);
    background: rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
}

.chat-icon {
    font-size: 24px;
}

.chat-text {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 20px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.chat-header h4 {
    font-size: 15px;
    font-weight: 700;
}

.chat-header p {
    font-size: 11px;
    color: #06b6d4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-close {
    background: none;
    border: none;
    color: #8892b0;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.chat-close:hover {
    color: #e8eaf6;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.message.ai {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.message.typing {
    font-style: italic;
    color: #8892b0;
    font-size: 12px;
}

.chat-input-area {
    padding: 15px 20px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-area input:focus {
    border-color: #6366f1;
}

.chat-input-area button {
    width: 45px;
    height: 45px;
    background: #6366f1;
    border: none;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-input-area button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

/* ============ FREE KEY BLOCK ============ */
.free-key-section {
    padding: 72px 0 32px;
}

.free-key-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.free-key-card h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 8px;
}

.free-key-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.free-key-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.free-key-form input {
    width: 100%;
    background: rgba(5, 5, 16, 0.75);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 14px 14px;
    color: var(--text);
    outline: none;
}

.free-key-form input:focus {
    border-color: var(--accent);
}

.free-key-result {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.free-key-result code {
    display: block;
    margin-top: 8px;
    background: rgba(5, 5, 16, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 10px;
    word-break: break-all;
}

@media (max-width: 480px) {
    .ai-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 450px;
        bottom: 70px;
    }

    .chat-text {
        display: none;
    }

    .ai-chat-toggle {
        padding: 12px;
        border-radius: 50%;
    }
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {

    /* Pricing Cards - Horizontal Scroll */
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 24px 20px;
        margin: 0 -24px;
        scrollbar-width: none;
        /* Firefox */
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .pricing-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Reviews - Horizontal Scroll */
    .reviews-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 24px 20px;
        margin: 0 -24px;
        scrollbar-width: none;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Scroll Indicator */
    .pricing::after,
    .reviews::after {
        content: '← Свайп →';
        display: block;
        text-align: center;
        color: var(--text-muted);
        font-size: 12px;
        margin-top: 16px;
        opacity: 0.6;
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 0.6;
        }

        50% {
            opacity: 0.3;
        }
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hero */
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .free-key-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .pricing-card,
    .review-card {
        flex: 0 0 90%;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }
}
