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

:root {
    --primary: #0F6FDE;
    --primary-dark: #0B59B5;
    --primary-light: #E8F2FF;
    --accent: #10B981;
    --accent-dark: #059669;
    --text: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --whatsapp: #25D366;
    --error: #EF4444;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

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

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

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

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(15,111,222,0.35);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-logo svg {
    width: 36px;
    height: 36px;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
}

/* ========== HERO ========== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(175deg, var(--primary-light) 0%, var(--bg) 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15,111,222,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

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

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.8;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ========== HERO MOCKUP ========== */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-mockup {
    background: var(--bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.mockup-topbar {
    background: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    min-height: 320px;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-sidebar-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-sidebar-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.mockup-sidebar-item svg {
    width: 16px;
    height: 16px;
}

.mockup-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--border);
}

.mockup-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.mockup-stat {
    text-align: center;
}

.mockup-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.mockup-stat-label {
    font-size: 0.65rem;
    color: var(--text-light);
}

.mockup-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mockup-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

.mockup-row-text {
    flex: 1;
}

.mockup-row-name {
    font-size: 0.78rem;
    font-weight: 600;
}

.mockup-row-sub {
    font-size: 0.65rem;
    color: var(--text-light);
}

.mockup-row-badge {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.badge-blue { background: #DBEAFE; color: #1D4ED8; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-orange { background: #FEF3C7; color: #92400E; }

/* ========== PROBLEMS ========== */
.problems {
    background: var(--bg-light);
}

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

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

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

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.problem-icon.red { background: #FEE2E2; }
.problem-icon.orange { background: #FEF3C7; }
.problem-icon.purple { background: #EDE9FE; }

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

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== SOLUTION ========== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-content .check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #D1FAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    color: var(--accent-dark);
}

.check-item-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.check-item-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.solution-visual {
    position: relative;
}

.solution-image-wrapper {
    background: linear-gradient(135deg, var(--primary-light), #F0F4FF);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.solution-floating-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.floating-card-top {
    margin-bottom: 20px;
}

.floating-card-top h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.floating-card-top p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.floating-card-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.field-group .field-value {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text);
}

.floating-badge {
    position: absolute;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-badge.top-right {
    top: 10px;
    right: -10px;
}

.floating-badge.bottom-left {
    bottom: 10px;
    left: -10px;
}

.floating-badge svg {
    width: 20px;
    height: 20px;
}

.floating-badge span {
    font-size: 0.82rem;
    font-weight: 600;
}

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

/* ========== FEATURES ========== */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

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

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== ADVANTAGES ========== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.advantage-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.4rem;
}

.advantage-card:nth-child(1) .advantage-number {
    background: #DBEAFE;
    color: #1D4ED8;
}
.advantage-card:nth-child(2) .advantage-number {
    background: #D1FAE5;
    color: #065F46;
}
.advantage-card:nth-child(3) .advantage-number {
    background: #EDE9FE;
    color: #5B21B6;
}

.advantage-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    background: var(--bg-light);
}

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

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 32px 28px;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(15,111,222,0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 12px 40px rgba(15,111,222,0.22);
}

.pricing-popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge.free {
    background: #D1FAE5;
    color: #065F46;
}

.pricing-badge.pro {
    background: #DBEAFE;
    color: #1D4ED8;
}

.pricing-price {
    margin-bottom: 16px;
}

.pricing-amount {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.pricing-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.pricing-description {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features li.highlight {
    color: var(--primary);
}

.pricing-features li.highlight svg {
    color: var(--primary);
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.88rem;
}

.pricing-btn.btn-lg {
    padding: 12px 20px;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-amount {
        font-size: 1.7rem;
    }
}

/* ========== FAQ ========== */
.faq {
    background: var(--bg-light);
}

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

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

.faq-item:hover {
    border-color: var(--primary);
}

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

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1E3A5F 100%);
    color: var(--text-white);
    text-align: center;
}

.cta-section .section-title {
    color: var(--text-white);
}

.cta-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ========== DOWNLOAD MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.modal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.modal p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

.form-group input.error {
    border-color: var(--error);
}

.form-error {
    font-size: 0.78rem;
    color: var(--error);
    display: none;
}

.form-group input.error ~ .form-error {
    display: block;
}

.modal-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.modal-form .form-note {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
}

/* Modal success state */
.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success.show {
    display: block;
}

.modal-success .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #D1FAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-success .success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-dark);
}

.modal-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.modal-success p {
    margin-bottom: 12px;
}

/* Form API error */
.form-api-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    font-size: 0.88rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

/* Spinner animation */
.spinner {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

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

.footer-links a {
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.82rem;
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 600px; margin: 0 auto; }
    .solution-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }

    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }

    .mobile-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 1001;
        padding: 24px;
        flex-direction: column;
        gap: 8px;
        overflow-y: auto;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a:not(.btn) {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text);
        border-radius: var(--radius-sm);
    }

    .mobile-menu a:not(.btn):hover {
        background: var(--bg-light);
    }

    .mobile-menu .btn {
        margin-top: 16px;
        justify-content: center;
    }

    .hero { padding: 110px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-description { font-size: 1rem; }

    .mockup-body { grid-template-columns: 1fr; }
    .mockup-sidebar { flex-direction: row; flex-wrap: wrap; }

    .problems-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

    .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }

    .modal { padding: 28px; }
}
