:root {
    /* Brand Colors */
    --primary: #fa4851;
    --primary-light: #ff767d;
    --primary-dark: #d9333c;
    --primary-glow: rgba(250, 72, 81, 0.3);
    
    /* Light Theme Palette */
    --bg-main: #ffffff;
    --bg-alt: #f8f9fc;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(255, 255, 255, 0.4);
    
    /* Text Colors */
    --text-dark: #12141d;
    --text-main: #2d323e;
    --text-muted: #647082;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.05);
    --shadow-primary: 0 8px 24px var(--primary-glow);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-norm: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-alt);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Dynamic Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float-slow 15s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255,255,255,0) 70%);
}

.orb-2 {
    top: 40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 118, 125, 0.2) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

.orb-3 {
    bottom: 5%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -10s;
}

/* Typography & Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-norm);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: #eaeaea;
    background: white;
}

.btn-outline:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition-norm);
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 160px;
    width: auto;
    object-fit: contain;
    margin: -40px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 20px;
}

.pill-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(250, 72, 81, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(250, 72, 81, 0.15);
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 550px;
    width: 100%;
}

.hero-main-image {
    width: 95%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    position: absolute;
    right: 0;
    top: 5%;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.4);
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 10;
    max-width: 200px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(250, 72, 81, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 16px;
    height: 16px;
}

.stat-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1px;
    line-height: 1;
}

.stat-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-card {
    bottom: 20%;
    right: 0;
}

.avatars {
    display: flex;
    margin-bottom: 12px;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }

.trust-card p {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Logo Marquee Section */
.logo-marquee-section {
    padding: 0 0 30px;
    width: 100%;
    background: transparent;
    border: none;
    margin-top: auto;
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.logo-marquee {
    position: relative;
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.logo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track img {
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0 30px;
    mix-blend-mode: multiply;
    transition: all 0.4s ease;
    cursor: pointer;
}

.marquee-track img:hover {
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-marquee-section {
        padding: 0 0 20px;
    }
    .marquee-label {
        font-size: 0.65rem;
        margin-bottom: 16px;
    }
    .logo-marquee {
        width: 90%;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    }
    .marquee-track img {
        height: 18px;
        max-width: 90px;
        margin: 0 20px;
    }
}


/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Solutions grid — 3-col for the market section */
.solutions .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* Services (Growth Ecosystem) — 2×2 grid */
.services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    padding: 36px 36px 32px;
    transition: var(--transition-norm);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: white;
}

/* Icon + tagline row */
.service-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon-wrapper {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(250, 72, 81, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    transform: scale(1.05);
}

.service-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    line-height: 1.3;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.learn-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Expertise Section */
.expertise-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.expertise-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.expertise-content > p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-list li {
    display: flex;
    gap: 20px;
}

.check-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.feature-list h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-list p {
    color: var(--text-muted);
}

.expertise-graphics {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.big-panel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.mock-ui {
    width: 70%;
    height: 70%;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.mock-header {
    height: 24px;
    width: 40%;
    background: rgba(250, 72, 81, 0.2);
    border-radius: 12px;
}

.mock-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 12px;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
    animation: grow 2s ease-out forwards;
}

.bar-1 { height: 30%; background: #ffb1b5; }
.bar-2 { height: 50%; background: #ff8b90; }
.bar-3 { height: 40%; background: #fa4851; }
.bar-4 { height: 75%; background: #fa4851; }
.bar-5 { height: 100%; background: var(--primary-dark); }

/* CTA Section */
.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fa4851" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat, white;
    background-size: cover;
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eaeaea;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 50px;
}

/* Footer */
.footer {
    background: white;
    padding: 80px 0 24px;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links-col h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 12px;
}

.footer-links-col a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #eaeaea;
    padding-top: 24px;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

.float-anim-1 { animation: floatY 6s ease-in-out infinite; }
.float-anim-2 { animation: floatY 8s ease-in-out infinite reverse; }
.float-anim-3 { animation: floatY 7s ease-in-out infinite 1s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes grow {
    0% { height: 0; }
}

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .expertise-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-visual {
        height: 500px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .cta-card h2 {
        font-size: 2.5rem;
    }
    .input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 4px;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 12px;
    }
    .input-group input {
        padding: 16px 24px;
        border: 1px solid #eaeaea;
        background: white;
    }
    .input-group button {
        width: 100%;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .services .services-grid {
        grid-template-columns: 1fr;
    }
}
