:root {
    /* Color Palette - Gold/Graphite Heritage */
    --clr-bg: #F9F8F6; /* Graphite */
    --clr-surface: #FFFFFF;
    --clr-accent: #34495E; /* Gold */
    --clr-accent-light: #4A637A;
    --clr-accent-rgb: 212, 175, 55;
    --clr-success: #8BA888;
    --clr-warning: #A64444;
    --clr-text-main: #1E293B;
    --clr-text-muted: #64748B;
    --clr-border: rgba(52, 73, 94, 0.12);

    /* Typography - Absolute Restriction: Playfair Display */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Spacings */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 40px rgba(52, 73, 94, 0.08);
    --anim-fade: fade-in 0.5s ease-out forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.fade-in {
    animation: var(--anim-fade);
}

.loading-pulse {
    animation: pulse-opacity 1.5s infinite ease-in-out;
}

/* Skeleton Loading State */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    color: transparent !important;
    display: block;
    width: 100%;
    min-height: 20px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--clr-border);
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 10, 24, 0.85); /* Slightly darker */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

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

.logo-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #7E8D9C; /* Muted slate gray */
}

.logo {
    font-size: 1.4rem;
    font-weight: 300; /* Thin */
    letter-spacing: 0.25em; /* Very wide tracking */
    color: #7E8D9C;
    font-family: var(--font-body); /* Clean sans-serif */
    margin-bottom: 0;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--font-secondary);
    letter-spacing: 2px;
    color: var(--clr-accent);
    font-style: italic;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: #8C9BA5; /* Lighter slate blue */
    text-decoration: none;
    font-size: 0.75rem; /* Smaller text */
    font-weight: 400; /* Not bold */
    letter-spacing: 0.15em; /* Wide spacing */
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-item:hover {
    color: var(--clr-accent); /* Dark blue on hover */
}

/* Buttons - Premium Transitions */
.btn {
    padding: 1rem 2rem;
    border-radius: 4px; /* More architectural */
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.85rem;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #FFFFFF; /* Fix unreadable black text */
    font-weight: 700;
    font-family: var(--font-heading);
}

.btn-primary:hover {
    background-color: var(--clr-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(52, 73, 94, 0.4);
}

.btn-secondary-luxury {
    background: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-secondary-luxury:hover {
    background: rgba(52, 73, 94, 0.1);
    color: var(--clr-accent-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--clr-border);
    color: rgba(253, 253, 253, 0.5); /* Muted */
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text-main);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

.btn-vault {
    background-color: #1E293B; /* Dark Navy exactly like Mockup */
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 0.6rem 1.5rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-body);
}

.btn-vault:hover {
    background-color: #0F172A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-link {
    background: transparent;
    color: var(--clr-text-muted);
}

.btn-link:hover {
    color: var(--clr-text-main);
}

.btn-hidden {
    display: none !important;
}

/* Hero Section - Restored Dark Image Background */
.hero {
    padding: calc(var(--space-xl) + 2rem) 0 var(--space-lg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(5, 10, 24, 0.7), rgba(5, 10, 24, 0.9)),
        url('verithic_hero_brand.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    display: block; /* Center everything */
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}

.hero-overline {
    font-size: 0.35em;
    display: block;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.35rem; /* Slightly larger */
    color: rgba(255, 255, 255, 0.9); /* High contrast */
    line-height: 1.6;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400; /* Regular weight for better legibility */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

/* Premium Glass Features Card */
/* 4 Separate White Features Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure equal heights */
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #F9F8F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-svg {
    width: 28px;
    height: 28px;
    stroke: #34495E;
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-svg {
    transform: scale(1.1);
}

.feature-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--clr-text-main);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 80px; /* Crucial: 80px ensures "FINANCIACION..." fits perfectly and aligns with 2-liners */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    flex-grow: 1; /* Ensures bottom of cards align */
    margin: 0;
}

/* Impact Engine UI - Premium Glass Form for Dark Hero */
.impact-engine-container {
    background: rgba(0, 0, 0, 0.3);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3.5rem;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    margin-top: 120px;
    box-shadow: none;
}

.impact-engine-container h3 {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 2.5rem !important;
    letter-spacing: -0.01em;
    color: #FFFFFF !important;
}

.impact-input-group {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.impact-input-group input {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .impact-engine-container {
        margin-top: 40px;
        padding: 2rem 1.5rem;
    }
}

.impact-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.impact-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.2rem;
    border-radius: 6px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.impact-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
    display: none; /* Shown dynamically */
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}
.result-card h4 {
    color: #D4AF37;
}
.result-card p {
    color: #FFFFFF !important;
}

.result-card h4 {
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-card p {
    font-size: 1rem;
    color: var(--clr-text-main);
    margin-bottom: 0;
}

/* Mobile Sticky CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    padding: 1rem;
    z-index: 2000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}




/* Impact Hacks Section */
.section-hacks {
    padding: var(--space-lg) 0;
    background: var(--clr-bg);
}

.hacks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.hack-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hack-card:hover {
    border-color: var(--clr-accent);
    background: rgba(52, 73, 94, 0.03);
    transform: translateY(-5px);
}

.hack-icon {
    font-size: 2rem;
    color: var(--clr-accent);
}

.hack-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text-main);
}

