/* ============================================
   RESOUDRE TECH — DESIGN SYSTEM
   Part 1: Variables, Base, Navbar, Buttons
   ============================================ */

/* ─── CSS Variables ─────────────────────────── */
:root {
    --rt-dark: #0a0f1c;
    --rt-dark-2: #111827;
    --rt-dark-3: #1a1f35;
    --rt-dark-4: #242b45;
    --rt-blue: #4f8cff;
    --rt-blue-light: #6ba3ff;
    --rt-blue-dark: #3a6fd8;
    --rt-accent: #f5a623;
    --rt-accent-light: #ffbe4f;
    --rt-green: #34d399;
    --rt-purple: #a78bfa;
    --rt-white: #ffffff;
    --rt-gray-100: #f1f5f9;
    --rt-gray-200: #e2e8f0;
    --rt-gray-300: #cbd5e1;
    --rt-gray-400: #94a3b8;
    --rt-gray-500: #64748b;
    --rt-gray-600: #475569;
    --rt-text: #e2e8f0;
    --rt-text-muted: #94a3b8;
    --rt-border: rgba(255,255,255,0.08);
    --rt-glass: rgba(255,255,255,0.04);
    --rt-glass-border: rgba(255,255,255,0.1);
    --rt-shadow: 0 8px 32px rgba(0,0,0,0.3);
    --rt-shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --rt-radius: 12px;
    --rt-radius-lg: 20px;
    --rt-radius-xl: 28px;
    --rt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --rt-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --rt-font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

/* ─── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--rt-font);
    background: var(--rt-dark);
    color: var(--rt-text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rt-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--rt-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--rt-text-muted); margin-bottom: 1rem; }

a {
    color: var(--rt-blue);
    text-decoration: none;
    transition: var(--rt-transition);
}
a:hover { color: var(--rt-blue-light); }

img { max-width: 100%; height: auto; }

section {
    padding: 100px 0;
    position: relative;
}

.rt-section-dark { background: var(--rt-dark); }
.rt-section-darker { background: var(--rt-dark-2); }
.rt-section-gradient {
    background: linear-gradient(180deg, var(--rt-dark) 0%, var(--rt-dark-2) 100%);
}

/* ─── Section Headers ───────────────────────── */
.rt-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79,140,255,0.1);
    border: 1px solid rgba(79,140,255,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rt-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.rt-section-badge i { font-size: 0.7rem; }

.rt-section-title {
    margin-bottom: 20px;
    position: relative;
}

.rt-section-title span {
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rt-pedigree-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0;
}

.rt-pedigree-line {
    display: block;
    text-wrap: balance;
}

.rt-section-subtitle {
    font-size: 1.1rem;
    color: var(--rt-text-muted);
    max-width: 650px;
}

.text-center .rt-section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── Buttons ───────────────────────────────── */
.rt-btn-primary {
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-dark));
    color: var(--rt-white) !important;
    border: none;
    padding: 12px 28px;
    border-radius: var(--rt-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--rt-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(79,140,255,0.3);
}

.rt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,140,255,0.45);
    background: linear-gradient(135deg, var(--rt-blue-light), var(--rt-blue));
    color: var(--rt-white) !important;
}

.rt-btn-outline {
    background: transparent;
    color: var(--rt-white) !important;
    border: 1.5px solid var(--rt-glass-border);
    padding: 12px 28px;
    border-radius: var(--rt-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--rt-transition);
}

.rt-btn-outline:hover {
    border-color: var(--rt-blue);
    background: rgba(79,140,255,0.08);
    color: var(--rt-blue) !important;
    transform: translateY(-2px);
}

.rt-btn-light {
    background: var(--rt-white);
    color: var(--rt-dark) !important;
    border: none;
    padding: 14px 32px;
    border-radius: var(--rt-radius);
    font-weight: 700;
    transition: var(--rt-transition);
}

