:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --light-blue: #eff6ff;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.logo {
    display: flex;
    align-items: center;
}

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

.powered-by {
    font-size: 0.7rem;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.powered-by:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5.5rem 1.25rem 2.5rem;
    background: var(--gradient-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 52px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.btn-secondary:hover,
.btn-secondary:active {
    border-color: var(--primary);
    background: var(--light-blue);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.125rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SECTIONS GENERAL ==================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== PROBLEM SECTION ==================== */
.problem-section {
    padding: 4rem 1.25rem;
    background: var(--light);
}

.problem-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.problem-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
    font-size: 0.925rem;
}

/* ==================== SOLUTION SECTION ==================== */
.solution-section {
    padding: 4rem 1.25rem;
    background: var(--white);
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.solution-card {
    background: var(--light-blue);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.solution-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.solution-card p {
    color: var(--gray);
    font-size: 0.925rem;
}

/* Demo Section */
.demo-section {
    padding: 1.75rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.demo-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.demo-phone {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.demo-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.75rem;
}

/* ==================== STEPS SECTION ==================== */
.steps-section {
    padding: 4rem 1.25rem;
    background: var(--light);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    font-size: 0.925rem;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    padding: 4rem 1.25rem;
    background: var(--white);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.pricing-card.featured {
    background: var(--light-blue);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.pricing-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-setup {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--light);
    border-radius: 8px;
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-card.featured .pricing-cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.pricing-card:not(.featured) .pricing-cta {
    background: var(--white);
    color: var(--primary);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 4rem 1.25rem;
    background: var(--light);
    position: relative;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.cta-section>.cta-container>p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-form {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.06);
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--light);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    color: var(--dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--gray-light);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    min-height: 52px;
    -webkit-appearance: none;
    appearance: none;
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
}

.success-message {
    display: none;
    text-align: center;
    padding: 1.5rem;
}

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

.success-icon {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: #16a34a;
}

.success-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
    color: var(--dark);
}

.success-message p {
    color: var(--gray);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 4rem 1.25rem;
    background: var(--white);
}

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

.faq-item {
    background: var(--light);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    -webkit-user-select: none;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

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

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

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 2rem 1.25rem;
    background: var(--light);
    border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.footer-powered {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-powered a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-disclaimer {
    color: var(--gray-light);
    font-size: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(37, 99, 235, 0.05);
}

/* ==================== TABLET & DESKTOP ==================== */
@media (min-width: 640px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.375rem;
    }

    .hero {
        padding: 6rem 2rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

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

    .problem-section,
    .solution-section,
    .steps-section,
    .pricing-section,
    .cta-section,
    .faq-section {
        padding: 5rem 2rem;
    }

    .problem-grid,
    .solution-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-form {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }

    .nav-cta {
        padding: 0.75rem 1.5rem;
    }

    .hero {
        padding: 6.5rem 2rem 3.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-stats {
        gap: 4rem;
        margin-top: 2.5rem;
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

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

    .problem-section,
    .solution-section,
    .steps-section,
    .pricing-section,
    .cta-section,
    .faq-section {
        padding: 6rem 2rem;
    }

    .problem-grid,
    .solution-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .problem-card,
    .solution-card {
        padding: 2rem;
    }

    .steps-container {
        max-width: 700px;
        margin: 0 auto;
    }

    .step {
        gap: 1.5rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 1.375rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

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

    .pricing-card.featured {
        transform: scale(1.03);
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .pricing-price {
        font-size: 3rem;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 1.5rem;
    }

    .footer {
        padding: 2.5rem 2rem;
    }

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

    .footer-text {
        margin-bottom: 0;
    }

    .footer-disclaimer {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {

    .btn-primary:active,
    .btn-secondary:active,
    .pricing-cta:active,
    .form-submit:active {
        transform: scale(0.98);
    }

    .problem-card:hover,
    .solution-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* ==================== CHAT BUTTON & POPUP ==================== */
.btn-open-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.875rem 1.25rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
}

.btn-open-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.45);
}

.iframe-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 380px;
    height: 550px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}

.iframe-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.iframe-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.iframe-container {
    width: 100%;
    height: 100%;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 480px) {
    .iframe-popup {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .btn-open-chat {
        right: 16px;
        bottom: 16px;
    }
}