.hack-content p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.btn-text-gold {
    background: none;
    border: none;
    color: var(--clr-accent);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    display: inline-block;
    transition: var(--transition);
}

.btn-text-gold:hover {
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(52, 73, 94, 0.3);
}

@media (max-width: 968px) {
    .hacks-grid {
        grid-template-columns: 1fr;
    }
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

/* Timeline / Customer Journey */
.section-timeline {
    padding: var(--space-lg) 0;
    background: var(--clr-bg);
    overflow: hidden;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0; /* Reduced from 4rem for architectural tightness */
}

.timeline-row::before {
    content: '';
    position: absolute;
    top: 3.5rem; /* Adjusted for reduced padding */
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.5);
    background: var(--clr-accent);
    box-shadow: 0 0 15px var(--clr-accent);
}

.timeline-item h4 {
    font-size: 0.8rem;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* AI Authority Section */
.section-ai-authority {
    padding: var(--space-lg) 0;
    background: var(--clr-surface);
}

.ai-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.ai-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--clr-border);
    padding: var(--space-md);
    border-radius: 4px;
    transition: var(--transition);
}

.ai-card:hover {
    background: rgba(255,255,255,0.04);
}

.ai-badge {
    display: inline-block;
    font-size: 0.65rem;
    color: var(--clr-accent);
    border: 1px solid var(--clr-accent);
    padding: 2px 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Visual Card */
.visual-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-border);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stat-label {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-value.highlight {
    color: var(--clr-accent);
}

.stat-value-money {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-success);
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--clr-accent);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Lead Capture Card (Hero) */
.lead-card {
    padding: 2rem;
    background: rgba(16, 22, 36, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lead-card .card-header {
    background: transparent;
    color: var(--clr-text-main);
    padding: 0 0 2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.lead-card .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--clr-accent);
}

.card-body {
    padding: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

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

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    cursor: pointer;
}

.form-group select option {
    background: #F9F8F6;
    color: white;
    padding: 10px;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.12);
}

.form-group select.error,
.form-group input.error {
    border-color: var(--clr-warning);
}

.full-width {
    width: 100%;
}

.form-note {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* RGPD Consent row */
.rgpd-consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.rgpd-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.15rem;
    width: 14px;
    height: 14px;
    accent-color: var(--clr-accent);
    cursor: pointer;
}

.rgpd-consent a {
    color: var(--clr-accent);
    text-decoration: underline;
}

