:root {
    /* Colors */
    --bg-color: #0E1117;
    --surface-color: #141A29;
    --text-main: #E6E8EE;
    --text-secondary: #9AA4B2;
    --accent-color: #3DDC84;
    /* Efficiency/Green */
    --accent-hover: #32b36b;

    /* Spacing */
    --container-width: 1240px;
    --section-spacing: 120px;
    --block-spacing: 40px;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
    /* Space for fixed header */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(14, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-sm {
    background-color: var(--accent-color);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
}

.btn-sm:hover {
    background-color: var(--accent-hover);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    /* Match height with secondary btn */
    font-size: 16px;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-secondary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* Sections */
section {
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 760px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--text-secondary);
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Redesigned (Universal Center) */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    text-align: center;
}

/* Background gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(61, 220, 132, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-centered-layout h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-centered-layout .subtitle {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: center;
    list-style: none;
    padding: 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    margin-top: 0;
    /* Reset margin */
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-centered-layout h1 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .hero-centered-layout .subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .features-list {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}



/* Pain Points */
.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.pain-list {
    list-style: none;
}

.pain-list li {
    margin-bottom: 24px;
    font-size: 18px;
    display: flex;
    align-items: start;
}

.pain-list li::before {
    content: "—";
    color: var(--text-secondary);
    margin-right: 12px;
}

.pain-highlight {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 40px;
    padding-left: 24px;
    border-left: 4px solid var(--accent-color);
}

/* Solution Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.steps-container::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--surface-color);
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.step-content p {
    font-size: 16px;
    max-width: 500px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.comparison-table td:first-child {
    width: 40%;
    color: var(--text-secondary);
}

.comparison-table td:last-child {
    font-weight: 600;
    color: var(--accent-color);
}


/* Segments */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.segment-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.segment-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.segment-card h3 {
    margin-bottom: 24px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.segment-card h3::before {
    content: "";
    /* Placeholder for icon */
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    /* In a real project, use actual SVGs here */
    display: inline-block;
    border-radius: 4px;
}

.segment-note {
    margin-top: 60px;
    text-align: center;
    font-size: 18px;
    color: var(--text-main);
}

.segment-badge {
    background: rgba(61, 220, 132, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
    margin-right: 12px;
    font-weight: 600;
}

/* Customization */
.customization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.customization-title {
    font-size: 40px;
    margin-bottom: 32px;
    line-height: 1.2;
}

.config-list {
    list-style: none;
    margin-top: 40px;
}

.config-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-list li span:last-child {
    color: var(--accent-color);
}

.customization-visual {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px dashed var(--text-secondary);
}

/* Pricing */
.trial-banner {
    background: linear-gradient(90deg, rgba(61, 220, 132, 0.2) 0%, rgba(61, 220, 132, 0.05) 100%);
    color: var(--accent-color);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    display: inline-block;
}

.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.accent {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(61, 220, 132, 0.15);
    z-index: 1;
}

.pricing-card.accent:hover {
    transform: scale(1.05) translateY(-8px);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge.popular {
    background: var(--accent-color);
    color: #000;
    border: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card.accent {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(61, 220, 132, 0.1);
}

.price-header {
    margin-bottom: 32px;
}

.price-title {
    text-transform: uppercase;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main);
}

.price-value span {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
}


/* Example Dialog */
.example-container {
    background: var(--surface-color);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
}

.example-chat {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.result-card {
    padding: 24px;
    border-top: 2px solid var(--accent-color);
    background: linear-gradient(180deg, rgba(61, 220, 132, 0.05) 0%, rgba(14, 17, 23, 0) 100%);
}

.result-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.result-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 120px 0;
    background: linear-gradient(0deg, rgba(61, 220, 132, 0.05) 0%, rgba(14, 17, 23, 0) 100%);
}

.final-cta h2 {
    font-size: 48px;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 24px;
}

.modal-content {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-submit-btn {
    width: 100%;
    margin-top: 12px;
}

/* ============================================
   RESPONSIVE DESIGN - All Screen Sizes
   ============================================ */

/* Tablet and below (< 1200px) */
@media (max-width: 1199px) {
    :root {
        --section-spacing: 80px;
    }

    body {
        padding-top: 70px;
        overflow-x: hidden;
    }

    h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 28px !important;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header h2 span {
        font-size: 16px;
    }

    /* Header - hide nav on mobile */
    .nav-links {
        display: none;
    }

    .header-container {
        padding: 0 16px;
        justify-content: center;
        /* Center logo when nav is hidden */
    }

    /* Hero overrides removed - using Mobile First defaults */

    /* Mobile Notification Card Styles */
    .mobile-notification-card {
        background: var(--surface-color);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        animation: slideUp 0.6s ease-out;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .notification-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 12px;
    }

    .bot-avatar-icon svg {
        width: 40px;
        height: 40px;
        background: rgba(61, 220, 132, 0.1);
        border-radius: 50%;
        padding: 8px;
    }

    .notification-info {
        display: flex;
        flex-direction: column;
    }

    .notif-title {
        font-weight: 600;
        color: var(--text-main);
        font-size: 14px;
    }

    .notif-time {
        font-size: 12px;
        color: var(--text-secondary);
    }

    .notification-body {
        margin-bottom: 20px;
        font-size: 14px;
        color: var(--text-main);
        line-height: 1.5;
        text-align: left;
        /* Ensure text is readable */
    }

    .notification-body p {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .notification-btn {
        width: 100%;
        background: var(--accent-color);
        color: #000;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .chat-simulation,
    .message {
        display: none;
    }

    .message {
        font-size: 12px;
        padding: 8px 12px;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        text-align: center;
        max-width: 400px;
    }

    .features-list {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* Pain section */
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pain-highlight {
        font-size: 20px;
    }

    /* Steps */
    .steps-container::before {
        left: 20px;
    }

    .step-item {
        gap: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    /* Comparison */
    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 16px 12px;
        font-size: 14px;
    }

    /* Pricing */
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.accent {
        transform: none;
    }

    .pricing-card.accent:hover {
        transform: translateY(-8px);
    }

    .price-value {
        font-size: 36px;
    }

    .trial-banner {
        font-size: 14px;
        padding: 12px 16px;
    }

    /* Final CTA */
    .final-cta {
        padding: 80px 0;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    /* Modal */
    .modal-content {
        padding: 24px;
        margin: 16px;
    }
}

/* Mobile (< 600px) */
@media (max-width: 600px) {
    :root {
        --section-spacing: 60px;
    }

    body {
        padding-top: 60px;
    }

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    p {
        font-size: 16px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header h2 span {
        font-size: 14px;
    }

    /* Header */
    .header {
        padding: 12px 0;
    }

    .logo {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-content .subtitle {
        font-size: 15px;
        margin-bottom: 24px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        margin-bottom: 24px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Pain */
    .pain-list li {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .pain-highlight {
        font-size: 18px;
        padding-left: 16px;
    }

    /* Steps */
    .steps-container {
        gap: 24px;
    }

    .step-content p {
        font-size: 14px;
    }

    /* Comparison */
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    /* Pricing */
    .pricing-card {
        padding: 24px;
    }

    .price-header {
        margin-bottom: 20px;
    }

    .price-title {
        font-size: 12px;
    }

    .price-value {
        font-size: 32px;
    }

    .price-value span {
        font-size: 14px;
    }

    .pricing-features {
        margin-bottom: 24px;
    }

    .pricing-features li {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .trial-banner {
        font-size: 13px;
        padding: 10px 14px;
    }

    /* Final CTA */
    .final-cta {
        padding: 60px 0;
    }

    .final-cta h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 20px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
}

/* Small phones (< 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .price-value {
        font-size: 28px;
    }

    .pricing-card {
        padding: 20px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .trial-banner {
        font-size: 12px;
        padding: 8px 12px;
    }
}