:root {
    /* Colors */
    --bg-dark: #030305;
    /* Near black */
    --bg-panel: #0A0A0E;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    /* Cool grey */
    --accent-glow: rgba(255, 255, 255, 0.15);
    --border-light: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 50% 0%, #1c1c2e 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Overhaul */
h1,
h2,
h3 {
    font-weight: 600;
    /* Inter SemiBold/Bold */
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    /* Massive responsive headline */
    line-height: 1.1;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 500;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    border-radius: 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 2rem;
}

.site-header .container {
    background: rgba(10, 10, 14, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    /* Navigation Pill */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    /* Tighter nav width */
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: white;
}

.main-nav .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Center Vertically */
    justify-content: center;
    padding-top: 180px;
    /* Increased to clear fixed header */
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    color: #d1d5db;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}


/* Trust Indicators (Marquee) */
.trust-indicators {
    padding: 2rem 0;
    /* Add some breathing room */
    margin-top: 0;
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-lg);
    background: transparent;
    border: none;
    overflow: hidden;
    width: 100vw;
    /* Force full viewport width */
    margin-left: max(-50vw + 50%, calc(-100vw / 2 + 50%));
    /* Break out of container */
    margin-right: max(-50vw + 50%, calc(-100vw / 2 + 50%));
}

/* The scrolling wrapper */
.marquee-wrapper {
    display: flex;
    flex-wrap: nowrap !important;
    /* Force single line */
    white-space: nowrap !important;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap: 0;
    /* Remove gap here, handle in padding-right of list */
    /* Gradient mask */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* The animated track */
.trust-list {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 6rem;
    /* Interior spacing */
    padding-right: 6rem;
    /* Spacing between loops */
    padding-left: 0;
    margin: 0;
    list-style: none;
    animation: scroll 30s linear infinite;
    flex-shrink: 0;
}

.trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    /* Slightly larger */
    white-space: nowrap !important;
    /* Force text on one line */
    flex-shrink: 0;
    opacity: 0.9;
    color: var(--text-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Sections General */
section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

/* Why Us - Bento Grid style */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    min-width: 3rem;
}

.feature-text h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Ideal Clients */
.ideal-clients {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.01);
}

.clients-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.clients-col h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.clients-col ul li {
    font-size: 1.5rem;
    /* Large list items */
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: #fff;
}

.not-fit ul li {
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

/* Form */
/* Form */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    /* Centering */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input,
select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.25rem;
    /* Larger touch target */
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    border-color: #10B981;
    background: rgba(0, 0, 0, 0.4);
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

label {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.btn-block {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.footer-brand h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .site-header .container {
        padding: 1rem;
    }

    .main-nav ul {
        display: none;
        /* simple hide for now */
    }

    .services-grid,
    .features-grid,
    .clients-wrapper {
        grid-template-columns: 1fr;
    }



    .form-wrapper {
        padding: 2rem;
    }
}

/* Quote Component */
.strategy-quote {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    margin: 0 auto;
    max-width: 900px;
}

.strategy-quote::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: 0;
    left: 20px;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

@media (max-width: 768px) {
    .strategy-quote {
        padding: 2rem;
        font-size: 1.25rem;
        text-align: center;
    }

    /* Enforce center alignment for mobile */
    .section-header,
    .service-card,
    .feature-item,
    .feature-text,
    .clients-col h3,
    .clients-col ul li,
    .footer-left,
    .footer-right,
    .newsletter-section {
        text-align: center;
        align-items: center;
    }

    .service-card p,
    .feature-text p {
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-links-grid {
        text-align: center;
    }
}

/* Footer Reconstruction */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-right {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #10B981;
    /* Green accent */
    margin-top: 2px;
}

.contact-details h5 {
    color: #10B981;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Newsletter */
.newsletter-section h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 1.5rem;
    max-width: 500px;
    /* Ensure it doesn't overflow */
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    /* Important for flex child to shrink */
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 8px !important;
        /* Reset border radius for stacked */
    }
}

/* Original input styles */
.newsletter-form input {
    border-radius: 999px 0 0 999px;
    padding: 1rem 1.5rem;
    border: none;
    background: white;
    color: #000;
}


.newsletter-form button {
    border-radius: 0 999px 999px 0;
    padding: 1rem 2rem;
    background: #10B981;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #059669;
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #10B981;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Interactive Cursor */
.cursor-dot {
    width: 20px;
    height: 20px;
    background-color: #10B981;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.5);
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    /* Optional: cool blending effect */
}

/* Hide default cursor if desired, or keep it */
/* body { cursor: none; } */

/* Services Grid for 5 Items */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Scrolling Marquee */
.trust-indicators {
    padding: 1rem 0;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
    /* Start from right */
}

/* Make multiple copies of list items visually, or just animate the strip */
.trust-list {
    display: flex;
    gap: 4rem;
    padding: 0;
    margin: 0;
    list-style: none;
    /* remove bullets */
}

/* We'll re-use .trust-list but animate it or its parent */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile specific overrides if needed */
@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 15s;
    }
}