/* ===========================================================
   CircuitPi Landing Page
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #55c271;
    --primary-dark: #2f9e4c;
    --secondary: #6c63ff;
    --accent: #00c2ff;

    --bg: #05070d;
    --bg2: #0a0e18;
    --card: #10151f;

    --text: #ffffff;
    --text-light: #a9b6c9;

    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);

    --radius: 18px;
    --shadow: 0 25px 60px rgba(0, 0, 0, .35);
    --transition: .35s cubic-bezier(.2, .8, .2, 1);
    --container: 1280px;

    --font-head: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/*------------------------------ Reset ------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

/*------------------------------ Background ------------------------------*/
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(85, 194, 113, .16), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(108, 99, 255, .16), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(0, 194, 255, .10), transparent 38%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
    z-index: -1;
}

/*------------------------------ Typography ------------------------------*/
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(85, 194, 113, .12);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 44px;
    margin-bottom: 18px;
}

.section-title p {
    max-width: 720px;
    margin: auto;
    font-size: 18px;
}

/*------------------------------ Buttons ------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #38d37b);
    color: #06110b;
    box-shadow: 0 12px 30px rgba(50, 200, 100, .3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(50, 200, 100, .4);
}

.btn-outline {
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(18px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .09);
    transform: translateY(-3px);
}

.play-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(85, 194, 113, .2);
}

.btn-light {
    background: #fff;
    color: #111;
}

.btn-light:hover {
    transform: translateY(-3px);
}

/*------------------------------ Header ------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 7, 13, .72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Offsets anchor-scroll targets so the fixed header (82px tall) doesn't
   cover the top of the section they jump to. */
#features, #how, #pricing, #faq {
    scroll-margin-top: 100px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(120deg, #fff, #dfe9f7 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14.5px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-login {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-light);
}

.nav-login:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.nav-links-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 5%;
    background: rgba(5, 7, 13, .97);
    border-bottom: 1px solid var(--border);
}

.nav-links-mobile a {
    padding: 12px 4px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.nav-links-mobile .btn {
    margin-top: 10px;
    justify-content: center;
}

.nav-links-mobile.open {
    display: flex;
}

/*------------------------------ Hero ------------------------------*/
.hero {
    position: relative;
    padding-top: 170px;
    padding-bottom: 110px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.hero-glow-1 {
    width: 480px;
    height: 480px;
    background: rgba(85, 194, 113, .18);
    top: -120px;
    left: -120px;
}

.hero-glow-2 {
    width: 420px;
    height: 420px;
    background: rgba(108, 99, 255, .18);
    top: 40px;
    right: -140px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
    align-items: center;
}

.badge {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-strong);
    margin-bottom: 26px;
    font-weight: 600;
    font-size: 13.5px;
}

.hero h1 {
    font-size: 62px;
    margin-bottom: 26px;
}

.hero-highlight {
    display: block;
    background: linear-gradient(120deg, var(--primary), var(--accent) 60%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 6px;
}

.hero p {
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.hero-note {
    color: var(--text-light);
    font-size: 13px;
    margin: -22px 0 22px;
}

.hero-features {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #dfe9f7;
    font-weight: 600;
    font-size: 14px;
}

.hero-image {
    position: relative;
}

.browser-window {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #0a1120;
}

.browser-header span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #555;
}

.browser-header span:nth-child(1) { background: #ff5f57; }
.browser-header span:nth-child(2) { background: #ffbd2f; }
.browser-header span:nth-child(3) { background: #28ca42; }

.browser-url {
    margin-left: 12px;
    font-size: 12px;
    color: #7a889e;
    font-family: ui-monospace, monospace;
}

.video-preview {
    position: relative;
    cursor: pointer;
}

.dashboard-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background .25s;
}

.video-preview:hover .play-overlay {
    background: rgba(0, 0, 0, .25);
}

.play-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    opacity: 0;
    transform: scale(.85);
    transition: var(--transition);
}

.video-preview:hover .play-btn {
    opacity: 1;
    transform: scale(1);
}

.floating-chip {
    position: absolute;
    background: rgba(16, 21, 31, .9);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: float 5s ease-in-out infinite;
}

.chip-1 {
    top: -18px;
    right: 10%;
    animation-delay: .5s;
    color: var(--primary);
}

.chip-2 {
    bottom: -18px;
    left: 6%;
    animation-delay: 1.2s;
    color: var(--accent);
}

/*------------------------------ Trusted ------------------------------*/
.trusted {
    padding: 80px 0;
    text-align: center;
}

.trusted p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.logo-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.logo-grid div {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    font-weight: 700;
    color: #d5deed;
    transition: .3s;
    font-size: 14.5px;
}

.logo-grid div:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .08);
    border-color: var(--border-strong);
}

/*------------------------------ Stats ------------------------------*/
.stats {
    padding: 20px 0 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 44px 30px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-num {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 13.5px;
    color: var(--text-light);
    font-weight: 500;
}

/*========================================= FEATURES =========================================*/
.features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

.feature-card {
    position: relative;
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .35);
    border-color: rgba(85, 194, 113, .3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(85, 194, 113, .2), rgba(108, 99, 255, .15));
}

.feature-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15.5px;
    line-height: 1.75;
}

