/* =========================================================
   ROOT
========================================================= */

:root {
    --dark: #075E54;
    --teal: #128C7E;
    --green: #25D366;
    --green-dark: #1ebe5a;
    --light: #e7f6ee;
    --text: #172b4d;
    --muted: #6b7c77;
    --border: #e4eaf1;
    --line: #e4ece8;
    --bg: #f4f8f6;
    --shadow: 0 12px 30px rgba(7, 94, 84, 0.12);
    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

pre {
    margin: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-sub {
    color: var(--muted);
    font-size: 10px;
    margin-top: -2px;
}

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

.nav-links a {
    color: #4c5e59;
    font-size: 13px;
    font-weight: 600;
}

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

/* Developers dropdown */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
    background: #f0f8f3;
    color: var(--teal);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Login / Signup */

.nav-actions {
    display: flex;
    align-items: center;
}

.login-btn {
    color: var(--dark);
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 700;
}

.nav-sep {
    color: var(--border);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    transition: 0.2s ease;
}

.btn-block {
    width: 100%;
}

.btn-primary:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(37, 211, 102, 0.17), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(18, 140, 126, 0.08), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #f1faf5 100%);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    padding-top: 65px;
    padding-bottom: 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 30px;
    background: var(--light);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
}

.hero h1 {
    margin: 0;
    max-width: 700px;
    color: var(--dark);
    font-size: clamp(46px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 900;
}

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

.hero-text {
    max-width: 610px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    margin-top: 18px;
    color: #82908c;
    font-size: 12px;
}


/* =========================================================
   API VISUAL (HERO)
========================================================= */

.api-visual {
    position: relative;
    width: 100%;
}

.api-window {
    min-width: 0;
    background: #102f2b;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 30px 80px rgba(7, 94, 84, 0.2);
}

/* Hero only: slight 3D tilt */
.api-visual .api-window {
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
}

.window-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-title {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-family: monospace;
}

.api-content {
    padding: 22px 5px 5px;
}

.api-label {
    color: #9eb9b3;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.api-endpoint {
    padding: 14px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    overflow: hidden;
}

.api-response {
    max-width: 100%;
    margin-top: 18px;
    padding: 17px;
    overflow-x: auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    color: #bde4d5;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.8;
    white-space: pre;
}

.api-label + .api-response {
    margin-top: 0;
}

.connection-pill {
    position: absolute;
    right: -18px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: var(--shadow);
}

.connection-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-text {
    font-size: 11px;
    color: var(--muted);
}

.connection-text strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
}

/* Code colours (hero + developer window) */

.code-key {
    color: #7ee2a8;
}

.code-value {
    color: #fff;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trust-text {
    color: #71807c;
    font-size: 13px;
}

.trust-text strong {
    color: var(--dark);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 95px 0;
}

.section-light {
    background: #fff;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.eyebrow {
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.section-heading p {
    margin: 15px auto 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 620px;
}


/* =========================================================
   FEATURES
========================================================= */

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

.feature {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(7, 94, 84, 0.07);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--dark);
    border-radius: 13px;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 17px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

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

.step {
    padding: 30px;
    background: #f8fbfa;
    border: 1px solid var(--border);
    border-radius: 17px;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 22px;
}

.step h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 17px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   USE CASES
========================================================= */

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

.use-case {
    display: flex;
    gap: 18px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.use-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.use-case h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 16px;
}

.use-case p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   DEMO SHOWCASE
========================================================= */

.demo-showcase {
    --demo-primary: #087f5b;
    --demo-dark: #15352d;
    --demo-muted: #687a73;
    --demo-border: #e2eae5;
    --demo-bg: #f5f8f6;

    padding: 75px 24px 85px;
    background: var(--demo-bg);
    color: var(--demo-dark);
}

.demo-showcase__container {
    max-width: 1100px;
    margin: 0 auto;
}

.demo-showcase__heading {
    max-width: 650px;
    margin: 0 auto 38px;
    text-align: center;
}

.demo-showcase__eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: #e0f3e9;
    color: var(--demo-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.demo-showcase__heading h2 {
    margin: 18px 0 12px;
    color: var(--demo-dark);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.demo-showcase__heading p {
    margin: 0;
    color: var(--demo-muted);
    font-size: 16px;
    line-height: 1.8;
}

.demo-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.demo-showcase__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--demo-border);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(21, 53, 45, 0.025);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.demo-showcase__card:hover {
    transform: translateY(-5px);
    border-color: #c8dfd2;
    box-shadow: 0 14px 32px rgba(21, 53, 45, 0.09);
}

.demo-showcase__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    margin-bottom: 20px;
    overflow: hidden;
}

.demo-showcase__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.demo-showcase__status {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 9px;
    border-radius: 5px;
    background: #e7f5ed;
    color: var(--demo-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.demo-showcase__card h3 {
    margin: 0 0 10px;
    color: var(--demo-dark);
    font-size: 19px;
    line-height: 1.4;
}

.demo-showcase__card p {
    flex-grow: 1;
    margin: 0 0 24px;
    color: var(--demo-muted);
    font-size: 14px;
    line-height: 1.8;
}

.demo-showcase__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--demo-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease;
}

.demo-showcase__button:hover {
    background: #066849;
    color: #fff;
}

.demo-showcase__button span {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.demo-showcase__button:hover span {
    transform: translateX(3px);
}


/* =========================================================
   DEVELOPERS
========================================================= */

#developers {
    overflow: hidden;
}

.developer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(35px, 6vw, 80px);
    align-items: center;
}

.developer h2 {
    margin: 0 0 18px;
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -1.3px;
}

.developer-text {
    max-width: 490px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.developer-cta {
    margin-top: 22px;
}

.integration-note {
    margin: 18px 0 0;
    color: #9eb9b3;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 85px 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(37, 211, 102, 0.15), transparent 30%),
        var(--dark);
    color: #fff;
}

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

.cta h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta p {
    margin: 17px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    max-width: 600px;
}

.cta-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cta .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 22px 65px rgba(26, 63, 48, 0.1);
}

.contact-form,
.contact-info {
    padding: 38px;
}

.contact-info {
    background: #f5f9f6;
    border-left: 1px solid var(--line);
}

.contact-form h3,
.contact-info h3 {
    margin: 0 0 9px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.5px;
}

.contact-intro {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-full {
    grid-column: 1 / -1;
}

.contact-fields label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.contact-fields input,
.contact-fields textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dce6e0;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.contact-fields textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-fields input:focus,
.contact-fields textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.contact-hint {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0;
}

.contact-label {
    margin: 1px 0 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.contact-value {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-value a {
    color: inherit;
}

.contact-value a:hover {
    color: var(--teal);
}

.contact-note {
    margin-top: 30px;
    padding: 18px;
    border-radius: 14px;
    background: #e8f4ec;
    color: #315747;
    font-size: 14px;
    line-height: 1.65;
}

.contact-note strong {
    display: block;
    margin-bottom: 4px;
    color: #194c37;
}

.social-title {
    margin: 28px 0 12px;
    font-size: 13px;
    font-weight: 800;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dce8e0;
    border-radius: 12px;
    color: #315747;
    transition: 0.2s ease;
}

.social-link:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #fff;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    color: var(--dark);
    font-weight: 900;
    font-size: 15px;
}

.footer-copy {
    color: var(--muted);
    font-size: 12px;
}

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

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

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


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

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 55px;
    }

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

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .api-visual {
        max-width: 650px;
        margin: 0 auto;
    }

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

@media (max-width: 850px) {

    .demo-showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .developer {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 620px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 650px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-inner {
        min-height: 65px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2.5px;
    }

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

    .api-visual .api-window {
        transform: none;
    }

    .connection-pill {
        right: 5px;
    }

    .features,
    .steps,
    .use-cases,
    .contact-fields {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 27px 23px;
    }

    .section {
        padding: 70px 0;
    }

    .footer-inner {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {

    .demo-showcase {
        padding: 52px 18px 60px;
    }

    .demo-showcase__heading {
        margin-bottom: 28px;
    }

    .demo-showcase__heading p {
        font-size: 14px;
    }

    .demo-showcase__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .demo-showcase__card {
        padding: 22px;
    }

    .demo-showcase__image {
        height: 165px;
    }
}

@media (max-width: 480px) {

    .developer h2 {
        font-size: 33px;
        letter-spacing: -0.8px;
    }

    .developer-text {
        font-size: 14px;
    }

    .api-response {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .demo-showcase__card,
    .demo-showcase__button,
    .demo-showcase__button span {
        transition: none;
    }

    .demo-showcase__card:hover {
        transform: none;
    }
}