/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #070707;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {
    --background: #070707;
    --background-2: #0c0c0c;
    --card: #101010;
    --card-hover: #141414;

    --white: #ffffff;
    --text: #eeeeee;
    --muted: #8b8b8b;
    --muted-2: #606060;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);

    --accent: #ffffff;

    --radius: 18px;

    --container: 1200px;

    --transition: 0.3s ease;
}


/* =====================================================
   GENERAL
===================================================== */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 120px 0;
}

.section-label {
    color: #8c8c8c;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 65px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.problem-content h2,
.automation-header h2,
.about-content h2,
.faq-intro h2,
.final-cta h2,
.contact-info h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 700;
}

.section-heading h2 span,
.problem-content h2 span,
.automation-header h2 span,
.about-content h2 span,
.faq-intro h2 span,
.final-cta h2 span,
.contact-info h2 span {
    color: #666;
}

.section-heading p {
    color: var(--muted);
    margin-top: 25px;
    font-size: 16px;
    max-width: 600px;
}

.section-heading.center p {
    margin-left: auto;
    margin-right: auto;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 24px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.12);
}

.btn-secondary {
    border: 1px solid var(--border-light);
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

.large-btn {
    padding: 18px 32px;
}


/* =====================================================
   NAVIGATION
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    background: rgba(7, 7, 7, 0.75);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid transparent;

    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: #666;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #888;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    background: white;
    color: black;

    padding: 11px 18px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    background: transparent;
    border: 0;

    width: 35px;
    height: 35px;
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: white;

    margin: 5px auto;

    transition: var(--transition);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    padding-top: 100px;

    overflow: hidden;
}

.hero-grid {
    position: absolute;
    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: 70px 70px;

    mask-image: linear-gradient(to bottom, black, transparent);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;

    align-items: center;

    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 12px;

    border: 1px solid var(--border);

    border-radius: 100px;

    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 700;

    color: #aaa;

    margin-bottom: 25px;
}

.status-dot {
    width: 6px;
    height: 6px;

    background: white;

    border-radius: 50%;

    box-shadow: 0 0 10px white;
}

.hero h1 {
    font-size: clamp(65px, 8vw, 110px);

    line-height: .9;

    letter-spacing: -7px;

    max-width: 700px;
}

.hero h1 span {
    color: #555;
}

.hero-description {
    color: #858585;

    max-width: 580px;

    margin-top: 30px;

    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 35px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 35px;

    color: #666;

    font-size: 11px;
}

.trust-line {
    width: 30px;
    height: 1px;

    background: #555;
}


/* HERO SYSTEM */

.system-visual {
    position: relative;
}

.visual-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    background: rgba(255,255,255,.06);

    filter: blur(100px);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.system-card {
    position: relative;

    background: rgba(15,15,15,.8);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 30px;

    backdrop-filter: blur(20px);

    box-shadow: 0 30px 100px rgba(0,0,0,.5);

    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

.system-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.system-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: #555;
}

.system-header h3 {
    margin-top: 5px;
    font-size: 18px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 8px;
    letter-spacing: 1px;

    color: #888;

    border: 1px solid var(--border);

    padding: 7px 9px;

    border-radius: 100px;
}

.live-badge span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: white;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    50% {
        opacity: .3;
    }

}

.workflow {
    display: flex;
    flex-direction: column;
}

.workflow-node {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #0c0c0c;

    transition: var(--transition);
}

.workflow-node.active {
    border-color: rgba(255,255,255,.25);

    background: #151515;

    box-shadow: 0 0 30px rgba(255,255,255,.04);
}

.node-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #171717;

    color: #777;

    font-size: 9px;
    font-weight: 700;
}

.workflow-node strong {
    display: block;

    font-size: 12px;
}

.workflow-node small {
    display: block;

    color: #555;

    font-size: 9px;

    margin-top: 2px;
}

.connection {
    width: 1px;
    height: 20px;

    background: #292929;

    margin-left: 31px;
}


/* =====================================================
   PROBLEM
===================================================== */

