:root {
    --text-primary: #12141d;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;

    --accent-vibrant: #00bfa5;
    --accent-gradient: linear-gradient(135deg, #00bfa5 0%, #00897b 100%);
    --accent-hover: #00897b;

    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Background blobs removed for SEO performance and clean look */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-light);
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Natively makes white background transparent on light backgrounds without losing sharpness */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.lang-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* --- WOW Premium Hero Background Engine --- */
.hero {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
    /* Tighter padding to keep buttons above fold */
    text-align: center;
    position: relative;
    background: #f8fafc;
    /* Elegant, clean slate background */
    overflow: hidden;
    min-height: 85vh;
    /* Ensure dramatic presence */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Ambient Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: floatOrb 25s ease-in-out infinite alternate;
}

.hero-orb-1 {
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.15) 0%, transparent 70%);
    top: -20vh;
    left: -15vw;
}

.hero-orb-2 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    bottom: -15vh;
    right: -15vw;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(8vw, 6vw) scale(1.1);
    }
}

/* Animated Data/Link Streams (Beams) */
.link-beam {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(0, 191, 165, 0.5), transparent);
    animation: beamDrop 6s linear infinite;
    opacity: 0;
}

.beam-1 {
    left: 18%;
    top: -100px;
    height: 250px;
    animation-duration: 7s;
}

.beam-2 {
    right: 22%;
    top: -150px;
    height: 350px;
    animation-duration: 10s;
    animation-delay: 2.5s;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.beam-3 {
    left: 78%;
    top: -100px;
    height: 180px;
    animation-duration: 8s;
    animation-delay: 5s;
}

@keyframes beamDrop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0;
    }
}

/* Floating SEO Glass Cards */
.floating-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: 0 15px 35px rgba(0, 191, 165, 0.12);
    animation: floatNode 15s ease-in-out infinite alternate;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    z-index: 1;
    /* Above beams, below relative content */
}

.node-1 {
    top: 22%;
    left: 8%;
    animation-duration: 18s;
    transform: rotate(-6deg);
}

.node-2 {
    top: 65%;
    right: 6%;
    animation-duration: 22s;
    animation-delay: -5s;
    transform: rotate(4deg);
}

.node-3 {
    top: 40%;
    left: 12%;
    animation-duration: 25s;
    animation-delay: -12s;
    transform: rotate(-3deg);
}

@keyframes floatNode {
    0% {
        transform: translateY(0) rotate(-6deg);
    }

    100% {
        transform: translateY(-35px) rotate(6deg);
    }
}

.node-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.node-1 .node-icon {
    background: #e0f2fe;
}

.node-2 .node-icon {
    background: #dcfce7;
}

.node-3 .node-icon {
    background: #fef3c7;
}

/* --- End WOW Background --- */

.hero-container {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-note {
    font-size: 0.875rem;
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Hero Overview (Attached to bottom of hero) */
.hero-overview {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.overview-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overview-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.overview-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.overview-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-vibrant);
    margin-top: 2px;
}

.overview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bg-light);
    padding-top: 1.5rem;
    font-size: 0.875rem;
}

.overview-link {
    color: var(--accent-vibrant);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
}

.overview-link:hover {
    text-decoration-color: var(--accent-vibrant);
}

@media (max-width: 640px) {
    .overview-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Included Features Split */
.included-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-vibrant);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Mockup UI */
.glass-mockup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.dot:nth-child(1) {
    background: #ef4444;
}

.dot:nth-child(2) {
    background: #eab308;
}

.dot:nth-child(3) {
    background: #22c55e;
}

.mockup-body .line {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 100%;
}

.mockup-body .line.title-line {
    height: 24px;
    width: 60%;
    background: #e2e8f0;
    margin-bottom: 1.5rem;
}

.mockup-body .line.short {
    width: 80%;
}

.link-box {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* Process Timeline (Vertical) */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    bottom: 0;
    width: 2px;
    background: var(--accent-vibrant);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-steps::before {
        left: 30px;
    }
}

.step {
    position: relative;
    z-index: 1;
    text-align: left;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.step-num {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: white;
    border: 3px solid var(--accent-vibrant);
    color: var(--accent-vibrant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    box-shadow: 0 0 0 8px var(--bg-light);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.step p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, white, #f0fdfa);
    padding: 3rem;
    border-radius: 24px;
    border: none;
    border-bottom: 4px solid var(--accent-vibrant);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(0, 191, 165, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.author h4 {
    font-weight: 700;
}

.author span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content {
    text-align: left;
}

.contact-content .section-title {
    margin-bottom: 1.5rem;
}

.contact-content .cta-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-vibrant);
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.w-100 {
    width: 100%;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background: var(--bg-light);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .included-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Fix mobile menu overlap and stacking */
    .nav-links.nav-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 1001;
    }

    .header-actions.nav-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15rem);
        /* Adjusted to follow nav links more closely */
        left: 0;
        width: 100%;
        background: white;
        padding: 0 2rem 2rem 2rem;
        z-index: 1001;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    /* Adjust contact container for mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        text-align: center;
    }

    /* Fix hero overlap and horizontal scroll */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 2rem;
    }

    .floating-node {
        transform: scale(0.38);
        opacity: 0.8;
        pointer-events: none;
    }

    .node-1 {
        left: -15px;
        top: 100px;
    }

    .node-2 {
        right: -20px;
        top: 282px;
    }

    .node-3 {
        left: -10px;
        top: 435px;
    }


    .section {
        padding: 4rem 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent-vibrant);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 191, 165, 0.4);
}