/* ============================================================
   ROOTLOGIC Mailer — Landing Page Styles
   ============================================================ */

:root {
    --primary:       #1a237e;
    --primary-light: #3949ab;
    --accent:        #00bcd4;
    --accent-dark:   #0097a7;
    --white:         #ffffff;
    --light-bg:      #f4f6fb;
    --text:          #2c3e50;
    --text-muted:    #6c757d;
    --border:        #e0e4ef;
    --shadow-sm:     0 2px 12px rgba(26,35,126,0.08);
    --shadow-md:     0 8px 40px rgba(26,35,126,0.14);
    --radius:        12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
    background: var(--white);
}

/* ── Utility ──────────────────────────────────────── */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.text-accent { color: var(--accent); }
.text-primary-rl { color: var(--primary); }

/* ── Navbar ───────────────────────────────────────── */
.rl-topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 68px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 16px rgba(26,35,126,0.09);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s;
}
.rl-topnav-brand {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--primary);
    text-decoration: none !important;
}
.rl-topnav-brand span { color: var(--accent); }
.rl-topnav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.rl-topnav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.rl-topnav-links a:hover { color: var(--primary-light); }
.rl-topnav-ctas { display: flex; gap: 12px; align-items: center; }
.btn-rl-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}
.btn-rl-outline:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}
.btn-rl-solid {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 14px rgba(26,35,126,0.25);
    letter-spacing: 0.3px;
}
.btn-rl-solid:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(26,35,126,0.35);
}
.btn-rl-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(0,188,212,0.35);
    display: inline-block;
    letter-spacing: 0.4px;
}
.btn-rl-accent:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0,188,212,0.45);
}
.btn-rl-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 8px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    display: inline-block;
    letter-spacing: 0.4px;
}
.btn-rl-ghost:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.75);
    color: white;
    text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d1b6e 0%, #1a237e 40%, #283593 70%, #1565c0 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,188,212,0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(57,73,171,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(0,188,212,0.18);
    color: var(--accent);
    border: 1px solid rgba(0,188,212,0.35);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    color: white;
    line-height: 1.18;
    margin-bottom: 22px;
    letter-spacing: -1px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 28px;
    color: white;
}
.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.hero-card-badge {
    background: rgba(0,188,212,0.2);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}
.hero-field { margin-bottom: 14px; }
.hero-field-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.hero-field-value {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 8px 12px;
}
.hero-send-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 8px;
    cursor: default;
}

/* ── Logos / Trusted By ───────────────────────────── */
.trusted-strip {
    background: var(--light-bg);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trusted-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    text-align: center;
    margin-bottom: 16px;
}
.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px;
    flex-wrap: wrap;
}
.trusted-logo {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ccc;
    text-transform: uppercase;
}

/* ── Sections ─────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--light-bg); }
.section-dark {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1b6e 100%);
    color: white;
}
.section-dark .section-title { color: white; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.section-dark .section-label { color: var(--accent); }

/* ── Features ─────────────────────────────────────── */
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.feature-icon.blue   { background: #e8eaf6; }
.feature-icon.cyan   { background: #e0f7fa; }
.feature-icon.green  { background: #e8f5e9; }
.feature-icon.orange { background: #fff3e0; }
.feature-icon.purple { background: #f3e5f5; }
.feature-icon.red    { background: #fce4ec; }
.feature-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── How It Works ─────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 28px 20px;
    position: relative;
}
.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(26,35,126,0.3);
}
.step-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.step-connector {
    position: absolute;
    top: 60px;
    right: -30px;
    color: var(--border);
    font-size: 1.8rem;
    font-weight: 300;
    z-index: 1;
}

/* ── Pricing ──────────────────────────────────────── */
.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.pricing-card.featured {
    border-color: var(--primary-light);
    box-shadow: 0 12px 48px rgba(26,35,126,0.18);
    transform: scale(1.03);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
}
.pricing-plan {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}
.pricing-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.55;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.pricing-features li {
    font-size: 0.9rem;
    color: var(--text);
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: #2e7d32; font-size: 1rem; }
.pricing-features .cross { color: #bdbdbd; font-size: 1rem; }

/* ── Testimonials ─────────────────────────────────── */
.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 32px 28px;
    height: 100%;
}
.testimonial-stars { color: #ffd54f; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.72;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: white;
}
.testimonial-role {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

/* ── Contact ──────────────────────────────────────── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
}
.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(26,35,126,0.22);
}
.contact-info-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}
.contact-info-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.contact-form-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form-wrap label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text);
    margin-bottom: 6px;
    display: block;
}
.contact-form-wrap .form-control {
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: 11px 14px;
    font-size: 0.92rem;
    transition: border-color 0.2s;
    background: #fafbfc;
}
.contact-form-wrap .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(57,73,171,0.12);
    background: white;
}
.contact-form-wrap .btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(26,35,126,0.25);
    transition: opacity 0.2s;
    cursor: pointer;
}
.contact-form-wrap .btn-submit:hover { opacity: 0.9; }

/* ── Map placeholder ──────────────────────────────── */
.map-placeholder {
    background: var(--light-bg);
    border-radius: var(--radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 32px;
}

/* ── Footer ───────────────────────────────────────── */
.rl-footer {
    background: #0a1045;
    color: rgba(255,255,255,0.65);
    padding: 64px 0 0;
}
.footer-brand {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 14px;
    display: inline-block;
}
.footer-brand span { color: var(--accent); }
.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 280px;
}
.footer-social { display: flex; gap: 12px; }
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.social-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    text-decoration: none;
}
.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer-contact-item span:first-child { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ── Mobile hamburger ─────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991px) {
    .rl-topnav { padding: 0 24px; }
    .rl-topnav-links { display: none; }
    .nav-toggle { display: flex; }
    .rl-topnav-ctas .btn-rl-outline { display: none; }
    .hero h1 { font-size: 2.4rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 767px) {
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-stats { gap: 24px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 1.6rem; }
    .contact-form-wrap { padding: 28px 20px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ── Support Float ─────────────────────────────── */
.support-float {
    position: fixed;
    right: 18px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.support-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.support-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    opacity: 0.95;
}

.support-whatsapp { background: #25d366; }
.support-email { background: var(--primary); }

@media (max-width: 767px) {
    .support-float {
        right: 12px;
        bottom: 14px;
        gap: 8px;
    }

    .support-float-btn {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }
}
