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

:root {
    --bg: #07070d;
    --bg-secondary: #0d0d16;
    --bg-card: #13131f;
    --bg-card-hover: #181827;
    --border: #22223a;
    --border-hover: #2d2d48;
    --text: #ececf0;
    --text-muted: #9999b0;
    --text-dim: #6b6b82;
    --accent: #8b5cf6;
    --accent-2: #3b82f6;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --success: #10b981;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    --shadow-glow: 0 10px 40px -10px rgba(139, 92, 246, 0.4);
    --radius: 14px;
    --radius-lg: 20px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.bg-glow {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.18) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

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

ul {
    list-style: none;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 50px -10px rgba(139, 92, 246, 0.6);
}

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

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* ====== HEADER ====== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 13, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.header.scrolled {
    border-bottom-color: var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.5);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: auto;
}

.nav-link {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====== HERO ====== */
.hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ====== HERO VISUAL ====== */
.hero-visual {
    position: relative;
    min-height: 480px;
}

.chat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3a50;
}

.chat-dot:nth-child(1) { background: #f87171; }
.chat-dot:nth-child(2) { background: #fbbf24; }
.chat-dot:nth-child(3) { background: #34d399; }

.chat-title {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: slideIn 0.5s ease-out backwards;
}

.msg-user {
    justify-content: flex-end;
}

.msg:nth-child(1) { animation-delay: 0.2s; }
.msg:nth-child(2) { animation-delay: 0.8s; }
.msg:nth-child(3) { animation-delay: 1.8s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.5;
}

.msg-user .msg-bubble {
    background: var(--gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-ai .msg-bubble {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.typing {
    display: inline-flex;
    gap: 4px;
    padding: 6px 0 0;
}

.typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.fc-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 25%;
    left: -30px;
    animation-delay: 1.3s;
}

.fc-3 {
    top: 35%;
    right: -20px;
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.fc-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: var(--gradient-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-title {
    font-size: 13px;
    font-weight: 700;
}

.fc-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

/* ====== TRUST BAR ====== */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.trust-label {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.trust-logo:hover {
    opacity: 1;
}

/* ====== SECTIONS ====== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====== PROBLEM GRID ====== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ====== BENEFITS GRID ====== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--gradient-soft);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #c4b5fd;
}

.benefit-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ====== MODULES ====== */
.modules {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.module {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
    transition: all 0.3s;
}

.module:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 10px 40px -15px rgba(139, 92, 246, 0.3);
}

.module-num {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 56px;
}

.module-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.module-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.module-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ====== AUDIENCE ====== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s;
}

.audience-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.audience-emoji {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.audience-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ====== PRICING ====== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.price-card-popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 50%);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.price-card-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.price-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-value {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 10px;
}

.price-amount {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li.muted {
    color: var(--text-dim);
    opacity: 0.6;
}

.price-features .check {
    color: var(--accent);
    font-weight: 700;
    min-width: 14px;
}

.muted .check {
    color: var(--text-dim);
}

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

/* ====== REVIEWS ====== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.review-stars {
    color: #fbbf24;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
}

.review-role {
    color: var(--text-muted);
    font-size: 13px;
}

/* ====== FAQ ====== */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item[open] {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.faq-item summary {
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 26px 22px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ====== CTA ====== */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-top: 14px;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row .form-input {
    flex: 1;
    min-width: 200px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-input.invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
}

.form-submit {
    margin-top: 4px;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-error {
    color: #fca5a5;
    font-size: 14px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-sm);
}

.form-policy {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 24px;
}

.form-policy a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--border);
    transition: color 0.2s;
}

.form-policy a:hover {
    color: var(--accent);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tariff-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 14px;
    background: var(--gradient-soft);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 16px;
    max-width: 100%;
}

.tariff-badge-label {
    color: var(--text-muted);
}

.tariff-badge-value {
    color: var(--text);
    font-weight: 600;
}

.tariff-badge-clear {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.tariff-badge-clear:hover {
    color: var(--text);
}

.form-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.form-or::before,
.form-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.stepik-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.12));
    border: 1.5px solid rgba(139, 92, 246, 0.55);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.18);
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.stepik-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.stepik-link:hover {
    border-color: rgba(139, 92, 246, 0.85);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(236, 72, 153, 0.18));
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(139, 92, 246, 0.32);
}

.stepik-link:hover::after {
    opacity: 1;
}

.stepik-link-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient-primary, linear-gradient(135deg, #8b5cf6, #ec4899));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.45);
}

.stepik-link-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.stepik-link-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.stepik-link-sub {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.stepik-link-arrow {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 22px;
    font-weight: 700;
    transition: transform 0.2s;
}

.stepik-link:hover .stepik-link-arrow {
    transform: translateX(4px);
}

.form-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    filter: blur(40px);
}

.cta-emoji {
    font-size: 180px;
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.4));
}

/* ====== FOOTER ====== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

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

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90vw;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        flex-direction: column;
        gap: 14px;
        margin: 0;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
    }

    .cta-visual {
        display: none;
    }

    .module {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .price-card-popular {
        transform: none;
    }

    .price-card-popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 22px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-logos {
        gap: 24px;
    }

    .trust-logo {
        font-size: 15px;
    }

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

    .floating-card {
        padding: 10px 14px;
    }

    .fc-title {
        font-size: 12px;
    }

    .fc-subtitle {
        font-size: 11px;
    }

    .fc-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .faq-item summary {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 18px;
        font-size: 14px;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form .btn {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .form-input {
        min-width: 0;
    }
}
