/* Reset & Variables */
:root {
    --color-primary: #13ec5b;
    /* RAMEP Green Accent */
    --color-primary-dark: #0fa340;
    --color-red-heli: #c10a25;
    /* Pantone 186C */
    --color-red-heli-dark: #91001C;
    --color-bg-dark: #0c0c0c;
    /* HELI Process Black C */
    --color-bg-dark-elem: #1e1e1e;
    --color-bg-light: #efefef;
    /* HELI Diamond White */
    --color-text-light: #ffffff;
    --color-text-gray: #a0a0a0;
    --color-text-dark: #121212;

    --font-main: 'Manrope', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    color: var(--color-text-dark);
}

body {
    background-color: #ffffff;
    line-height: 1.6;
}

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

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

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-bg-dark);
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 55px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-red-heli);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-red-heli-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    background-color: #fff;
    color: var(--color-red-heli);
}

.btn-large:hover {
    background-color: #f1f1f1;
    color: var(--color-red-heli-dark);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-red-heli), #e01532);
    color: #fff;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 30px rgba(193, 10, 37, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(193, 10, 37, 0.6);
}

.hero-logo {
    height: 70px;
    object-fit: contain;
    background: #fff;
    /* Ensure contrast for the logo depending on the PNG transparency */
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 40px;
    /* Space between logo and super-headline */
    display: inline-block;
}

/* --- Section 1: HERO --- */
.hero-section {
    position: relative;
    background-color: var(--color-bg-dark);
    background: radial-gradient(circle at 70% 50%, rgba(193, 10, 37, 0.15) 0%, rgba(12, 12, 12, 0.92) 60%), url('/assets/heli-forklift-auth.png') center/cover no-repeat;
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
    /* Align the top of the logo with the top of the form */
    position: relative;
    z-index: 2;
}

.super-headline {
    color: var(--color-red-heli);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(193, 10, 37, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--color-red-heli);
}

.main-headline {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.sub-headline {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 45px;
    max-width: 90%;
    line-height: 1.7;
}

/* Form Glassmorphism */
.form-glass {
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-glass h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: left;
    color: #fff;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--color-red-heli);
    background: #111;
    box-shadow: 0 4px 15px rgba(193, 10, 37, 0.15);
}

.input-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 0.8rem;
    color: #aaa;
}

.input-checkbox input {
    margin-top: 3px;
}

.input-checkbox a {
    color: var(--color-primary);
    text-decoration: none;
}

.error-msg {
    color: #ff4d4f;
    font-size: 0.75rem;
    margin-top: 5px;
    display: none;
}

/* Loaders and Messages */
.loader {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #000;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    background: rgba(19, 236, 91, 0.1);
    color: var(--color-primary);
    padding: 15px;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

/* Rich Success State */
.form-success-box {
    text-align: center;
    padding: 30px 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.form-success-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.form-success-title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 800;
}

.form-success-msg {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-success-msg strong {
    color: var(--color-primary);
}

.form-success-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}

.success-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.success-step i {
    font-size: 1.1rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.form-success-whatsapp-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
}

.btn-success-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-success-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}


.error-message {
    background: rgba(227, 24, 55, 0.1);
    color: #ff4d4f;
    padding: 15px;
    border: 1px solid #ff4d4f;
    border-radius: var(--border-radius);
    margin-top: 15px;
    text-align: center;
}

/* --- SECTION 2: TCO --- */
.tco-section {
    padding: 120px 0;
    background: var(--color-bg-dark);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tco-section .section-title {
    color: #fff;
}

.tco-section .section-subtitle {
    color: #a0a0a0;
}

.tco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.tco-card {
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-bad {
    background-color: rgba(25, 25, 25, 0.8);
    position: relative;
    overflow: hidden;
}

.card-bad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-red-heli);
}