/*========================================= SHOWCASE =========================================*/
.showcase {
    padding: 120px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.showcase-content h2 {
    font-size: 46px;
    margin: 18px 0 20px;
}

.showcase-content p {
    margin-bottom: 28px;
    font-size: 17px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.check-list li {
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    font-size: 14.5px;
    font-weight: 500;
}

.showcase-image {
    background: rgba(255, 255, 255, .03);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: .4s;
}

.showcase-image:hover {
    transform: rotate(-1deg) scale(1.02);
}

/*========================================= WORKFLOW =========================================*/
.workflow {
    padding: 100px 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.workflow-card {
    text-align: center;
    padding: 32px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    transition: .3s;
}

.workflow-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .07);
}

.workflow-card span {
    display: flex;
    width: 60px;
    height: 60px;
    margin: auto auto 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-head);
}

.workflow-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.workflow-card p {
    font-size: 15px;
}

/*========================================= CTA =========================================*/
.cta {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 60px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1db954, #5b5eff);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}

.cta-box h2 {
    font-size: 46px;
    margin-bottom: 20px;
}

.cta-box p {
    color: #fff;
    opacity: .92;
    max-width: 680px;
    margin: 0 auto 36px;
    font-size: 18px;
}

/*========================================= SECTION SPACING =========================================*/
section {
    position: relative;
}

section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 120px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
}

/*========================================= ANIMATIONS =========================================*/
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    animation: fadeUp .8s ease forwards;
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        animation: none;
    }
}

/*========================================= PRICING =========================================*/
.pricing {
    padding: 110px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    position: relative;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 40px;
    transition: .4s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.035);
    box-shadow: 0 25px 60px rgba(85, 194, 113, .2);
}

.price-badge {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), #38d37b);
    color: #06110b;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 22px;
    align-self: flex-start;
}

.price-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 26px;
    font-family: var(--font-head);
}

.price span {
    font-size: 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 500;
}

.price-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    flex: 1;
}

.price-card ul li {
    color: #d7e0ef;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 14.5px;
}

/*========================================= TESTIMONIALS =========================================*/
.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: .3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.testimonial-card p {
    font-size: 17px;
    margin-bottom: 26px;
    line-height: 1.75;
    color: #dfe6f2;
}

.testimonial-card p::before {
    content: "“";
    color: var(--primary);
    font-size: 32px;
    font-family: var(--font-head);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.testimonial-card h4 {
    color: var(--primary);
    font-size: 15px;
}

/*========================================= FAQ =========================================*/
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 880px;
    margin: auto;
}

.faq-container details {
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
}