/* Multi-step Form */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.step-indicator .dot.active {
    background: var(--clr-accent);
    transform: scale(1.2);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.form-actions.row-actions {
    gap: 1rem;
}

.form-message {
    text-align: center;
    margin-bottom: 2rem;
}

.form-message h4 {
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.form-message p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Radio Cards */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 1.5rem;
    background: #FFFFFF; /* White */
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.05rem;
    font-weight: 500;
    color: #34495E; /* Enforce primary blue color */
    letter-spacing: 0.3px;
    min-height: 64px;
}

.radio-card:hover {
    border-color: rgba(52, 73, 94, 0.4);
    background: rgba(52, 73, 94, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card.selected {
    background: #EFF6FF; /* Very light blue for selected state */
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(52, 73, 94, 0.15);
}

.rc-text {
    flex-grow: 1;
    text-align: left;
}

/* Custom Luxury Radio Circle - Force visibility */
.radio-card::before {
    content: '';
    display: inline-block; /* Re-ensured display block */
    width: 22px;
    height: 22px;
    border: 2px solid #34495E; /* Highly visible dark border for unselected state */
    border-radius: 50%;
    margin-right: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    box-shadow: inset 0 0 0 4px #FFFFFF; /* Inner shadow to create target effect when selected */
}

.radio-card.selected::before {
    background: #D4AF37; /* Fill with gold when selected */
    border-color: #D4AF37;
}

/* Extra inline animation removed to not conflict with logo-spin */

.radio-card.selected::before {
    border-color: var(--clr-accent);
    background: radial-gradient(circle, var(--clr-accent) 0%, var(--clr-accent) 35%, transparent 40%);
    box-shadow: 0 0 10px rgba(52, 73, 94, 0.3);
}

/* Steps Section */
.section-steps {
    padding: 8rem 0;
    background: #F9F8F6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--clr-surface);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--clr-border);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--clr-accent);
    transform: translateY(-5px);
}

.step-num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(52, 73, 94, 0.1);
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: var(--font-heading);
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--clr-accent);
}

.step-content p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

/* Builder Section */
.section-builder {
    padding: 8rem 0;
    background: var(--clr-mist);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.builder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Service Card */
.service-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(52, 73, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--clr-accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(157, 193, 131, 0.1);
    color: var(--clr-success);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(157, 193, 131, 0.3);
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--clr-success);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.service-card.selected {
    border-color: var(--clr-success);
    background: rgba(157, 193, 131, 0.05);
}

/* Builder Summary */
.builder-summary {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-accent);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.summary-metric .label {
    display: block;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.summary-metric .value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Dashboard Styles */
.section-dashboard {
    padding: 8rem 0;
    min-height: 100vh;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.sidebar-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Radial Progress */
.radial-progress {
    position: relative;
    width: 150px;
    margin: 0 auto;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: var(--clr-border);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: var(--clr-accent);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Kanban */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
}

.kanban-column h4 {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kanban-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.card-tag.high {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

.card-tag.medium {
    background: rgba(52, 73, 94, 0.12);
    color: var(--clr-accent);
}

.card-tag.low {
    background: rgba(157, 193, 131, 0.2);
    color: var(--clr-success);
}

.progress-mini {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 1rem;
}

.progress-mini .fill {
    height: 100%;
    background: var(--clr-accent);
    border-radius: 2px;
}

/* Forms & Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--clr-surface);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: #F9F8F6;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    color: white;
}

/* FAQ Section */
.section-faq {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-item h3 {
    color: var(--clr-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--clr-text-muted);
}

/* Activity Feed */
.activity-feed {
    list-style: none;
}

.activity-feed li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--clr-border);
    font-size: 0.85rem;
}

.activity-feed li .time {
    color: var(--clr-accent);
    font-weight: 700;
    margin-right: 1rem;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Dark Theme for Sections */
.dark-theme {
    background: #0A0F1E !important; /* Deep Navy */
    color: #FFFFFF !important;
}

.dark-theme h2, .dark-theme h3 {
    color: #FFFFFF !important;
}

.dark-theme p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dark-theme .step-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .step-num {
    color: rgba(255, 255, 255, 0.05) !important;
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.step-card {
    position: relative;
    overflow: hidden;
    padding: 4rem 2.5rem;
    height: 100%;
}

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

.section-steps {
    padding: 10rem 0; /* Increase padding to ensure title visibility */
}

.section-steps .section-header {
    margin-bottom: 6rem;
}

.section-steps .section-header h2 {
    color: #FFFFFF !important;
    font-size: 3.5rem;
}

/* Ensure fixed CTA doesn't overlap final content */
@media (max-width: 768px) {
    .section-steps {
        padding-bottom: 15rem !important;
    }
}

/* Success Section */
.section-success {
    padding: 8rem 0;
}

.success-card {
    background: var(--clr-surface);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

.success-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.success-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.success-content p {
    color: var(--clr-text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.success-stats {
    display: flex;
    gap: 3rem;
}

.s-stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--clr-accent);
}

.s-stat span {
    color: var(--clr-text-muted);
    font-size: 0.8rem;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 968px) {
    .success-card {
        grid-template-columns: 1fr;
    }

    .success-content {
        padding: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none;
}

/* Slot Picker */
.slot-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.slot-chip {
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.03);
    user-select: none;
}

.slot-chip:hover {
    border-color: rgba(52, 73, 94, 0.5);
    color: white;
    background: rgba(52, 73, 94, 0.06);
}

.slot-chip.selected {
    border-color: var(--clr-accent);
    background: rgba(52, 73, 94, 0.12);
    color: var(--clr-accent);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--clr-accent);
}



/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Exit-Intent Modal */
.modal-exit {
    background: linear-gradient(145deg, var(--clr-surface) 0%, #0d121f 100%);
    border: 1px solid rgba(52, 73, 94, 0.3);
    box-shadow: 0 25px 50px -12px rgba(30, 41, 59, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2.5rem;
}

.exit-header {
    text-align: center;
    margin-bottom: 2rem;
}

.exit-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exit-header p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

.exit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exit-form input {
    width: 100%;
    padding: 1rem;
    background: #F9F8F6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.exit-form input:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.12);
}

/* Force email input visibility in step 5 *//* --- CONSOLIDATED RESPONSIVE SYSTEM (MOBILE FIRST) --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .features-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }

    body { font-size: 15px; }

    .container {
        padding: 0 1.5rem;
    }

    /* Navbar & Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1100;
        background: transparent;
        border: none;
        padding: 0;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        margin-bottom: 5px;
        background-color: #FFFFFF;
        transition: 0.3s;
    }

    .hamburger span:last-child {
        margin-bottom: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--clr-primary) !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }

    .menu-toggle .close-icon {
        display: none;
    }

    .menu-toggle.active .hamburger {
        display: none;
    }

    .menu-toggle.active .close-icon {
        display: block;
        color: var(--clr-primary);
        font-size: 2.5rem;
        line-height: 1;
    }

    #btn-start-nav {
        width: 100%;
        max-width: 280px;
        padding: 1.25rem;
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Hero */
    .hero {
        padding: 10rem 0 5rem;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 3.5rem;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
        margin-bottom: 4rem;
    }

    .feature-item {
        width: 100%;
        padding: 1.5rem;
    }

    .impact-engine-container {
        padding: 2rem 1.5rem;
        margin-top: 60px;
    }

    .impact-engine-container h3 {
        font-size: 1.75rem;
    }

    .impact-input-group {
        flex-direction: column;
    }

    .impact-results {
        grid-template-columns: 1fr;
    }

    /* Success Case */
    .success-card {
        grid-template-columns: 1fr;
    }

    .success-content {
        padding: 3rem 1.5rem;
        order: 2;
    }

    .success-image {
        height: 300px;
        order: 1;
    }

    .success-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Generic Grids */
    .builder-grid, .steps-grid, .hacks-grid, .faq-grid, .ai-feed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .builder-summary {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* Timeline */
    .timeline-row {
        flex-direction: column;
    }

    .timeline-row::before {
        display: none;
    }

    .timeline-item {
        text-align: left;
        padding-left: 2.5rem;
        padding-bottom: 2.5rem;
        border-left: 1px solid var(--clr-border);
        margin-left: 1rem;
    }

    .timeline-dot {
        margin: 0;
        position: absolute;
        left: -6.5px;
        top: 0;
    }

    .sticky-cta {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .impact-engine-container h3 { font-size: 1.5rem; }
    .btn { padding: 1rem; width: 100%; }
}

/* Service Cards Custom Toggle */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 6px;
}
.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M15 18L9 12L15 6" stroke="%2334495E" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: .4s;
  border-radius: 4px;
}
input:checked + .slider {
  background-color: var(--clr-accent);
}
input:checked + .slider:before {
  transform: translateX(20px);
}