.rt-btn-light:hover {
    background: var(--rt-gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
    color: var(--rt-dark) !important;
}

.rt-btn-accent {
    background: linear-gradient(135deg, var(--rt-accent), #e8961a);
    color: var(--rt-dark) !important;
    border: none;
    padding: 12px 28px;
    border-radius: var(--rt-radius);
    font-weight: 700;
    transition: var(--rt-transition);
    box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}

.rt-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,166,35,0.45);
    color: var(--rt-dark) !important;
}

/* ─── Navbar ────────────────────────────────── */
.rt-navbar {
    padding: 16px 0;
    transition: var(--rt-transition);
    z-index: 1050;
    background: transparent;
}

.rt-navbar.scrolled {
    background: rgba(10,15,28,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rt-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.rt-logo { height: 48px; transition: var(--rt-transition); }
.rt-navbar.scrolled .rt-logo { height: 42px; }
.rt-mobile-logo { height: 48px; width: auto; }

.rt-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px !important;
    position: relative;
    letter-spacing: 0.3px;
}

.rt-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--rt-blue);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.rt-navbar .nav-link:hover,
.rt-navbar .nav-link.active { color: var(--rt-white) !important; }

.rt-navbar .nav-link:hover::after,
.rt-navbar .nav-link.active::after { transform: scaleX(1); }

.rt-nav-cta {
    padding: 10px 22px !important;
    font-size: 0.88rem !important;
}

/* Hamburger */
.rt-toggler {
    border: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.rt-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rt-white);
    border-radius: 2px;
    transition: var(--rt-transition);
}

/* Mobile Menu */
.rt-mobile-menu {
    background: var(--rt-white);
    width: 320px !important;
}

.rt-mobile-nav li a {
    display: block;
    padding: 14px 0;
    color: var(--rt-dark);
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rt-gray-200);
}

.rt-mobile-nav li a:hover,
.rt-mobile-nav li a.active { color: var(--rt-blue); }

.rt-mobile-contact { color: var(--rt-gray-500); font-size: 0.9rem; }
.rt-mobile-contact p { margin-bottom: 8px; }

.rt-mobile-social { display: flex; gap: 12px; }
.rt-mobile-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--rt-gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--rt-dark);
    font-size: 0.9rem;
}
.rt-mobile-social a:hover {
    background: var(--rt-blue);
    color: var(--rt-white);
}

/* ============================================
   Part 2: Hero, Cards, Features, Stats
   ============================================ */

/* ─── Hero Section ──────────────────────────── */
.rt-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rt-dark) 0%, #0d1b3e 40%, var(--rt-dark-2) 100%);
}

.rt-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79,140,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: rt-pulse 8s ease-in-out infinite;
}

.rt-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: rt-pulse 10s ease-in-out infinite reverse;
}

@keyframes rt-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

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

.rt-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.rt-hero-title .rt-gradient-text {
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-purple), var(--rt-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: rt-gradient-shift 4s ease infinite;
}

@keyframes rt-gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.rt-hero-subtitle {
    font-size: 1.2rem;
    color: var(--rt-text-muted);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.rt-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.rt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(79,140,255,0.08);
    border: 1px solid rgba(79,140,255,0.15);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rt-blue-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Hero Visual / Pipeline */
.rt-hero-visual {
    position: relative;
    z-index: 2;
}

.rt-pipeline-visual {
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-xl);
    padding: 40px;
    backdrop-filter: blur(10px);
    position: relative;
}

.rt-pipeline-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rt-pipeline-step {
    text-align: center;
    flex: 1;
}

.rt-pipeline-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.6rem;
    color: var(--rt-white);
    position: relative;
}