.faq-container details[open] {
    border-color: var(--border-strong);
}

.faq-container summary {
    padding: 22px 26px;
    cursor: pointer;
    font-size: 17.5px;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-container summary::-webkit-details-marker {
    display: none;
}

.faq-container summary::after {
    content: "+";
    font-size: 22px;
    color: var(--primary);
    transition: .3s;
}

.faq-container details[open] summary::after {
    transform: rotate(45deg);
}

.faq-container p {
    padding: 0 26px 22px;
    color: var(--text-light);
    font-size: 15px;
}

/*========================================= CONTACT =========================================*/
.contact {
    padding: 110px 0;
}

.contact-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(85, 194, 113, .15), rgba(108, 99, 255, .15));
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 80px 60px;
}

.contact-box h2 {
    font-size: 44px;
    margin-bottom: 18px;
}

.contact-box p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto 34px;
}

.contact-box .link {
    color: var(--primary);
    font-weight: 700;
}

/*========================================= FOOTER =========================================*/
footer {
    padding: 70px 0 26px;
    background: #030509;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 10px;
}

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

.footer-grid p {
    font-size: 14.5px;
}

.footer-grid h4 {
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-grid a {
    display: block;
    color: #b8c5d8;
    margin-bottom: 11px;
    transition: .3s;
    font-size: 14.5px;
}

.footer-grid a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 0;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, .12);
    padding-left: 0;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 14px;
}

/*========================================= LEGAL / ABOUT PAGES =========================================*/
.legal-page {
    padding: 160px 0 100px;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 760px;
}

.legal-page h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.legal-page .updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 22px;
    margin: 40px 0 14px;
}

.legal-page p {
    font-size: 15.5px;
    margin-bottom: 14px;
}

.legal-page ul {
    margin: 0 0 14px;
    padding-left: 4px;
}

.legal-page ul li {
    color: var(--text-light);
    font-size: 15.5px;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}

.legal-page ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 4px;
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 30px;
}

/*========================================= VIDEO MODAL =========================================*/
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 8, .88);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: min(92vw, 960px);
}

.video-modal-content video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.close-video {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--border-strong);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.close-video:hover {
    background: rgba(255, 255, 255, .2);
}

/*========================================= INQUIRY MODAL =========================================*/
.inquiry-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 8, .88);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.inquiry-modal.show {
    display: flex;
}

.inquiry-modal-content {
    position: relative;
    width: min(92vw, 480px);
    background: #0b0f16;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.inquiry-modal-content h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.inquiry-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

#inquiryForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#inquiryForm label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
}

#inquiryForm input,
#inquiryForm textarea {
    font: inherit;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
}

#inquiryForm input:focus,
#inquiryForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#inquiryForm textarea {
    resize: vertical;
}

#inquiryForm button[type="submit"] {
    margin-top: 4px;
}

.inquiry-error {
    color: #ff6b6b;
    font-size: 13px;
}

.inquiry-success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #04140a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.close-inquiry {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--border-strong);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.close-inquiry:hover {
    background: rgba(255, 255, 255, .2);
}

/*========================================= SCROLLBAR =========================================*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #05070d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 20px;
}

/*========================================= RESPONSIVE =========================================*/
@media (max-width: 1100px) {
    .hero-grid, .showcase-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 50px; }
    .section-title h2 { font-size: 36px; }
}

@media (max-width: 900px) {
    .nav-links, .navbar-actions { display: none; }
    .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
    .hero-grid, .showcase-grid, .pricing-grid, .testimonial-grid, .workflow-grid, .footer-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero { text-align: center; padding-top: 140px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-features { justify-content: center; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 40px; }
    .section-title h2 { font-size: 30px; }
    .price-card.featured { transform: none; }
    .contact-box, .cta-box { padding: 56px 28px; }
    .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .section-title h2 { font-size: 26px; }
    .btn { width: 100%; }
    .logo-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr 1fr; padding: 30px 18px; }
}
