/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #0F766E;
    --primary-dark: #0D5C55;
    --primary-light: #14B8A6;
    --accent-color: #06B6D4;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #64748B;
    --background-light: #F8FAFC;
    --background-white: #FFFFFF;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --warning-color: #F59E0B;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-weight: 700;
    --subheading-weight: 600;
    --body-weight: 400;

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-links a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-nav-cta):hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F766E 0%, #06B6D4 100%);
    opacity: 0.05;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.hero-headline {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subheadline {
    font-size: 24px;
    color: var(--text-medium);
    margin-bottom: 48px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-bullets {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-weight: 500;
}

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

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

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

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

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   Section Styles
   =========================== */
.section-headline {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-dark);
}

/* ===========================
   Problem Section
   =========================== */
.problem-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

.problem-intro {
    font-size: 20px;
    color: var(--text-medium);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px;
    line-height: 1.8;
}

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

.problem-card {
    background: var(--background-light);
    padding: 40px 32px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.problem-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Solution Section
   =========================== */
.solution-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.05), rgba(6, 182, 212, 0.05));
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.solution-intro {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.8;
}

.solution-steps {
    list-style: none;
    margin-bottom: 32px;
}

.solution-steps li {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step-content strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-medium);
}

.solution-dashboard-note {
    background: var(--background-white);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    font-size: 16px;
    color: var(--text-medium);
}

.solution-benefits {
    background: var(--background-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.solution-benefits h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.benefit-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: start;
}

.benefit-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--success-color);
}

.benefit-item span {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

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

.feature-card:nth-child(4) {
    grid-column: 2 / 3;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--background-light);
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Value Section
   =========================== */
.value-section {
    padding: var(--section-padding) 0;
    background: var(--background-light);
}

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

.value-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Use Cases Section
   =========================== */
.use-cases-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.use-case-card:nth-child(4) {
    grid-column: 2 / 3;
}

.use-case-card {
    background: linear-gradient(135deg, var(--background-light), var(--background-white));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.use-case-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.use-case-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 24px;
    background: var(--background-white);
    border-radius: 12px;
}

.flow-step {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(15, 118, 110, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
}

.flow-arrow {
    color: var(--text-light);
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Testimonial Section
   =========================== */
.testimonial-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.testimonial-section .section-headline {
    color: white;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto 64px;
}

.testimonial-quote {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-quote p {
    margin-bottom: 32px;
}

.testimonial-quote footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
}

.testimonial-quote strong {
    font-size: 18px;
    font-weight: 700;
}

.testimonial-quote span {
    font-size: 16px;
    opacity: 0.9;
}

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

.logo-placeholder {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ===========================
   Pricing Section
   =========================== */
.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--background-light);
    text-align: center;
}

.pricing-intro {
    font-size: 20px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.pricing-cta {
    display: flex;
    justify-content: center;
}

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

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

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--background-white);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===========================
   Demo Section
   =========================== */
.demo-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.05), rgba(6, 182, 212, 0.05));
}

.demo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.demo-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.demo-content > p {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 48px;
}

.demo-form {
    background: var(--background-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

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

.form-row:last-of-type {
    grid-template-columns: 1fr;
}

.demo-form input,
.demo-form select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: var(--transition-smooth);
}

.demo-form input:focus,
.demo-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.demo-form button {
    margin-top: 16px;
    width: 100%;
}

.form-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

/* ===========================
   Blog Section
   =========================== */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
    text-align: center;
}

.blog-intro {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

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

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: white;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(4),
    .use-case-card:nth-child(4) {
        grid-column: 1 / 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

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

    .hero-headline {
        font-size: 42px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .section-headline {
        font-size: 36px;
    }

    .hero-bullets {
        flex-direction: column;
        align-items: start;
        text-align: left;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .problem-grid,
    .features-grid,
    .value-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(4),
    .use-case-card:nth-child(4) {
        grid-column: 1 / 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .testimonial-quote {
        font-size: 22px;
    }

    .demo-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .section-headline {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .demo-content h2 {
        font-size: 32px;
    }
}