.rt-pipeline-step:nth-child(1) .rt-pipeline-step-icon {
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-dark));
    box-shadow: 0 0 30px rgba(79,140,255,0.3);
}
.rt-pipeline-step:nth-child(2) .rt-pipeline-step-icon {
    background: linear-gradient(135deg, var(--rt-purple), #7c3aed);
    box-shadow: 0 0 30px rgba(167,139,250,0.3);
}
.rt-pipeline-step:nth-child(3) .rt-pipeline-step-icon {
    background: linear-gradient(135deg, var(--rt-green), #059669);
    box-shadow: 0 0 30px rgba(52,211,153,0.3);
}

.rt-pipeline-step h5 { font-size: 1rem; margin-bottom: 4px; }
.rt-pipeline-step p { font-size: 0.82rem; color: var(--rt-gray-400); margin: 0; }

.rt-pipeline-arrow {
    color: var(--rt-gray-500);
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: rt-arrow-pulse 2s ease-in-out infinite;
}

@keyframes rt-arrow-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* ─── Glass Cards ───────────────────────────── */
.rt-glass-card {
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-lg);
    padding: 36px;
    transition: var(--rt-transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.rt-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rt-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rt-glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79,140,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.rt-glass-card:hover::before { opacity: 1; }

.rt-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--rt-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--rt-white);
}

.rt-card-icon-blue {
    background: linear-gradient(135deg, rgba(79,140,255,0.15), rgba(79,140,255,0.05));
    color: var(--rt-blue);
    border: 1px solid rgba(79,140,255,0.2);
}
.rt-card-icon-purple {
    background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(167,139,250,0.05));
    color: var(--rt-purple);
    border: 1px solid rgba(167,139,250,0.2);
}
.rt-card-icon-green {
    background: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(52,211,153,0.05));
    color: var(--rt-green);
    border: 1px solid rgba(52,211,153,0.2);
}
.rt-card-icon-accent {
    background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
    color: var(--rt-accent);
    border: 1px solid rgba(245,166,35,0.2);
}

.rt-glass-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.rt-glass-card p { font-size: 0.95rem; color: var(--rt-gray-400); margin: 0; }

/* ─── Stats Section ─────────────────────────── */
.rt-stats {
    padding: 60px 0;
    background: linear-gradient(90deg, rgba(79,140,255,0.05) 0%, rgba(167,139,250,0.05) 50%, rgba(52,211,153,0.05) 100%);
    border-top: 1px solid var(--rt-border);
    border-bottom: 1px solid var(--rt-border);
}

.rt-stat-item { text-align: center; padding: 20px; }

.rt-stat-number {
    font-family: var(--rt-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.rt-stat-label {
    font-size: 0.9rem;
    color: var(--rt-gray-400);
    font-weight: 500;
}

/* ─── Feature Row (Icon + Text side by side) ── */
.rt-feature-row {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--rt-radius);
    transition: var(--rt-transition);
}

.rt-feature-row:hover {
    background: var(--rt-glass);
}

.rt-feature-row .rt-card-icon { flex-shrink: 0; margin-bottom: 0; }
.rt-feature-row h4 { font-size: 1.1rem; margin-bottom: 8px; }
.rt-feature-row p { font-size: 0.9rem; margin: 0; }

/* ─── Features List ────────────────────────── */
.rt-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rt-features-list li {
    padding: 12px 0;
    color: var(--rt-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rt-features-list strong {
    color: var(--rt-white);
}

/* ============================================
   Part 3: Footer, CTA, Pricing, Forms, Blog, Responsive
   ============================================ */

/* ─── CTA Banner ────────────────────────────── */
.rt-cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1b3e 0%, var(--rt-dark-2) 100%);
}

.rt-cta-inner {
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-dark));
    border-radius: var(--rt-radius-xl);
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
}

.rt-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.rt-cta-inner h2 { font-size: 2rem; color: var(--rt-white); }
.rt-cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 0; }

/* ─── Footer ────────────────────────────────── */
.rt-footer {
    background: var(--rt-dark-2);
    position: relative;
    overflow: hidden;
}

.rt-footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.rt-footer-top { padding: 80px 0 40px; position: relative; z-index: 1; }

.rt-footer-logo img { height: 56px; width: auto; }

.rt-footer-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--rt-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.rt-footer-widget ul { list-style: none; padding: 0; margin: 0; }

.rt-footer-widget ul li a {
    color: var(--rt-gray-400);
    font-size: 0.92rem;
    display: block;
    padding: 5px 0;
    transition: var(--rt-transition);
}

/* ─── Global Book Call Modal ───────────────── */
.modal-backdrop.show {
    opacity: 0.86;
    backdrop-filter: blur(3px);
}

