@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600&family=Lexend:wght@400;500;700&display=swap');

:root {
    --bg-base: #F5F5F7;
    --text-dark: #1D1D1F;
    --text-muted: #86868B;

    --aura-pink: #FF2E93;
    --aura-orange: #FF8933;
    --aura-yellow: #FFCC00;

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);

    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 12px;

    --font-head: 'Lexend', sans-serif;
    --font-body: 'Figtree', sans-serif;

    --transition: all 0.5s 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-base);
    color: var(--text-dark);
    line-height: 1.5;
    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;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--aura-pink), var(--aura-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Frosted Glass Component */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
}

/* Fixed Aura Backgrounds */
.aura-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: auraMove 20s infinite alternate ease-in-out;
}

.aura-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--aura-pink);
}

.aura-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: var(--aura-yellow);
    animation-delay: -5s;
}

.aura-3 {
    top: 40%;
    left: 40%;
    width: 50vw;
    height: 50vw;
    background: var(--aura-orange);
    animation-delay: -10s;
}

@keyframes auraMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5vw, 10vh) scale(1.1);
    }

    100% {
        transform: translate(-5vw, -5vh) scale(0.9);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.05rem;
    font-family: var(--font-head);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-dark);
    color: #FFF;
    box-shadow: 0 8px 20px rgba(29, 29, 31, 0.2);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(29, 29, 31, 0.3);
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--text-dark);
    border: 1px solid rgba(29, 29, 31, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.03);
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-bar {
    width: 90%;
    max-width: 1000px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-lg);
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--aura-pink);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(20px);
    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: 24px;
    text-align: center;
}

.mobile-overlay nav a {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.hero-widgets {
    position: relative;
    height: 500px;
}

.widget {
    position: absolute;
    border-radius: var(--radius-md);
    padding: 30px;
}

.widget-1 {
    top: 0;
    right: 0;
    width: 340px;
    z-index: 2;
    transform: translateY(20px);
}

.widget-2 {
    bottom: 0;
    left: 0;
    width: 300px;
    z-index: 1;
}

.widget img {
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.widget h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* About - Split Edge */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 40px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-images img {
    border-radius: var(--radius-sm);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-images img:nth-child(1) {
    border-top-left-radius: 40px;
}

.about-images img:nth-child(4) {
    border-bottom-right-radius: 40px;
}

/* Services - Expanding Horizontal Accordion */
.services-accordion {
    display: flex;
    gap: 16px;
    height: 450px;
    margin-top: 50px;
}

.acc-panel {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.acc-panel:hover {
    flex: 3;
}

.acc-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
}

.acc-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-dark);
}

.acc-content h3 {
    margin: 0;
    white-space: nowrap;
    transition: var(--transition);
}

.acc-content p {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 1rem;
    max-width: 400px;
}

.acc-panel:hover .acc-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* Deep Dive - Overlapping Offsets */
.deep-dive-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 120px;
}

.dd-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

.dd-img {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dd-img img {
    width: 100%;
    height: 100%;
}

.dd-text {
    padding: 60px;
    z-index: 3;
}

.dd-row:nth-child(odd) .dd-text {
    margin-left: -80px;
}

.dd-row:nth-child(even) .dd-text {
    margin-right: -80px;
    order: -1;
}

.dd-list {
    list-style: none;
    margin-bottom: 30px;
}

.dd-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(29, 29, 31, 0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.dd-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--aura-pink);
    border-radius: 50%;
}

/* Industries - Staggered Pills */
.industry-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.ind-tag {
    padding: 20px 40px;
    border-radius: 100px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.2rem;
    transition: var(--transition);
}

.ind-tag:hover {
    transform: translateY(-5px);
    background: #FFF;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Why Us - Clean Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 46, 147, 0.1), rgba(255, 137, 51, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    stroke: var(--aura-pink);
    width: 40px;
    height: 40px;
}

/* Workflow - 2x2 Bento */
.workflow-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
}

.bento-box {
    padding: 50px;
    border-radius: var(--radius-lg);
    position: relative;
}

.bento-num {
    font-family: var(--font-head);
    font-size: 3rem;
    color: var(--aura-orange);
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Testimonials - Scrolling Cards */
.test-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
    margin-top: 50px;
}

.test-track::-webkit-scrollbar {
    display: none;
}

.test-card {
    flex: 0 0 450px;
    scroll-snap-align: start;
    padding: 50px;
    border-radius: var(--radius-md);
}

.test-card p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #D9D9D9;
}

.t-info h4 {
    margin: 0;
    font-size: 1rem;
}

.t-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ - Simple Lines */
.faq-wrap {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-row {
    border-bottom: 1px solid rgba(29, 29, 31, 0.1);
}

.faq-q {
    padding: 30px 0;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    transition: var(--transition);
    color: var(--text-muted);
}

details[open] .faq-q::after {
    transform: rotate(45deg);
    color: var(--aura-pink);
}

.faq-a {
    padding-bottom: 30px;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    padding: 100px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 4px;
    background: linear-gradient(135deg, var(--aura-pink), var(--aura-yellow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Forms - Apple Style */
.form-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border-radius: var(--radius-lg);
}

.input-block {
    margin-bottom: 24px;
}

.input-block label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.apple-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(29, 29, 31, 0.1);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition);
}

.apple-input:focus {
    outline: none;
    border-color: var(--aura-pink);
    box-shadow: 0 0 0 4px rgba(255, 46, 147, 0.1);
    background: #FFF;
}

textarea.apple-input {
    min-height: 150px;
    resize: vertical;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    border-radius: var(--radius-lg);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(29, 29, 31, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .dd-row,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-widgets {
        height: 400px;
    }

    .widget-1 {
        right: auto;
        left: 10%;
    }

    .widget-2 {
        left: auto;
        right: 10%;
    }

    .dd-row:nth-child(odd) .dd-text,
    .dd-row:nth-child(even) .dd-text {
        margin: 0;
        order: 0;
    }

    .dd-row:nth-child(even) .dd-visual {
        order: 0;
    }

    .services-accordion {
        flex-direction: column;
        height: auto;
    }

    .acc-panel {
        padding: 30px;
    }

    .acc-panel:hover {
        flex: 1;
    }

    .acc-content p {
        opacity: 1;
        transform: none;
        display: none;
    }

    .why-grid,
    .workflow-bento {
        grid-template-columns: 1fr;
    }

    .test-card {
        flex: 0 0 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cta-banner,
    .form-card,
    .legal-page {
        padding: 40px 20px;
    }

    .about-images img {
        height: 180px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}