/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-900: #1a202c;
    --text-light: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(37, 99, 235, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, sans-serif;
    line-height: 1.6;
    background: var(--text-light);
    color: var(--gray-900);
    overflow-x: hidden;
}

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

/* --- Utility & Reusable Classes --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

/* --- Animations --- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--gray-900); /* Fallback color */
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-image {
    height: 45px; /* Controls the height of the logo */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    color: var(--text-light);
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* --- Urgency Banner --- */
.urgency-banner {
    background: linear-gradient(45deg, var(--danger-red), var(--warning-orange));
    color: var(--text-light);
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-100), #e2e8f0);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--gray-200);
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-icon {
    color: var(--success-green);
}

.social-proof-mini {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stars {
    color: #fbbf24;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.proof-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.avatars {
    display: flex;
    margin-left: 1rem;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    margin-left: -8px;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.8rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 14px 32px; /* Adjusted for border */
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-stats-visual {
    width: 320px;
    background: var(--text-light);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
}

.hero-stats-visual h4 {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    text-align: center;
    font-size: 1.1rem;
}

.live-stats-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.live-stat {
    text-align: center;
}

.live-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.live-stat-number.success { color: var(--success-green); }
.live-stat-number.primary { color: var(--primary-blue); }

.live-stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.progress-bar-container {
    background: var(--gray-100);
    height: 40px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Trust Bar Section --- */
.trust-bar {
    background: var(--text-light);
    padding: 4rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: var(--gray-100);
}

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

.service-card {
    background: var(--text-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.service-title-area h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.service-roi {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.service-benefits li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.service-cta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.price-info {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.service-btn {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background: var(--secondary-blue);
}

/* --- Social Proof Section --- */
.social-proof {
    padding: 100px 0;
    background: var(--text-light);
}

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

.testimonial {
    background: var(--text-light);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial::before {
    content: '“';
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-company {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: normal;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
}

.results-highlight {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    font-style: normal;
}

/* --- Guarantee Section --- */
.guarantee {
    padding: 80px 0;
    background: var(--gray-100);
}

.guarantee-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.guarantee-badge {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--success-green), #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    flex-shrink: 0;
    animation: pulse 2.5s infinite;
}

.guarantee-text {
    max-width: 600px;
}

.guarantee h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.guarantee p {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--success-green));
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.urgency-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.urgency-box h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    gap: 1rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.countdown-label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--gray-900);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.form-incentive {
    background: linear-gradient(45deg, var(--success-green), #34d399);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--text-light);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-submit {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    color: var(--text-light);
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* --- Footer --- */
footer {
    background: var(--gray-900);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    position: relative;
    animation: slideIn 0.3s ease;
    z-index: 1;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-600);
    background: none;
    border: none;
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, replace with a hamburger menu */
    }
    .hero {
        min-height: auto;
        padding: 4rem 0;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .trust-badges, .social-proof-mini, .hero-buttons {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .guarantee-visual, .contact-info {
        text-align: center;
    }
}