.rt-book-call-modal {
    background:
        radial-gradient(circle at top right, rgba(79,140,255,0.14), transparent 38%),
        radial-gradient(circle at bottom left, rgba(167,139,250,0.1), transparent 42%),
        linear-gradient(160deg, #121c33 0%, #111827 55%, #0d1528 100%);
    background-color: #111827;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--rt-radius-lg);
    box-shadow: 0 35px 90px rgba(0,0,0,0.5), 0 2px 0 rgba(255,255,255,0.05) inset;
    overflow: hidden;
}

#bookCallModal .modal-content.rt-book-call-modal {
    background:
        radial-gradient(circle at top right, rgba(79,140,255,0.14), transparent 38%),
        radial-gradient(circle at bottom left, rgba(167,139,250,0.1), transparent 42%),
        linear-gradient(160deg, #121c33 0%, #111827 55%, #0d1528 100%) !important;
    background-color: #111827 !important;
    color: var(--rt-gray-200) !important;
    border-color: rgba(255,255,255,0.14) !important;
}

#bookCallModal .modal-header,
#bookCallModal .modal-body,
#bookCallModal .modal-footer {
    background-color: transparent !important;
}

.rt-book-call-modal .modal-header,
.rt-book-call-modal .modal-footer {
    border-color: rgba(255,255,255,0.1);
    background: rgba(6,10,20,0.25);
}

.rt-book-call-modal .modal-header {
    align-items: flex-start;
    padding: 22px 26px 14px;
}

.rt-book-call-modal .modal-body {
    padding: 18px 26px 10px;
}

.rt-book-call-modal .modal-footer {
    padding: 16px 26px 22px;
}

.rt-book-call-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9dc2ff;
    background: rgba(79,140,255,0.12);
    border: 1px solid rgba(79,140,255,0.25);
    border-radius: 40px;
    padding: 5px 12px;
    margin-bottom: 10px;
}

.rt-book-call-modal .modal-title {
    color: #ffffff;
    font-family: var(--rt-font-heading);
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 6px;
}

.rt-book-call-subtitle {
    margin: 0;
    color: #b8c4dd;
    font-size: 0.9rem;
}

.rt-book-call-modal .form-label {
    color: #d4deef;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rt-book-call-modal .form-control {
    min-height: 46px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    color: #f2f6ff;
    border-radius: 10px;
    padding: 10px 12px;
}

.rt-book-call-modal .form-control:focus {
    border-color: var(--rt-blue);
    box-shadow: 0 0 0 0.2rem rgba(79,140,255,0.18), 0 8px 20px rgba(79,140,255,0.08);
    background: rgba(255,255,255,0.08);
    color: var(--rt-white);
}

.rt-book-call-modal .form-control::placeholder {
    color: #90a0bf;
}

.rt-book-call-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.rt-book-call-points span {
    font-size: 0.78rem;
    color: #d4deef;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    border-radius: 40px;
    padding: 6px 12px;
}

.rt-book-call-points i {
    color: var(--rt-green);
    margin-right: 6px;
}

.rt-book-call-modal .btn-close {
    opacity: 0.95;
    margin-top: 2px;
    filter: invert(1) grayscale(100%) brightness(180%);
}

.rt-book-call-modal .btn-close:focus {
    box-shadow: 0 0 0 0.2rem rgba(79,140,255,0.25);
    border-radius: 8px;
}

.rt-footer-widget ul li a:hover {
    color: var(--rt-white);
    transform: translateX(4px);
}

.rt-footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.rt-footer-contact li > i {
    color: var(--rt-blue);
    margin-top: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rt-footer-contact li div strong {
    display: block;
    color: var(--rt-white);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.rt-footer-contact li div span,
.rt-footer-contact li div a {
    font-size: 0.85rem;
    color: var(--rt-gray-400);
    display: block;
}

.rt-footer-social { display: flex; gap: 10px; }

.rt-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--rt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-gray-400);
    font-size: 0.9rem;
    transition: var(--rt-transition);
}

.rt-footer-social a:hover {
    background: var(--rt-blue);
    border-color: var(--rt-blue);
    color: var(--rt-white);
    transform: translateY(-3px);
}

