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

:root {
    --black: #000000;
    --dark: #0A0A0A;
    --dark-gray: #1A1A1A;
    --accent: #00D46A;
    --accent-dark: #00A853;
    --gray-100: #FAFAFA;
    --gray-200: #F5F5F5;
    --gray-300: #E8E8E8;
    --gray-400: #D4D4D4;
    --gray-500: #737373;
    --gray-600: #525252;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.headline-font {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
    font-weight: 900;
    letter-spacing: -0.025em;
    font-feature-settings: 'ss01' on;
}

/* Headlines specific styling */
h1.headline-font,
h2.headline-font,
.section-title {
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

nav.dark {
    background: rgba(0, 0, 0, 0.98);
}

nav.dark .logo,
nav.dark .nav-links a {
    color: var(--white);
}

nav.dark .nav-links a:hover {
    color: var(--accent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--black);
}

.nav-cta {
    background: var(--accent);
    color: var(--black);
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid var(--accent);
}

.nav-cta:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 106, 0.3);
}

/* Hero Section */
.hero {
    padding: 14rem 0 8rem;
    background: var(--gray-100);
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hero-content {
    max-width: 1100px;
}

.hero-label {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.primary-button {
    background: var(--black);
    color: var(--white);
    padding: 1.3rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: 2px solid var(--black);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-button {
    color: var(--black);
    padding: 1.3rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: 2px solid var(--gray-300);
}

.secondary-button:hover {
    border-color: var(--black);
}

/* Stats Bar - Dark */
.stats-bar {
    background: var(--black);
    padding: 4rem 0;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.stat-number .accent {
    color: var(--accent);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Section Styles */
.section {
    padding: 10rem 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.section-dark .section-label {
    color: var(--accent);
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Value Props */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-200);
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--black);
    font-weight: 900;
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Case Studies */
.case-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.tab-button {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--black);
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: inherit;
}

.tab-button.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.case-content {
    display: none;
    background: var(--white);
    padding: 5rem;
    box-shadow: var(--shadow-lg);
}

.case-content.active {
    display: block;
}

.case-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 3rem;
}

.case-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.case-info p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.case-info p strong {
    color: var(--black);
    font-weight: 700;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.metric-box {
    background: var(--gray-100);
    padding: 2.5rem;
    text-align: center;
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.metric-label {
    color: var(--gray-600);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.case-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gray-600);
    padding: 3rem;
    border-left: 5px solid var(--accent);
    margin-top: 3rem;
    background: var(--gray-100);
}

/* Process - Dark */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--black);
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 900;
    color: var(--white);
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    font-size: 1rem;
    color: var(--gray-600);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--black);
    transition: color 0.2s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--accent-dark);
}

.faq-question span:first-child {
    flex: 1;
    text-align: left;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
    margin-left: 2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.1rem;
    padding-bottom: 2rem;
}

/* CTA Section - Accent */
.cta-section {
    background: var(--accent);
    padding: 10rem 0;
    text-align: center;
    color: var(--black);
}

.cta-section h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2.5rem;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.6rem;
    margin-bottom: 4rem;
    font-weight: 500;
}

.cta-button-large {
    background: var(--black);
    color: var(--white);
    padding: 1.5rem 4rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: 3px solid var(--black);
}

.cta-button-large:hover {
    background: transparent;
    color: var(--black);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-quick-links {
    display: none;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 0.3rem 0;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1120px) {
    .case-header {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .case-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-tabs {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .tab-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .section-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-box {
        padding: 2rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .case-content {
        padding: 3rem 2rem;
    }
    
    .case-quote {
        padding: 2rem;
        margin-top: 2rem;
        font-size: 1.2rem;
    }
    
    .case-info h3 {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1.4rem;
        padding: 1.5rem 0;
    }
    
    .faq-icon {
        font-size: 1.8rem;
        margin-left: 1rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .process-grid::before {
        display: none;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-brand {
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-brand p {
        max-width: none;
        margin: 0 auto 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links-container {
        display: block;
        margin-top: 2rem;
    }
    
    .footer-links-grid {
        display: none;
    }
    
    .footer-quick-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.5rem;
        padding: 1rem 0;
    }
    
    .footer-quick-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.9rem;
        padding: 0.5rem;
        transition: color 0.2s ease;
    }
    
    .footer-quick-links a:hover {
        color: var(--accent);
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1rem;
    }
}