.card-good {
    background-color: rgba(19, 236, 91, 0.03);
    border: 1px solid rgba(19, 236, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.card-good::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #fff;
}

.icon-bad {
    color: var(--color-red-heli);
    font-size: 2.5rem;
}

.icon-good {
    color: var(--color-primary);
    font-size: 2.5rem;
}

.tco-list {
    list-style: none;
}

.tco-list li {
    margin-bottom: 18px;
    padding-left: 28px;
    position: relative;
    font-size: 1.1rem;
    color: #ddd;
}

.tco-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #666;
    font-size: 1.2rem;
}

.card-good .tco-list li::before {
    color: var(--color-primary);
}

.tco-highlight {
    background: linear-gradient(135deg, var(--color-red-heli), #8f061b);
    color: #fff;
    padding: 60px 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(193, 10, 37, 0.3);
    position: relative;
    overflow: hidden;
}

.tco-highlight h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* --- SECTION 3: FEATURES --- */
.features-section {
    padding: 100px 0 90px;
}

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

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card h3 {
    min-height: 58px;
    /* space for roughly 2 lines */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 25px;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

/* --- SECTION 4: AUTHORITY --- */
.authority-section {
    padding: 100px 0;
}

.authority-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.authority-list {
    list-style: none;
    margin-top: 30px;
}

.authority-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.authority-list i {
    font-size: 1.5rem;
    color: var(--color-red-heli);
    margin-top: 3px;
}

/* --- SECTION 5: SOCIAL PROOF --- */
.social-proof-section {
    padding: 100px 0 90px;
    background-color: #f5f5f5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.testimonial-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eaeaea;
}

/* Big quote watermark */
.testimonial-card::after {
    content: '”';
    position: absolute;
    top: -20px;
    right: 15px;
    font-size: 200px;
    color: #f4f4f4;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: #666;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 120px;
    /* Aligns author blocks nicely */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}

.author-info h4 {
    color: var(--color-bg-dark);
    font-size: 1.05rem;
    margin-bottom: 2px;
    font-weight: 800;
}

.author-info span {
    color: #ffb703;
    /* Yellow-gold from the screenshot */
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.logos-carousel {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    opacity: 0.6;
}

.logo-item {
    background: #e0e0e0;
    padding: 20px 40px;
    border-radius: 4px;
    font-weight: bold;
    color: #666;
}

/* --- SECTION 6: FINAL CTA --- */
.final-cta-section {
    background-color: var(--color-red-heli);
    color: #fff;
    padding: 130px 0 110px;
}

.cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-gray);
    padding: 40px 0;
    font-size: 0.9rem;
}

.main-footer a {
    color: var(--color-text-gray);
}

.main-footer a:hover {
    color: #fff;
}

/* --- FAB WHATSAPP --- */
.fab-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    text-decoration: none;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe58;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .main-headline {
        font-size: 2.5rem;
    }

    .hero-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-container,
    .tco-grid,
    .features-grid,
    .authority-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .main-headline {
        font-size: 2.2rem;
    }

    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-content .cta-scroll {
        display: none;
    }

    /* Hide btn above form on mobile to save space */
    .sub-headline {
        max-width: 100%;
    }

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

    .tco-highlight h3 {
        font-size: 1.5rem;
    }

    .tco-card {
        padding: 30px 20px;
    }

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

/* ============================================
   WHATSAPP PRE-CHAT MODAL
   ============================================ */
.wa-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 24px 96px 0;
    /* above the FAB button */
    animation: fadeInOverlay 0.2s ease;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wa-modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 340px;
    padding: 28px 24px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: slideUpModal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.wa-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.wa-modal-close:hover {
    color: #333;
}

.wa-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.wa-modal-icon {
    font-size: 2.2rem;
    color: #25d366;
    flex-shrink: 0;
}

.wa-modal-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.wa-modal-header p {
    font-size: 0.8rem;
    color: #777;
}

.wa-input-group {
    margin-bottom: 14px;
}

.wa-input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.wa-input-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: border-color 0.2s;
    outline: none;
}

.wa-input-group input:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-modal-btn {
    width: 100%;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.wa-modal-btn i {
    font-size: 1.3rem;
}

.wa-modal-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.wa-modal-privacy {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 12px;
}