.rt-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--rt-border);
    position: relative;
    z-index: 1;
}

.rt-footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--rt-gray-500);
}

.rt-footer-bottom a { color: var(--rt-blue); }

/* ─── Back to Top ───────────────────────────── */
.rt-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-dark));
    color: var(--rt-white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--rt-transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(79,140,255,0.3);
}

.rt-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rt-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(79,140,255,0.45);
}

/* ─── Pricing Cards ─────────────────────────── */
.rt-pricing-card {
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-xl);
    padding: 0;
    overflow: hidden;
    transition: var(--rt-transition);
}

.rt-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rt-shadow-lg);
}

.rt-pricing-header {
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(79,140,255,0.08), rgba(167,139,250,0.05));
    border-bottom: 1px solid var(--rt-border);
}

.rt-pricing-phase {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rt-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.rt-pricing-header h3 { font-size: 1.4rem; margin-bottom: 8px; }
.rt-pricing-header p { margin: 0; font-size: 0.9rem; }

.rt-pricing-body { padding: 32px; }

.rt-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.rt-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--rt-text);
    font-size: 0.95rem;
}

.rt-pricing-features li i {
    color: var(--rt-green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ─── Forms ─────────────────────────────────── */
.rt-form-group { margin-bottom: 20px; }

.rt-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rt-gray-300);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rt-form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius);
    color: var(--rt-white);
    font-size: 0.95rem;
    font-family: var(--rt-font);
    transition: var(--rt-transition);
    outline: none;
}

.rt-form-control::placeholder { color: var(--rt-gray-500); }

.rt-form-control:focus {
    border-color: var(--rt-blue);
    box-shadow: 0 0 0 3px rgba(79,140,255,0.15);
    background: rgba(255,255,255,0.06);
}

textarea.rt-form-control { min-height: 140px; resize: vertical; }

.rt-form-success {
    padding: 16px;
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.3);
    border-radius: var(--rt-radius);
    color: var(--rt-green);
    display: none;
}

/* ─── Blog Cards ────────────────────────────── */
.rt-blog-card {
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    transition: var(--rt-transition);
}

.rt-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.rt-blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rt-blog-card-body { padding: 28px; }

.rt-blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--rt-gray-400);
}

.rt-blog-card-meta i { margin-right: 4px; }

.rt-blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.rt-blog-card-body h3 a { color: var(--rt-white); }
.rt-blog-card-body h3 a:hover { color: var(--rt-blue); }

.rt-blog-card-body p { font-size: 0.9rem; }

.rt-blog-read-more {
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rt-blog-read-more i { transition: transform 0.3s ease; }
.rt-blog-read-more:hover i { transform: translateX(4px); }

/* ─── Blog Post Detail Page ─────────────────────────────────────── */

/* Page header tweaks for blog */
.rt-blog-post-header { padding-bottom: 60px; }
.rt-blog-post-title { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; margin: 12px 0 16px; }
.rt-blog-post-excerpt { font-size: 1.15rem; color: var(--rt-text-muted); max-width: 680px; line-height: 1.7; }
.rt-blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.9rem; color: var(--rt-gray-400); }
.rt-blog-post-meta i { margin-right: 5px; color: var(--rt-blue); }
.rt-meta-sep { color: var(--rt-gray-600); }

/* Tag badge */
.rt-tag-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79,140,255,0.12);
    color: var(--rt-blue);
    border: 1px solid rgba(79,140,255,0.25);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* Article shell */
.rt-article { background: var(--rt-glass); border: 1px solid var(--rt-glass-border); border-radius: var(--rt-radius-xl); overflow: hidden; }

