/* --- Variables & Reset --- */
:root {
    --primary-color: #0047AB;
    /* Royal Blue - Trust */
    --secondary-color: #002e70;
    /* Darker Blue */
    --accent-color: #00C2CB;
    /* Clean/Fresh Teal (Subtle) */
    --text-color: #1F2937;
    --text-light: #4B5563;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --spacing-section: 100px;
    /* Generous spacing */
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --font-main: 'Aspekta', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 1000px;
}

.container-mid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.section-title.centered {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
}

/* --- Header --- */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo .highlight {
    color: var(--primary-color);
}

.sm-hide {
    display: inline-block;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 160px;
    /* Header height + space */
    padding-bottom: 100px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8faff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-bullets {
    margin-bottom: 2.5rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.hero-bullets .check-icon {
    margin-right: 12px;
    color: var(--primary-color);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/3;
    background-color: #eee;
    /* Placeholder */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Slight zoom for parallax start */
    transition: transform 0.1s ease-out;
    /* Smooth JS parallax */
}

/* --- Problem Section --- */
.problem-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-white);
}

.problem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.problem-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.problem-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.problem-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.problem-img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Mechanism Section --- */
.mechanism-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.mechanism-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.mechanism-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 71, 171, 0.05);
    /* Soft circular bg */
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mechanism-card:hover .card-icon {
    transform: scale(1.1);
}

.mechanism-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.mechanism-card p {
    font-size: 1rem;
    color: var(--text-light);
}

/* --- Social Proof --- */
.social-proof-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-white);
}

.testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    /* No visible border usually nicer for clean, maybe soft shadow or just clean */
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    align-items: center;
}

.testimonial-content {
    padding: 4rem;
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stars {
    color: #FFB400;
    margin-top: 5px;
}

.testimonial-image-wrapper {
    height: 100%;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

/* --- Services --- */
.services-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.service-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Final CTA --- */
.final-cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pulse-btn {
    animation: pulse-light 3s infinite;
}

@keyframes pulse-light {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- Footer --- */
.main-footer {
    background: #111;
    color: #eee;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.footer-location {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 5px;
}

.footer-link {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* --- Animations Classes --- */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

/* Hero Specific Load Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-hero-text {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-hero-cta {
    animation: scaleIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
    /* Initial state */
}

.animate-hero-img {
    animation: fadeIn 1.2s ease-out 0.2s forwards;
    opacity: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        padding: 0 10px;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-bullets {
        display: inline-block;
        text-align: left;
    }

    .hero-bullets li {
        font-size: 1rem;
    }

    .hero-image-wrapper {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .testimonial-image-wrapper {
        min-height: 250px;
    }

    .testimonial-content {
        padding: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .stagger-1,
    .stagger-2,
    .stagger-3,
    .stagger-4 {
        transition-delay: 0s;
        /* Remove stagger on scroll mobile to feel snappier */
    }
}