@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Poppins:wght@500;700;800&display=swap');

:root {
    --bg-color: #E0E5EC;
    --shadow-dark: #A3B1C6;
    --shadow-light: #FFFFFF;

    --text-dark: #2D3142;
    --text-muted: #6B7280;

    --accent: #4D5DFB;
    --accent-hover: #3A47D5;
    --secondary: #FF6B6B;

    --font-head: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --radius-xl: 40px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 100px;

    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.text-accent {
    color: var(--accent);
}

/* Neumorphic Utilities */
.neu-raised {
    background: var(--bg-color);
    box-shadow: 9px 9px 16px var(--shadow-dark), -9px -9px 16px var(--shadow-light);
}

.neu-pressed {
    background: var(--bg-color);
    box-shadow: inset 6px 6px 10px var(--shadow-dark), inset -6px -6px 10px var(--shadow-light);
}

.neu-raised-hover:hover {
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    transform: translateY(2px);
}

.neu-interactive:hover {
    box-shadow: inset 6px 6px 10px var(--shadow-dark), inset -6px -6px 10px var(--shadow-light);
}

/* Structural Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #FFF;
    box-shadow: 6px 6px 16px rgba(77, 93, 251, 0.4), -6px -6px 16px var(--shadow-light);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--accent);
    box-shadow: 6px 6px 16px var(--shadow-dark), -6px -6px 16px var(--shadow-light);
}

.btn-secondary:hover {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-bar {
    width: 90%;
    max-width: 1100px;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 20px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-overlay nav a {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.bubble-1 {
    width: 350px;
    height: 350px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 img {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 50%;
}

.bubble-2 {
    width: 180px;
    height: 180px;
    top: 10%;
    right: 0;
    z-index: 3;
    animation: float 5s ease-in-out infinite alternate-reverse;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    bottom: 5%;
    left: 5%;
    z-index: 1;
    background: var(--bg-color);
    animation: float 7s ease-in-out infinite alternate;
}

.b-stat {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.b-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-well {
    padding: 50px;
    border-radius: var(--radius-xl);
}

.about-img {
    border-radius: var(--radius-xl);
    padding: 15px;
}

.about-img img {
    border-radius: var(--radius-lg);
}

/* Services - Hover Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    color: var(--text-dark);
}

/* Deep Dive Modules */
.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.module-row:nth-child(even) .mod-text {
    order: 2;
}

.module-row:nth-child(even) .mod-visual {
    order: 1;
}

.mod-text {
    padding: 50px;
    border-radius: var(--radius-xl);
}

.mod-list {
    list-style: none;
    margin-bottom: 30px;
}

.mod-list li {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.mod-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    background: var(--secondary);
}

.mod-visual {
    padding: 20px;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mod-visual img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Industries - Pill Tags */
.industry-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
}

.ind-tag {
    padding: 20px 40px;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition);
}

/* Workflow - Central Trough */
.workflow-container {
    max-width: 900px;
    margin: 80px auto 0;
    position: relative;
    padding: 40px 0;
}

.trough-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 16px;
    transform: translateX(-50%);
    border-radius: 10px;
}

.flow-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.flow-node:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-content {
    width: 42%;
    padding: 40px;
    border-radius: var(--radius-lg);
}

.flow-point {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-point::inner {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
}

/* Testimonials */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.test-card {
    padding: 50px 40px;
    border-radius: var(--radius-lg);
}

.test-quote {
    font-size: 4rem;
    color: var(--accent);
    line-height: 0;
    margin-top: 20px;
    opacity: 0.5;
}

.test-author {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 5px;
}

.t-avatar div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #D1D5DF;
}

/* FAQ Accordion */
.faq-box {
    max-width: 800px;
    margin: 60px auto 0;
}

details.faq-item {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

summary.faq-q {
    padding: 30px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary.faq-q::-webkit-details-marker {
    display: none;
}

summary.faq-q::after {
    content: '+';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
}

details[open] summary.faq-q::after {
    content: '-';
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    color: var(--accent);
}

details[open] .faq-a-wrapper {
    padding: 0 30px 30px;
}

.faq-a {
    padding: 20px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

/* CTA Massive Well */
.cta-well {
    margin: 100px auto;
    max-width: 1000px;
    padding: 100px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

/* Forms */
.form-wrap {
    padding: 60px;
    border-radius: var(--radius-xl);
}

.input-block {
    margin-bottom: 30px;
    text-align: left;
}

.input-block label {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    padding-left: 10px;
}

.neu-input {
    width: 100%;
    padding: 20px;
    background: var(--bg-color);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.neu-input:focus {
    outline: none;
    box-shadow: inset 8px 8px 12px var(--shadow-dark), inset -8px -8px 12px var(--shadow-light);
    border-left: 3px solid var(--accent);
}

textarea.neu-input {
    min-height: 180px;
    resize: vertical;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    border-radius: var(--radius-xl);
}

.legal-page h1 {
    margin-bottom: 40px;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    margin-top: 80px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-weight: 700;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .module-row,
    .module-row:nth-child(even) .mod-text,
    .module-row:nth-child(even) .mod-visual {
        grid-template-columns: 1fr;
        gap: 50px;
        order: 0;
    }

    .hero-visual {
        height: 400px;
    }

    .bubble-1 {
        width: 300px;
        height: 300px;
    }

    .mod-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .trough-line {
        left: 40px;
    }

    .flow-node,
    .flow-node:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 50px;
    }

    .flow-content {
        width: calc(100% - 100px);
        margin-left: auto;
    }

    .flow-point {
        left: 40px;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-bar {
        padding: 10px 20px;
        border-radius: var(--radius-md);
    }

    .about-well,
    .mod-text,
    .form-wrap,
    .legal-page {
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trough-line {
        left: 30px;
    }

    .flow-point {
        left: 30px;
        width: 30px;
        height: 30px;
    }

    .flow-content {
        width: calc(100% - 70px);
        padding: 30px 20px;
    }
}