/* Hero image */
.rt-article-hero-img { width: 100%; max-height: 440px; overflow: hidden; }
.rt-article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Article body — rich content styles */
.rt-article-body {
    padding: 40px 44px;
    color: var(--rt-gray-200);
    font-size: 1.05rem;
    line-height: 1.85;
}
.rt-article-body p { margin-bottom: 1.4em; }
.rt-article-body h2 { font-size: 1.55rem; color: var(--rt-white); margin: 2em 0 0.6em; padding-bottom: 8px; border-bottom: 1px solid var(--rt-glass-border); }
.rt-article-body h3 { font-size: 1.25rem; color: var(--rt-white); margin: 1.8em 0 0.5em; }
.rt-article-body h4 { font-size: 1.05rem; color: var(--rt-blue); margin: 1.5em 0 0.4em; text-transform: uppercase; letter-spacing: 0.04em; }
.rt-article-body ul, .rt-article-body ol { margin: 1em 0 1.4em 1.2em; padding-left: 1rem; }
.rt-article-body li { margin-bottom: 0.55em; }
.rt-article-body strong { color: var(--rt-white); font-weight: 600; }
.rt-article-body em { color: var(--rt-gray-300); font-style: italic; }
.rt-article-body a { color: var(--rt-blue); text-decoration: underline; text-underline-offset: 3px; }
.rt-article-body a:hover { color: var(--rt-blue-light, #7aaeff); }
.rt-article-body img { width: 100%; border-radius: var(--rt-radius); margin: 24px 0; display: block; border: 1px solid var(--rt-glass-border); }
.rt-article-body blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    border-left: 4px solid var(--rt-blue);
    background: rgba(79,140,255,0.07);
    border-radius: 0 var(--rt-radius) var(--rt-radius) 0;
    color: var(--rt-gray-200);
    font-size: 1.1rem;
    font-style: italic;
}
.rt-article-body code {
    background: rgba(79,140,255,0.1);
    color: var(--rt-blue);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: 'Courier New', Courier, monospace;
}
.rt-article-body pre {
    background: var(--rt-dark-4, #0d1220);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius);
    padding: 24px;
    overflow-x: auto;
    margin: 1.6em 0;
}
.rt-article-body pre code { background: none; padding: 0; color: var(--rt-gray-200); }
.rt-article-body hr { border: none; border-top: 1px solid var(--rt-glass-border); margin: 2.5em 0; }
.rt-article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.rt-article-body th { background: rgba(79,140,255,0.12); color: var(--rt-white); padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--rt-blue); }
.rt-article-body td { padding: 12px 16px; border-bottom: 1px solid var(--rt-glass-border); color: var(--rt-gray-300); }
.rt-article-body tr:hover td { background: rgba(255,255,255,0.03); }

/* Article footer: tags + share */
.rt-article-footer {
    padding: 24px 44px;
    border-top: 1px solid var(--rt-glass-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.rt-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rt-tags-label { font-size: 0.82rem; color: var(--rt-gray-500); margin-right: 4px; }
.rt-share-row { display: flex; align-items: center; gap: 8px; }
.rt-share-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--rt-glass-border);
    background: var(--rt-glass);
    color: var(--rt-gray-300);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--rt-transition);
    text-decoration: none;
}
.rt-share-btn:hover { border-color: var(--rt-blue); color: var(--rt-blue); transform: translateY(-2px); }

/* Author card */
.rt-author-card {
    margin: 0 44px 0 44px;
    padding: 28px;
    background: rgba(79,140,255,0.06);
    border: 1px solid rgba(79,140,255,0.2);
    border-radius: var(--rt-radius-lg);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.rt-author-avatar {
    width: 64px; height: 64px; min-width: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rt-blue), var(--rt-purple));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--rt-white);
}
.rt-author-name { font-weight: 700; color: var(--rt-white); font-size: 1rem; margin-bottom: 4px; }
.rt-author-bio { font-size: 0.9rem; color: var(--rt-gray-400); line-height: 1.6; margin-bottom: 10px; }
.rt-author-link { font-size: 0.85rem; color: var(--rt-blue); text-decoration: none; font-weight: 600; }
.rt-author-link:hover { text-decoration: underline; }
.rt-article .btn { margin-left: 44px; margin-bottom: 40px; }

