:root {
    /* Colors */
    --bg-dark: #0a0a12;
    --bg-main: #0f1016;
    --primary: #3b82f6;
    /* Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #f59e0b;
    /* Gold/Amber */
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(90deg, var(--primary), #2563eb);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn--outline {
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

.btn--ghost {
    color: var(--text-gray);
    margin-left: 20px;
}

.btn--ghost:hover {
    color: var(--text-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: background 0.3s;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
}

.logo__accent {
    color: var(--primary);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav__link:hover {
    color: var(--text-white);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Placeholder for the background we generated - will update with tool result */
    background: url('hero-bg.png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -1;
}

/* Overlay gradient for better text readability */
.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 40%, transparent 100%);
}

.hero__container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.hero__content {
    position: relative;
    max-width: 650px;
    z-index: 1;
    flex: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Floating Stats */
.hero__stats {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    margin-right: 0;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 200px;
    animation: float 6s ease-in-out infinite;
}

.stat-card--2 {
    margin-left: 40px;
    animation-delay: 2s;
}

.stat-card__icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.stat-card__info {
    display: flex;
    flex-direction: column;
}

.stat-card__value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
}

.stat-card__label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header__container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    /* Simplified mobile handling for now */

    .hero {
        padding-top: 120px;
        text-align: center;
        justify-content: center;
    }

    .hero__container-flex {
        flex-direction: column;
        justify-content: center;
    }

    .hero__bg::after {
        background: linear-gradient(to top, var(--bg-dark) 20%, rgba(10, 10, 18, 0.7) 100%);
    }

    .hero__content {
        margin: 0 auto;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__stats {
        display: none;
        /* Hide floating stats on mobile or make them static if desired later, keeping hidden for now per original design or can re-enable */
    }

    .hero__actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn--ghost {
        margin-left: 0;
    }
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card.highlight {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(15, 16, 22, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.glass-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    /* Adding a subtle glow */
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.benefits-content {
    flex: 1;
}

.benefits-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.check-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.benefits-list h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefits-list p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-box {
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.contact-box p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.btn--large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 50px 0 30px;
    background: #050508;
    border-top: 1px solid var(--glass-border);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer__links {
    display: flex;
    gap: 30px;
}

.footer__links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__copy {
    color: #4b5563;
    font-size: 0.9rem;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.single-case-layout {
    display: flex;
    justify-content: center;
}

.single-case-layout .case-card {
    max-width: 600px;
    width: 100%;
}

.case-card {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.case-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #20202a;
}

.case-content {
    padding: 25px;
}

.case-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.case-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.case-stat {
    display: flex;
    flex-direction: column;
}

.case-stat .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.case-stat .label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
    /* Align cards vertically */
}

.pricing-card {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(30, 30, 47, 0.9), rgba(40, 40, 65, 0.9));
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 1.5rem;
    margin-top: 5px;
    margin-right: 5px;
}

.price .value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
}

.price-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.pricing-features .check {
    color: var(--secondary);
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Response Section fix */
@media (max-width: 900px) {
    .benefits-wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #333;
    /* Fallback */
}

.client-info h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-niche {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.stars {
    margin-left: auto;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

/* Quote decoration */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Hero Animation override (load immediately) */
.hero__title {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero__subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero__actions {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Who Needs? Section */
.who-needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.audience-card {
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    padding: 30px 25px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.audience-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-color: rgba(59, 130, 246, 0.3);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.audience-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.audience-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}