.problem {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.problem-content {
    max-width: 850px;

    margin-bottom: 60px;
}

.problem-content p {
    color: #777;

    margin-top: 25px;

    max-width: 550px;
}

.problem-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.problem-card {
    padding: 35px 25px;

    border-right: 1px solid var(--border);
}

.problem-card:last-child {
    border-right: 0;
}

.problem-number {
    color: #555;

    font-size: 10px;
}

.problem-card h3 {
    margin-top: 30px;

    font-size: 17px;
}

.problem-card p {
    color: #666;

    font-size: 12px;

    margin-top: 12px;
}


/* =====================================================
   SERVICES
===================================================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.service-card {
    position: relative;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 35px;

    min-height: 480px;

    display: flex;
    flex-direction: column;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);

    background: var(--card-hover);

    border-color: var(--border-light);
}

.featured-service {
    background: #111;

    border-color: rgba(255,255,255,.18);
}

.service-top {
    display: flex;
    justify-content: space-between;

    color: #555;

    font-size: 11px;
}

.service-arrow {
    font-size: 18px;
}

.service-icon {
    margin-top: 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 12px;

    font-size: 20px;

    color: #aaa;
}

.service-card h3 {
    font-size: 25px;

    margin-top: 25px;
}

.service-card > p {
    color: #777;

    font-size: 13px;

    margin-top: 12px;
}

.service-card ul {
    margin-top: 25px;
}

.service-card li {
    color: #777;

    font-size: 11px;

    margin: 8px 0;
}

.service-link {
    margin-top: auto;

    padding-top: 25px;

    color: white;

    font-size: 11px;

    font-weight: 600;
}


/* =====================================================
   AUTOMATION
===================================================== */

.automation {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.automation-header {
    display: flex;

    justify-content: space-between;

    gap: 60px;

    align-items: end;

    margin-bottom: 70px;
}

.automation-header h2 {
    max-width: 700px;
}

.automation-header p {
    max-width: 350px;

    color: #666;

    font-size: 13px;
}

.automation-system {
    position: relative;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.automation-line {
    position: absolute;

    top: 40px;
    left: 8%;
    right: 8%;

    height: 1px;

    background: #252525;
}

.auto-node {
    position: relative;

    z-index: 1;

    text-align: center;

    background: #0a0a0a;
}

.auto-icon {
    width: 80px;
    height: 80px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: #101010;

    color: #666;

    font-size: 10px;

    transition: var(--transition);
}

.auto-node:hover .auto-icon,
.active-auto .auto-icon {
    background: white;

    color: black;

    border-color: white;

    box-shadow: 0 0 40px rgba(255,255,255,.12);
}

.auto-node strong {
    display: block;

    font-size: 12px;

    margin-top: 22px;
}

.auto-node span {
    display: block;

    font-size: 9px;

    color: #555;

    margin-top: 5px;
}

.automation-bottom {
    display: flex;

    justify-content: space-between;

    margin-top: 70px;

    padding-top: 30px;

    border-top: 1px solid var(--border);
}

.automation-bottom strong,
.automation-bottom span {
    margin-right: 20px;

    font-size: 12px;
}

.automation-bottom strong {
    color: white;
}

.automation-bottom span {
    color: #555;
}

.powered {
    color: #444 !important;
}


/* =====================================================
   PROCESS
===================================================== */

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.process-item {
    padding: 35px 25px;

    border-right: 1px solid var(--border);

    position: relative;
}

.process-item:last-child {
    border-right: 0;
}

.process-item > span {
    color: #555;

    font-size: 11px;
}

.process-line {
    width: 30px;
    height: 1px;

    background: #333;

    margin: 25px 0;
}

.process-item h3 {
    font-size: 20px;
}

.process-item p {
    color: #666;

    font-size: 12px;

    margin-top: 10px;
}


/* =====================================================
   PRICING
===================================================== */

.pricing {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    background: #0e0e0e;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 35px;

    display: flex;
    flex-direction: column;

    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-light);
}

.pricing-card.popular {
    border-color: rgba(255,255,255,.3);

    background: #111;
}

.popular-badge {
    position: absolute;

    top: 0;
    right: 25px;

    background: white;

    color: black;

    padding: 7px 12px;

    border-radius: 0 0 6px 6px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}

.pricing-name {
    font-size: 10px;

    letter-spacing: 2px;

    color: #777;

    font-weight: 700;
}

.pricing-header h3 {
    font-size: 42px;

    letter-spacing: -2px;

    margin-top: 18px;
}

.pricing-header h3 small {
    font-size: 11px;

    color: #555;

    font-weight: 500;

    letter-spacing: 0;
}

.pricing-header p {
    color: #777;

    font-size: 12px;

    margin-top: 5px;
}

.pricing-divider {
    height: 1px;

    background: var(--border);

    margin: 30px 0;
}

.pricing-list {
    flex: 1;
}

.pricing-list li {
    color: #777;

    font-size: 11px;

    margin: 13px 0;
}

.pricing-list li::first-letter {
    color: white;
}

.pricing-btn {
    display: flex;

    justify-content: center;

    align-items: center;

    height: 48px;

    border: 1px solid var(--border-light);

    border-radius: 7px;

    margin-top: 30px;

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.pricing-btn:hover {
    background: white;

    color: black;
}

.primary-price {
    background: white;

    color: black;

    border-color: white;
}

.primary-price:hover {
    background: #ddd;
}

.pricing-note {
    color: #444;

    font-size: 9px;

    margin-top: 15px;

    text-align: center;
}

.pricing-disclaimer {
    margin-top: 25px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 10px;

    color: #555;

    font-size: 10px;
}

.pricing-disclaimer strong {
    color: #888;
}

.pricing-disclaimer p {
    margin-top: 5px;
}


/* =====================================================
   COMPARISON
===================================================== */

.comparison-grid {
    display: grid;

    grid-template-columns: 1fr 80px 1fr;

    align-items: center;

    gap: 20px;
}

.comparison-card {
    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 40px;
}

.comparison-card.after {
    background: #111;

    border-color: rgba(255,255,255,.18);
}

.comparison-title {
    font-size: 9px;

    letter-spacing: 2px;

    color: #555;

    display: flex;

    gap: 15px;
}

.comparison-title span {
    color: #777;
}

.comparison-card h3 {
    margin-top: 25px;

    font-size: 25px;
}

.comparison-card ul {
    margin-top: 30px;
}

.comparison-card li {
    color: #666;

    font-size: 12px;

    margin: 13px 0;
}

.comparison-arrow {
    text-align: center;

    font-size: 30px;

    color: #555;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.about-content p {
    color: #707070;

    font-size: 14px;

    max-width: 550px;

    margin-top: 25px;
}

.about-content .btn {
    margin-top: 30px;
}

.about-stats {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.stat-card {
    padding: 35px;

    background: #101010;

    border: 1px solid var(--border);

    border-radius: 15px;
}

.stat-card span {
    color: #444;

    font-size: 10px;
}

.stat-card strong {
    display: block;

    font-size: 25px;

    margin-top: 40px;
}

.stat-card small {
    color: #555;

    font-size: 10px;
}


/* =====================================================
   WHY
===================================================== */

.why-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.why-card {
    padding: 35px;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.why-card:nth-child(3n) {
    border-right: 0;
}

.why-card span {
    color: #444;

    font-size: 10px;
}

.why-card h3 {
    margin-top: 30px;

    font-size: 17px;
}

.why-card p {
    color: #666;

    font-size: 12px;

    margin-top: 10px;
}


/* =====================================================
   FAQ
===================================================== */

.faq {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
}

.faq-grid {
    display: grid;

    grid-template-columns: .7fr 1.3fr;

    gap: 100px;
}

.faq-intro p {
    color: #666;

    margin-top: 25px;

    font-size: 13px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;

    background: none;

    border: 0;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 24px 0;

    font-size: 13px;

    text-align: left;
}

.faq-icon {
    color: #555;

    font-size: 20px;

    transition: var(--transition);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height .4s ease;
}

.faq-answer p {
    color: #666;

    font-size: 12px;

    padding-bottom: 25px;

    max-width: 600px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);

    color: white;
}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta {
    position: relative;

    padding: 150px 0;

    text-align: center;

    overflow: hidden;
}

.cta-glow {
    position: absolute;

    width: 500px;
    height: 300px;

    background: rgba(255,255,255,.04);

    filter: blur(100px);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.cta-content {
    position: relative;
}

.final-cta h2 {
    max-width: 850px;

    margin: auto;
}

.final-cta p {
    max-width: 550px;

    margin: 25px auto;

    color: #666;

    font-size: 14px;
}

.final-cta .btn {
    margin-top: 20px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: #0a0a0a;

    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;
}

.contact-info p {
    color: #666;

    max-width: 450px;

    margin-top: 25px;

    font-size: 13px;
}

.contact-details {
    margin-top: 50px;
}

.contact-detail {
    padding: 20px 0;

    border-top: 1px solid var(--border);
}

.contact-detail span {
    display: block;

    color: #444;

    font-size: 8px;

    letter-spacing: 2px;
}

.contact-detail strong {
    display: block;

    margin-top: 8px;

    font-size: 12px;

    font-weight: 500;
}


/* FORM */

.contact-form {
    background: #101010;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 35px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #777;

    font-size: 10px;

    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    background: #0b0b0b;

    border: 1px solid var(--border);

    border-radius: 7px;

    color: white;

    padding: 13px;

    outline: none;

    font-size: 11px;

    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255,255,255,.3);
}

.form-group select option {
    background: #111;
}

.form-submit {
    width: 100%;

    border: 0;

    background: white;

    color: black;

    padding: 15px;

    border-radius: 7px;

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);

    box-shadow: 0 15px 30px rgba(255,255,255,.08);
}

.form-success {
    display: none;

    align-items: center;

    gap: 15px;

    margin-top: 20px;

    padding: 15px;

    background: rgba(255,255,255,.04);

    border: 1px solid var(--border);

    border-radius: 8px;
}

.form-success.show {
    display: flex;
}

.form-success > span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    color: black;

    font-size: 12px;
}

.form-success strong {
    font-size: 11px;
}

.form-success p {
    color: #555;

    font-size: 9px;

    margin-top: 2px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #050505;

    border-top: 1px solid var(--border);

    padding: 60px 0 25px;
}

.footer-top {
    display: flex;

    justify-content: space-between;

    padding-bottom: 60px;
}

.footer-brand p {
    color: #444;

    font-size: 11px;

    margin-top: 10px;
}

.footer-links {
    display: flex;

    gap: 100px;
}

.footer-links div {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links span {
    color: #444;

    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.footer-links a {
    color: #666;

    font-size: 10px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border);

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    color: #3e3e3e;

    font-size: 9px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}


/* =====================================================
   SCROLL ANIMATIONS
===================================================== */

.service-card,
.problem-card,
.process-item,
.why-card,
.pricing-card,
.comparison-card,
.stat-card {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal {
    opacity: 1 !important;

    transform: translateY(0) !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .nav-links {
        gap: 18px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        padding-top: 60px;
    }

    .system-visual {
        max-width: 650px;

        width: 100%;

        margin: auto;
    }

    .problem-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-card:nth-child(2) {
        border-right: 0;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .pricing-card {
        max-width: 600px;

        width: 100%;

        margin: auto;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .faq-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:nth-child(3n) {
        border-right: 1px solid var(--border);
    }

    .why-card:nth-child(2n) {
        border-right: 0;
    }

}


@media (max-width: 700px) {

    .section {
        padding: 80px 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.mobile-open {
        display: flex;

        position: absolute;

        top: 78px;
        left: 4%;
        right: 4%;

        background: #101010;

        border: 1px solid var(--border);

        border-radius: 12px;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 65px;

        letter-spacing: -5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .system-card {
        padding: 20px;
    }

    .problem-grid,
    .process-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .process-item,
    .why-card {
        border-right: 0 !important;
    }

    .automation-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .automation-system {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .automation-line {
        width: 1px;
        height: 80%;

        top: 10%;
        left: 40px;

        right: auto;
    }

    .auto-node {
        display: flex;

        align-items: center;

        text-align: left;

        gap: 20px;
    }

    .auto-icon {
        margin: 0;

        flex-shrink: 0;
    }

    .auto-node strong {
        margin-top: 0;
    }

    .automation-bottom {
        flex-direction: column;

        gap: 20px;
    }

    .automation-bottom span,
    .automation-bottom strong {
        display: block;

        margin-bottom: 8px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;

        gap: 35px;
    }

    .footer-links {
        gap: 60px;
    }

    .footer-bottom div {
        flex-direction: column;

        gap: 8px;
    }

}


@media (max-width: 450px) {

    .hero h1 {
        font-size: 54px;

        letter-spacing: -4px;
    }

    .section-heading h2,
    .problem-content h2,
    .automation-header h2,
    .about-content h2,
    .faq-intro h2,
    .final-cta h2,
    .contact-info h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .pricing-card,
    .service-card,
    .comparison-card {
        padding: 25px;
    }

}
/* =========================================================
   COSMIC / GALAXY BACKGROUND
========================================================= */

.space-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -10;

    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(70, 30, 140, 0.12),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 25%,
            rgba(20, 90, 180, 0.12),
            transparent 40%
        ),
        #02030a;
}


/* =========================================================
   DENSE STAR FIELD
========================================================= */

.stars {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-repeat: repeat;
}


/* Tiny distant stars */

.stars-small {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.9) 0.7px, transparent 1px),
        radial-gradient(circle, rgba(150,190,255,.8) 0.8px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,.7) 0.6px, transparent 1px);

    background-size:
        85px 85px,
        130px 130px,
        170px 170px;

    background-position:
        10px 20px,
        50px 80px,
        120px 40px;

    opacity: .8;

    animation: starDriftSmall 120s linear infinite;
}


/* Medium stars */

.stars-medium {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(130,170,255,.9) 1px, transparent 1.8px),
        radial-gradient(circle, rgba(220,190,255,.8) 1px, transparent 1.8px);

    background-size:
        220px 220px,
        280px 280px,
        350px 350px;

    background-position:
        30px 100px,
        170px 20px,
        80px 240px;

    opacity: .65;

    animation: starDriftMedium 180s linear infinite;
}


/* Large glowing stars */

.stars-large {
    background-image:
        radial-gradient(
            circle,
            white 0,
            rgba(255,255,255,.95) 1px,
            rgba(150,180,255,.7) 2px,
            transparent 4px
        );

    background-size: 420px 420px;

    background-position:
        120px 80px;

    opacity: .75;

    animation: starTwinkle 5s ease-in-out infinite alternate;
}


/* =========================================================
   STAR MOVEMENT
========================================================= */

@keyframes starDriftSmall {

    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-150px, 100px);
    }

}


@keyframes starDriftMedium {

    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(120px, -100px);
    }

}