/* Sidebar */
.rt-blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.rt-sidebar-cta {
    background: linear-gradient(135deg, rgba(79,140,255,0.15), rgba(167,139,250,0.1));
    border: 1px solid rgba(79,140,255,0.3);
    border-radius: var(--rt-radius-xl);
    padding: 32px 28px;
    text-align: center;
}
.rt-sidebar-cta-icon { font-size: 2.5rem; color: var(--rt-blue); margin-bottom: 12px; }
.rt-sidebar-cta h4 { color: var(--rt-white); font-size: 1.1rem; margin-bottom: 10px; }
.rt-sidebar-cta p { font-size: 0.9rem; color: var(--rt-gray-400); margin-bottom: 20px; }
.rt-sidebar-widget {
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-lg);
    padding: 24px;
}
.rt-sidebar-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rt-gray-400); margin-bottom: 16px; }
.rt-sidebar-posts { list-style: none; padding: 0; margin: 0; }
.rt-sidebar-posts li { padding: 12px 0; border-bottom: 1px solid var(--rt-glass-border); }
.rt-sidebar-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.rt-sidebar-posts a { color: var(--rt-gray-200); font-size: 0.9rem; text-decoration: none; line-height: 1.45; display: block; margin-bottom: 4px; }
.rt-sidebar-posts a:hover { color: var(--rt-blue); }
.rt-sidebar-post-date { font-size: 0.78rem; color: var(--rt-gray-500); }
.rt-sidebar-links { list-style: none; padding: 0; margin: 0; }
.rt-sidebar-links li { padding: 8px 0; border-bottom: 1px solid var(--rt-glass-border); }
.rt-sidebar-links li:last-child { border-bottom: none; }
.rt-sidebar-links a { color: var(--rt-gray-300); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.rt-sidebar-links a:hover { color: var(--rt-blue); }
.rt-sidebar-links i { color: var(--rt-blue); font-size: 0.7rem; }

/* Responsive */
@media (max-width: 767px) {
    .rt-article-body { padding: 28px 22px; }
    .rt-article-footer { padding: 20px 22px; }
    .rt-author-card { margin: 0 22px 28px; flex-direction: column; }
    .rt-article .btn { margin-left: 22px; }
}

/* Legacy .rt-blog-content kept for compatibility */
.rt-blog-content { max-width: 800px; margin: 0 auto; }

/* ─── About Page ────────────────────────────── */
.rt-about-image {
    border-radius: var(--rt-radius-xl);
    overflow: hidden;
    border: 1px solid var(--rt-glass-border);
}

.rt-team-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-xl);
}

.rt-team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--rt-blue);
    margin-bottom: 20px;
}

.rt-team-card h4 { margin-bottom: 4px; }
.rt-team-card .role { color: var(--rt-blue); font-weight: 600; font-size: 0.9rem; }

.rt-team-card .rt-team-social {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rt-team-card .rt-team-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--rt-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--rt-gray-400);
    transition: var(--rt-transition);
}

.rt-team-card .rt-team-social a:hover {
    background: var(--rt-blue);
    border-color: var(--rt-blue);
    color: var(--rt-white);
}

/* ─── Contact Page Specific ─────────────────── */
.rt-contact-info-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: var(--rt-glass);
    border: 1px solid var(--rt-glass-border);
    border-radius: var(--rt-radius-lg);
    margin-bottom: 16px;
    transition: var(--rt-transition);
}

.rt-contact-info-card:hover {
    border-color: rgba(79,140,255,0.25);
    transform: translateX(4px);
}

.rt-contact-info-card i {
    font-size: 1.2rem;
    color: var(--rt-blue);
    margin-top: 4px;
    flex-shrink: 0;
}

.rt-contact-info-card h5 { font-size: 1rem; margin-bottom: 4px; }
.rt-contact-info-card p { font-size: 0.9rem; margin: 0; }
.rt-contact-info-card a { color: var(--rt-gray-400); }

/* ─── Page Headers ──────────────────────────── */
.rt-page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--rt-dark) 0%, #0d1b3e 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rt-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,140,255,0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.rt-page-header h1 { position: relative; z-index: 1; margin-bottom: 16px; }
.rt-page-header p { position: relative; z-index: 1; font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.rt-breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.rt-breadcrumb li { font-size: 0.88rem; color: var(--rt-gray-400); }
.rt-breadcrumb li a { color: var(--rt-blue); }
.rt-breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--rt-gray-600); }

