/* --- Variables & Reset --- */
:root {
    --bg-color: #0b0b0b;
    --bg-secondary: #161616;
    --surface-color: #1e1e1e;
    --primary-color: #0f4abe;
    /* User Blue */
    --primary-hover: #1c5ee6;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
    --max-width: 1200px;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.dark-alt-bg {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 74, 190, 0.3);
}

/* --- Header --- */
header {
    background-color: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-brand {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo-brand strong {
    color: var(--primary-color);
    font-weight: 800;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.9;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.btn-whatsapp-small {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-small:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero --- */
#hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(15, 74, 190, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-selection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.selection-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.selection-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.selection-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.selection-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.selection-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pulse Animation for CTA */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 74, 190, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(15, 74, 190, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 74, 190, 0);
    }
}

/* --- Carousel (Social Proof) --- */
.carousel {
    position: relative;
    height: 600px;
    /* Fixed height for consistency */
    width: 100%;
    max-width: 600px;
    /* Limit width to keep screenshots realistic */
    margin: 0 auto;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Crucial: show full image without cropping */
    border-radius: 4px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 12px;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
}

/* --- Pain Points --- */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pain-item {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #333;
    /* Slightly lighter border */
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.pain-item h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.pain-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--transition-speed);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-bottom: 0;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
    padding-bottom: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Methodology --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-item {
    position: relative;
    padding-top: 40px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- About --- */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    width: 100%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.stats-grid {
    display: flex;
    gap: 40px;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image placeholder removed */

/* --- Conversion Funnel --- */
.cta-section-bg {
    background: linear-gradient(180deg, var(--bg-color) 0%, #1a1a1a 100%);
}

.conversion-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.conversion-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed);
}

.conversion-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

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

.conversion-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.conversion-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-whatsapp-large {
    display: inline-block;
    background-color: #25D366;
    /* WhatsApp Green */
    color: #fff;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    width: 100%;
}

.btn-whatsapp-large:hover {
    background-color: #20bd5a;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-form {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* --- Footer --- */
footer {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.footer-legal {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
}

/* --- Float WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .section-padding {
        padding: 60px 0;
        /* Reduce padding on mobile */
    }

    .hero-headline {
        font-size: 2rem;
        /* Smaller headline */
    }

    .portfolio-item {
        height: 300px;
        /* Smaller height for mobile card */
    }

    .desktop-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .desktop-nav.mobile-visible {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: slideDown 0.3s ease-out;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    /* Keyframe for slide down */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .mobile-menu-btn {
        display: block;
    }

    .conversion-options {
        grid-template-columns: 1fr;
    }

    .header-cta {
        display: none;
    }

    .portfolio-item {
        aspect-ratio: auto;
    }
}