@keyframes starTwinkle {

    0% {
        opacity: .35;
    }

    50% {
        opacity: .8;
    }

    100% {
        opacity: .45;
    }

}


/* =========================================================
   GALAXY / MILKY WAY EFFECT
========================================================= */

.space-background::before {

    content: "";

    position: absolute;

    width: 160%;
    height: 35%;

    left: -30%;
    top: 35%;

    transform: rotate(-25deg);

    background:
        radial-gradient(
            ellipse at center,
            rgba(90, 50, 180, .28),
            rgba(30, 80, 180, .16),
            transparent 65%
        );

    filter: blur(35px);

    opacity: .75;

}


/* Fine galaxy dust */

.space-background::after {

    content: "";

    position: absolute;

    width: 150%;
    height: 20%;

    left: -25%;
    top: 43%;

    transform: rotate(-25deg);

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.8) 1px,
            transparent 1.5px
        );

    background-size: 45px 45px;

    opacity: .18;

    filter: blur(.5px);

}


/* =========================================================
   PURPLE / BLUE NEBULAS
========================================================= */

.nebula {

    position: absolute;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    filter: blur(130px);

    opacity: .1;

}


.nebula-one {

    top: -250px;
    right: -150px;

    background:
        radial-gradient(
            circle,
            #286cff,
            #642cff 40%,
            transparent 70%
        );

    animation:
        nebulaMoveOne 25s ease-in-out infinite alternate;

}