/* ─── Comparison Table ──────────────────────── */
.rt-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--rt-radius-lg);
    overflow: hidden;
    border: 1px solid var(--rt-glass-border);
}

.rt-comparison-table thead th {
    background: rgba(79,140,255,0.1);
    padding: 18px 20px;
    font-weight: 700;
    color: var(--rt-white);
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--rt-border);
}

.rt-comparison-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--rt-border);
    font-size: 0.9rem;
    color: var(--rt-gray-300);
}

.rt-comparison-table tbody tr:last-child td { border-bottom: none; }

.rt-comparison-table .rt-highlight-col {
    background: rgba(79,140,255,0.05);
    border-left: 2px solid var(--rt-blue);
}

/* ─── Admin Styles ──────────────────────────── */
.rt-admin-body {
    background: var(--rt-gray-100);
    color: var(--rt-dark);
    font-family: var(--rt-font);
}

.rt-admin-card {
    background: var(--rt-white);
    border-radius: var(--rt-radius);
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--rt-gray-200);
}

/* ─── Pagination ────────────────────────────── */
.rt-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }

.rt-pagination a,
.rt-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--rt-radius);
    border: 1px solid var(--rt-glass-border);
    color: var(--rt-gray-400);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--rt-transition);
}

.rt-pagination a:hover,
.rt-pagination .active {
    background: var(--rt-blue);
    border-color: var(--rt-blue);
    color: var(--rt-white);
}

/* ─── Utility Classes ───────────────────────── */
.rt-mb-0 { margin-bottom: 0 !important; }
.rt-mt-section { margin-top: 80px; }
.rt-pt-0 { padding-top: 0 !important; }

/* Animated underline text */
.rt-text-link {
    position: relative;
    font-weight: 600;
}
.rt-text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rt-blue);
    transition: width 0.3s ease;
}
.rt-text-link:hover::after { width: 100%; }

/* Divider */
.rt-divider {
    height: 1px;
    background: var(--rt-border);
    margin: 60px 0;
}

/* ─── Responsive ────────────────────────────── */
@media (max-width: 991px) {
    section { padding: 70px 0; }
    .rt-hero { min-height: auto; padding: 120px 0 80px; }
    .rt-hero-title { font-size: 2.2rem; }
    .rt-cta-inner { padding: 36px 28px; }
    .rt-cta-inner h2 { font-size: 1.5rem; }
    .rt-pipeline-steps { flex-direction: column; }
    .rt-pipeline-arrow { transform: rotate(90deg); }
    @keyframes rt-arrow-pulse {
        0%, 100% { opacity: 0.4; transform: rotate(90deg) translateX(0); }
        50% { opacity: 1; transform: rotate(90deg) translateX(4px); }
    }
    .rt-page-header { padding: 130px 0 60px; }
}

@media (max-width: 767px) {
    section { padding: 50px 0; }
    .rt-hero { padding: 100px 0 60px; }
    .rt-logo { height: 42px; }
    .rt-navbar.scrolled .rt-logo { height: 36px; }
    .rt-mobile-logo { height: 42px; }
    .rt-footer-logo img { height: 48px; }
    .rt-hero-title { font-size: 1.9rem; }
    .rt-hero-subtitle { font-size: 1rem; }
    .rt-hero-actions { flex-direction: column; }
    .rt-hero-actions .btn { width: 100%; text-align: center; }
    .rt-section-title { font-size: 1.6rem; }
    .rt-glass-card { padding: 24px; }
    .rt-cta-inner { padding: 28px 20px; text-align: center; }
    .rt-cta-inner h2 { font-size: 1.3rem; }
    .rt-footer-top { padding: 50px 0 30px; }
    .rt-page-header { padding: 110px 0 50px; }
    .rt-page-header h1 { font-size: 1.8rem; }
    .rt-pricing-card { margin-bottom: 20px; }
    .rt-comparison-table { font-size: 0.8rem; }
    .rt-stat-number { font-size: 2rem; }
    .rt-pedigree-title { font-size: 1.7rem; line-height: 1.25; }
}
