/* Global Styles */
:root {
    --primary-color: #0047FF;
    --primary-dark: #0036CC;
    --secondary-color: #0F172A;
    --text-color: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --accent-color: #38BDF8;
    --yellow: #FFEA99;
    --yellow-dark: #F7D060;
    --container-width: 1200px;
    --container-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.narrow-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 71, 255, 0.3);
}

.btn-cta {
    background-color: var(--yellow);
    color: var(--secondary-color);
}

.btn-cta:hover {
    background-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-full {
    width: 100%;
    padding: 16px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

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

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

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/google-adwords.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: left;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
}

.hero .highlight {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 8px;
}

.hero-flex {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-top: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-form-container {
    flex: 0 0 450px;
}

/* Form Styles */
.hero-form-container .lead-form {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: none;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-color);
    width: 100%;
}

.form-header h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: var(--secondary-color);
    line-height: 1.3;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

/* Arrow Indicator */
.arrow-indicator {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow-icon {
    font-size: 2.5rem;
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(15px);}
    60% {transform: translateX(7px);}
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.headline-giant {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 60px;
}

.problem-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.problem-text-only {
    font-size: 1.5rem;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
}

.problem-card {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-card {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

/* Differentials Section */
.diff-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/bg-dif.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.diff-section .section-header h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.diff-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.diff-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--white);
    text-align: center;
}

.diff-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.diff-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.diff-item h3 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.35rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background-color: #fff;
}

.video-testimonial-wrapper {
    max-width: 900px;
    margin: 60px auto 80px;
    text-align: center;
}

.video-testimonial-wrapper h3 {
    margin-bottom: 30px;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.testimonial-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.client-info strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Solution Section */
.solution-section {
    padding: 120px 0;
    background-color: var(--white);
}

.intro-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.solution-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.solution-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.sol-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background-color: #0A1E4D;
    color: var(--white);
}

.faq-section .section-header h2 {
    color: var(--white);
}

.faq-list {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

summary::-webkit-details-marker { display: none; }

.faq-toggle {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

details[open] .faq-toggle {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Footer */
.main-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero-flex {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-form-container {
        flex: 1;
        width: 100%;
        max-width: 500px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .arrow-indicator {
        justify-content: center;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .arrow-icon {
        transform: rotate(90deg);
        animation: bounceDown 2s infinite;
    }

    .headline-giant {
        font-size: 2.5rem;
    }

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

    .diff-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) rotate(90deg);}
    40% {transform: translateY(10px) rotate(90deg);}
    60% {transform: translateY(5px) rotate(90deg);}
}