.nebula-two {

    bottom: -250px;
    left: -200px;

    background:
        radial-gradient(
            circle,
            #7b2cff,
            #164eff 40%,
            transparent 70%
        );

    animation:
        nebulaMoveTwo 30s ease-in-out infinite alternate;

}


@keyframes nebulaMoveOne {

    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-100px, 80px) scale(1.2);
    }

}


@keyframes nebulaMoveTwo {

    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, -80px) scale(1.25);
    }

}


/* =========================================================
   SHOOTING STARS
========================================================= */

.shooting-star {

    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 5px #ffffff,
        0 0 12px rgba(100, 150, 255, .9),
        0 0 25px rgba(100, 100, 255, .7);

    opacity: 0;

    z-index: 5;
}


/* ---------------------------------------------------------
   IMPORTANT:
   The tail is positioned BEHIND the star.
   --------------------------------------------------------- */

.shooting-star::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 2px;

    top: 50%;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.95),
            rgba(130,170,255,.55),
            transparent
        );

    filter: blur(.5px);

}


/* =========================================================
   SHOOTING STAR #1
   Moves TOP-RIGHT → BOTTOM-LEFT
   Tail therefore points TOP-RIGHT
========================================================= */

.shooting-star-1 {

    top: 18%;
    left: 78%;

    animation:
        shootingOne 9s linear infinite;
}


