:root {
    --primary-color: #F59E0B;
    --primary-rgb: 245, 158, 11;
    --secondary-color: #3B82F6;
    --secondary-rgb: 59, 130, 246;
    --accent-color: #10B981;
    --accent-rgb: 16, 185, 129;
}

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

/* Ensure HTML and BODY have no default spacing */
html, body { margin: 0; padding: 0; }

/* CRITICAL: Eliminate 1px seams between header/nav and hero */
/* Only the .navbar is fixed; header/nav containers remain static */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--neutral-light, #ffffff);
  z-index: 10000; /* ensure nav overlays all content */
}
header, .site-header, nav {
  position: static;
  margin: 0; padding: 0; border: 0; box-shadow: none; outline: 0;
  background: transparent;
}

/* Main content offset is determined at runtime if nav overlays; fallback remains zero-gap safe */
main { padding-top: var(--nav-height, 0px); margin: 0; }

/* Hero must start flush under nav */
.hero, .hero-section, #hero, [data-section="hero"] { margin-top: 0; border-top: 0; }

/* Avoid decorative separators that create 1px lines at the top */
nav, .navbar, .site-header { border-bottom: none !important; box-shadow: none !important; }
.hero, .hero-section { border-top: none !important; }

/* Navigation layout and CTA button */
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; }
.brand { font-weight: 700; color: var(--text-color, #111); text-decoration: none; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--text-color, #111); text-decoration: none; }
.nav-cta a, .nav-cta button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 999px;
  background: var(--primary-color); color: #fff; border: none; text-decoration: none;
  transition: background 0.2s ease;
}
.nav-cta a:hover, .nav-cta button:hover { background: rgba(var(--primary-rgb), 0.9); }

/* Toggle (burger) */
.nav-toggle { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-color, #111); }

/* Mobile navigation behavior */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed; top: var(--nav-height, 64px); left: 0; right: 0;
    background: var(--neutral-light, #ffffff);
    flex-direction: column; gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  }
  .nav-menu.active { display: flex; }
  .navbar__inner { padding: 10px 16px; }
  .nav-cta { margin-left: 8px; }
}

/* Desktop */
@media (min-width: 769px) {
  .nav-toggle { display: none; }
}

body {
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.6;
    color: #1E293B;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(var(--primary-rgb), 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: rgba(var(--accent-rgb), 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(var(--primary-rgb), 0.8) 100%);
    color: #ffffff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Problem-Solution Section */
.problem-solution-section {
    background-color: #F8FAFC;
    padding: 6rem 0;
}

.problem-solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-side {
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #64748B 0%, #475569 100%);
    color: #ffffff;
    position: relative;
}

.problem-side::before {
    content: '⚠️';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 1.5rem;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.solution-side {
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(var(--accent-rgb), 0.8) 100%);
    color: #ffffff;
    position: relative;
}

.solution-side::before {
    content: '✅';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 1.5rem;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(var(--accent-rgb), 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1E293B;
}

.service-description {
    color: #64748B;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background-color: #F8FAFC;
    padding: 6rem 0;
}

.process-timeline {
    position: relative;
    margin-top: 3rem;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .process-content {
    text-align: right;
}

.process-content {
    flex: 0 1 45%;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 2rem;
}

.process-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1E293B;
}

.process-description {
    color: #64748B;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    background-color: #1E293B;
    color: #ffffff;
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-stat {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

/* Target Audience Section */
.target-audience-section {
    background-color: #ffffff;
    padding: 6rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.15);
}

.audience-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(var(--primary-rgb), 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.audience-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1E293B;
}

.audience-description {
    color: #64748B;
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #F8FAFC;
    padding: 6rem 0;
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 3rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--secondary-color);
    font-family: serif;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #1E293B;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: #64748B;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(var(--secondary-rgb), 0.8) 100%);
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subheadline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1.5rem;
    padding: 20px 40px;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

.footer-section ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #94A3B8;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94A3B8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1E293B;
}

.section-subheadline {
    font-size: 1.25rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

/* Dark sections */
.benefits-section .section-headline,
.cta-section .section-headline {
    color: #ffffff;
}

.benefits-section .section-subheadline,
.cta-section .section-subheadline {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1, .hero-headline {
        font-size: 2.5rem;
    }
    
    h2, .section-headline {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .problem-solution-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .process-step .process-content {
        text-align: left !important;
        margin: 0;
    }
    
    .process-number {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .cta-headline {
        font-size: 2rem;
    }
    
    .cta-subheadline {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .service-card,
    .audience-card {
        padding: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
.btn:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Image responsiveness */
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Gallery image specific styling */
.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero animations */
.hero h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
