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

/* ===== VARIABLES ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-primary-small {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 8px;
}

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

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

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

.btn-secondary-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--gray);
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-trust {
    font-size: 14px;
    color: var(--gray);
}

.hero-visual {
    margin-top: 60px;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.play-button.small {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.video-placeholder p {
    font-size: 18px;
    font-weight: 600;
}

/* ===== PROBLEM SECTION ===== */
.problem {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 60px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.problem-card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
}

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

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

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* ===== WHY DIFFERENT SECTION ===== */
.why-different {
    padding: 100px 0;
    background: var(--light-gray);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 16px;
}

.comparison-header {
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    font-weight: 600;
}

.comparison-row {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: rgba(99, 102, 241, 0.02);
}

.comparison-cell.feature {
    font-weight: 600;
}

.comparison-cell.highlight {
    color: var(--primary);
    font-weight: 600;
}

.key-differentiator {
    margin-top: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.key-differentiator h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.big-quote {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* ===== VERTICALS SECTION ===== */
.verticals {
    padding: 100px 0;
    background: var(--white);
}

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.vertical-card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.vertical-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.vertical-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.vertical-roi {
    font-size: 14px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 16px;
}

.vertical-features {
    margin: 20px 0;
}

.vertical-features li {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.vertical-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.vertical-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.vertical-link:hover {
    text-decoration: underline;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--light-gray);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 60px 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--gray);
}

.step-arrow {
    font-size: 32px;
    color: var(--primary);
    margin: 0 16px;
}

.features-showcase {
    margin-top: 80px;
}

.features-showcase h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
}

/* ===== CASE STUDIES ===== */
.case-studies {
    padding: 100px 0;
    background: var(--white);
}

.case-study.featured {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.case-study-logo {
    font-size: 64px;
    margin-bottom: 16px;
}

.case-study.featured h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.case-study-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

.case-study-results {
    display: flex;
    gap: 48px;
    margin-bottom: 32px;
}

.result-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-label {
    font-size: 14px;
    color: var(--gray);
}

.testimonial {
    font-size: 18px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.6;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.case-study-card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
}

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

.case-study-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.case-study-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.case-roi {
    color: var(--success);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.case-study-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 16px;
}

.link {
    color: var(--primary);
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    font-size: 16px;
    color: var(--gray);
}

.plan-note {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}

.plan-features {
    margin: 32px 0;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 15px;
}

.pricing-addons {
    margin-top: 80px;
    text-align: center;
}

.pricing-addons h3 {
    font-size: 32px;
    margin-bottom: 32px;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.addon-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--light-gray);
}

.addon-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.addon-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.addon-card p {
    font-size: 14px;
    color: var(--gray);
}

.pricing-note-small {
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray);
}

/* ===== ROI CALCULATOR TEASER ===== */
.roi-calculator-teaser {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.roi-calculator-teaser h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.roi-calculator-teaser p {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.faq-item {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
}

.faq-question {
    font-size: 20px;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta > p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
}

.demo-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.demo-form input,
.demo-form select {
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
}

.demo-form select {
    cursor: pointer;
}

.cta-trust {
    margin-top: 24px;
    font-size: 16px;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 32px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-contact {
    margin-top: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */

/* Prevent horizontal scroll on all screen sizes */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile Portrait (up to 768px) */
@media (max-width: 768px) {
    /* Container padding for mobile */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .nav-links li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

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

    /* Hero section */
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-content,
    .hero-visual {
        padding: 0;
    }

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

    /* Section titles */
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Grids - stack on mobile */
    .problem-grid,
    .vertical-grid,
    .features-grid,
    .case-studies-grid,
    .pricing-grid,
    .addon-grid,
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Comparison table - allow horizontal scroll */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
    }

    .comparison-table > div {
        min-width: 500px;
    }

    /* Featured case study */
    .case-study.featured {
        grid-template-columns: 1fr;
        padding: 32px 20px;
    }

    /* Steps - vertical on mobile */
    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 16px 0;
    }

    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
    }

    /* Fix video container */
    .video-container {
        max-width: 100%;
    }

    /* Fix hardware images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Pricing cards */
    .pricing-card {
        width: 100%;
    }

    /* Stats responsive */
    .stat {
        width: 100%;
    }
}

/* Mobile Landscape & Tablet Portrait (481px - 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    /* 2-column grid for tablets */
    .vertical-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Still stack these on tablet */
    .problem-grid,
    .case-studies-grid,
    .addon-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Landscape orientation specific fixes */
@media (max-height: 600px) and (orientation: landscape) {
    /* Reduce vertical padding in landscape */
    .hero,
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
    }

    .hero-cta {
        flex-direction: row;
        gap: 12px;
    }

    /* Compact stats */
    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* Extra small devices (max 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Smaller stats on tiny screens */
    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Compact padding */
    .hero,
    section {
        padding: 40px 0;
    }
}