.shooting-star-1::after {

    left: 1px;

    transform:
        translateY(-50%)
        rotate(-35deg);

}


/* =========================================================
   SHOOTING STAR #2
   Moves TOP-LEFT → BOTTOM-RIGHT
   Tail points TOP-LEFT
========================================================= */

.shooting-star-2 {

    top: 28%;
    left: 18%;

    animation:
        shootingTwo 13s linear infinite;

    animation-delay: 4s;
}


.shooting-star-2::after {

    right: 1px;

    transform:
        translateY(-50%)
        rotate(35deg);

    transform-origin: right center;

}


/* =========================================================
   SHOOTING STAR #3
   Moves TOP-RIGHT → BOTTOM-LEFT
========================================================= */

.shooting-star-3 {

    top: 52%;
    left: 88%;

    animation:
        shootingThree 16s linear infinite;

    animation-delay: 8s;
}


.shooting-star-3::after {

    left: 1px;

    transform:
        translateY(-50%)
        rotate(-35deg);

}


/* =========================================================
   SHOOTING STAR ANIMATIONS
========================================================= */

@keyframes shootingOne {

    0% {
        opacity: 0;

        transform:
            translate(0, 0)
            scale(.2);
    }

    8% {
        opacity: 1;

        transform:
            translate(0, 0)
            scale(1);
    }

    25% {
        opacity: 1;

        transform:
            translate(-550px, 350px)
            scale(1);
    }

    30% {
        opacity: 0;

        transform:
            translate(-700px, 450px)
            scale(.5);
    }

    100% {
        opacity: 0;
    }

}


@keyframes shootingTwo {

    0% {
        opacity: 0;

        transform:
            translate(0, 0)
            scale(.2);
    }

    8% {
        opacity: 1;

        transform:
            translate(0, 0)
            scale(1);
    }

    25% {
        opacity: 1;

        transform:
            translate(500px, 300px)
            scale(1);
    }

    30% {
        opacity: 0;

        transform:
            translate(650px, 400px)
            scale(.5);
    }

    100% {
        opacity: 0;
    }

}


@keyframes shootingThree {

    0% {
        opacity: 0;

        transform:
            translate(0, 0)
            scale(.2);
    }

    10% {
        opacity: 1;

        transform:
            translate(0, 0)
            scale(1);
    }

    27% {
        opacity: 1;

        transform:
            translate(-500px, 320px)
            scale(1);
    }

    32% {
        opacity: 0;

        transform:
            translate(-650px, 420px)
            scale(.5);
    }

    100% {
        opacity: 0;
    }

}


/* =========================================================
   CONTENT ABOVE BACKGROUND
========================================================= */

.navbar,
main,
footer {

    position: relative;

    z-index: 10;

}


/* =========================================================
   MOBILE OPTIMISATION
========================================================= */

@media (max-width: 768px) {

    .stars {
        opacity: .65;
    }

    .nebula {
        width: 400px;
        height: 400px;
    }

    .shooting-star::after {
        width: 110px;
    }

}