/* ============================================
   THE GROWTH ROUTES - MAIN STYLESHEET
   ============================================ */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
}

/* ============================================
   GENERAL STYLES
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1a1a1a;
}

.display-3, .display-4 {
    font-weight: 800 !important;
}

p {
    color: #555;
    line-height: 1.8;
}

.text-muted {
    color: #888 !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 24px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand i {
    margin-right: 8px;
    color: #667eea;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: white !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

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

.course-card {
    border-radius: 12px;
    overflow: hidden;
}

.course-card-hover {
    transition: all 0.3s ease;
}

.course-card-hover:hover {
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2) !important;
}

.card-title {
    color: var(--primary-color);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-step {
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */

.whatsapp-btn, .telegram-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
    background-color: #25d366;
    bottom: 30px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.telegram-btn {
    background-color: #0088cc;
    bottom: 110px;
}

.telegram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin-top: 60px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px 8px 0 0;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-button {
    font-weight: 600;
    background-color: transparent;
    border: 1px solid #e9ecef;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ============================================
   LEGAL CONTENT
   ============================================ */

.legal-content {
    color: #555;
    line-height: 1.8;
}

.legal-content h2, .legal-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
}

.legal-content ul {
    margin-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

/* ============================================
   STICKY PRICING CARD
   ============================================ */

.sticky-pricing {
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.sticky-pricing .card-body {
    padding: 30px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .display-3, .display-4 {
        font-size: 2rem !important;
    }
    
    .whatsapp-btn, .telegram-btn {
        bottom: auto;
        top: auto;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .whatsapp-btn {
        bottom: 15px;
    }
    
    .telegram-btn {
        bottom: 80px;
    }
    
    .sticky-pricing {
        position: static !important;
        margin-top: 30px;
    }
    
    .course-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    footer {
        padding: 30px 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.text-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
    border-radius: 12px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* ============================================
   CUSTOM FOCUS STYLES
   ============================================ */

:focus {
    outline: none;
}

button:focus, input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color) !important;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   THE GROWTH ROUTES V2 BRAND UI
   Inspired by the supplied academy/service design.
   ============================================ */

:root {
    --brand-primary: #1a6bff;
    --brand-dark: #0f4fd4;
    --brand-light: #5b93ff;
    --brand-teal: #00c9a0;
    --brand-violet: #6c47ff;
    --brand-magenta: #d90080;
    --bg-page: #080c14;
    --bg-surface: #0e1320;
    --bg-raised: #141a2e;
    --bg-elevated: #1a2238;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --border-brand: rgba(26, 107, 255, 0.4);
    --text-primary: #f0f4ff;
    --text-secondary: #9aa6c1;
    --text-tertiary: #65708c;
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 48px rgba(26, 107, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --primary-color: var(--brand-primary);
    --secondary-color: var(--brand-violet);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 15% 0%, rgba(26, 107, 255, 0.16), transparent 34rem),
        radial-gradient(circle at 85% 8%, rgba(217, 0, 128, 0.14), transparent 34rem),
        var(--bg-page);
    color: var(--text-primary);
    font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

h1, h2, h3, h4, h5, h6,
.display-3, .display-4 {
    color: var(--text-primary);
    font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    letter-spacing: 0;
}

p,
.text-muted,
.lead {
    color: var(--text-secondary) !important;
}

a {
    color: var(--brand-light);
}

.container {
    max-width: 1120px;
}

.app-navbar {
    background: rgba(8, 12, 20, 0.82) !important;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary) !important;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(217, 0, 128, 0.35));
}

.navbar-brand i {
    display: none;
}

.navbar-toggler {
    border-color: var(--border-default);
    border-radius: var(--radius-sm);
}

.nav-link {
    color: var(--text-secondary) !important;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    padding: 0.48rem 0.85rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary) !important;
    background: var(--bg-raised);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: 'Instrument Sans', sans-serif;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-violet));
    color: #fff;
    box-shadow: 0 0 0 0 rgba(26, 107, 255, 0);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-violet));
    box-shadow: 0 4px 32px rgba(26, 107, 255, 0.24), 0 0 0 4px rgba(26, 107, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline-primary,
.btn-outline-light {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary) !important;
    border-color: var(--border-brand);
}

.btn-outline-primary:hover,
.btn-outline-light:hover {
    background: rgba(26, 107, 255, 0.12);
    border-color: var(--brand-primary);
}

.btn-light {
    color: var(--brand-dark);
    background: #fff;
    border-color: #fff;
}

.btn-light:hover {
    color: var(--brand-dark);
    background: #edf3ff;
}

.hero-section,
section.bg-light,
.bg-light {
    background: transparent !important;
}

.hero-section {
    min-height: 86vh !important;
    display: flex;
    align-items: center;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
}

.hero-section::before {
    width: 560px;
    height: 560px;
    top: 8%;
    right: -180px;
    background: radial-gradient(circle, rgba(26, 107, 255, 0.18), transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 201, 160, 0.1), transparent 70%);
}

.hero-section h1 {
    font-size: clamp(2.7rem, 5.5vw, 5rem);
    line-height: 1.05;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h1,
.hero-section .display-3 {
    background: linear-gradient(135deg, #fff 0%, #cfe0ff 45%, #ff5da8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .text-lg-start h1,
.hero-section .text-lg-start .lead {
    margin-left: 0;
    margin-right: 0;
}

.hero-section .lead {
    max-width: 660px;
}

.hero-logo-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 86vw);
    aspect-ratio: 1;
}

.hero-logo-card::before,
.hero-logo-card::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid var(--border-brand);
}

.hero-logo-card::after {
    inset: 18%;
    border-style: dashed;
    border-color: var(--border-default);
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: 78%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 48px rgba(217, 0, 128, 0.22)) drop-shadow(0 0 36px rgba(26, 107, 255, 0.18));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.36rem 0.88rem;
    border-radius: var(--radius-pill);
    background: rgba(26, 107, 255, 0.12) !important;
    border: 1px solid rgba(26, 107, 255, 0.28);
    color: #7aadff !important;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge.bg-success,
.badge.bg-info {
    background: rgba(0, 201, 160, 0.1) !important;
    border-color: rgba(0, 201, 160, 0.24);
    color: #34d9b5 !important;
}

.card,
.accordion-item,
.toast,
.sticky-pricing,
.process-step {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-default) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
}

.card:hover,
.course-card-hover:hover,
.process-step:hover {
    border-color: var(--border-brand) !important;
    box-shadow: var(--shadow-card), var(--shadow-glow) !important;
    transform: translateY(-4px);
}

.card-body,
.card-footer {
    background: transparent !important;
}

.card-footer {
    border-top: 1px solid var(--border-subtle) !important;
}

.card-title,
.text-primary,
.legal-content h2,
.legal-content h3 {
    color: var(--brand-light) !important;
}

.card-img-top.bg-gradient,
.bg-gradient,
.step-number,
.step-badge {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-violet)) !important;
    box-shadow: 0 0 36px rgba(26, 107, 255, 0.22);
}

.course-card {
    overflow: hidden;
}

.course-card .card-img-top {
    border-bottom: 1px solid var(--border-subtle);
}

.course-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(217, 0, 128, 0.22), transparent 46%),
        linear-gradient(135deg, rgba(26, 107, 255, 0.22), rgba(108, 71, 255, 0.18));
    overflow: hidden;
}

.course-logo-placeholder img {
    width: 72%;
    max-height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(217, 0, 128, 0.24));
}

.course-detail-placeholder {
    min-height: 400px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.process-step {
    min-height: 100%;
    padding: 1.5rem;
}

.step-number,
.step-badge {
    color: #fff;
}

.accordion-button {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border: none;
}

.accordion-button:not(.collapsed) {
    color: #fff !important;
    box-shadow: none;
}

.accordion-body {
    color: var(--text-secondary);
    background: var(--bg-surface);
}

.form-control,
.form-control-lg,
textarea.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.form-control:focus,
textarea.form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--brand-primary) !important;
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(26, 107, 255, 0.24);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-label,
label {
    color: var(--text-secondary);
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.modal-header,
.modal-footer {
    border-color: var(--border-subtle) !important;
}

.modal-footer.bg-light {
    background: var(--bg-raised) !important;
}

footer {
    background: var(--bg-surface) !important;
    border-top: 1px solid var(--border-subtle);
    margin-top: 0;
}

.footer-logo {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(217, 0, 128, 0.24));
}

footer h5 {
    color: var(--text-primary);
}

footer p,
footer .text-white-50 {
    color: var(--text-secondary) !important;
}

footer a:hover {
    color: var(--brand-light) !important;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-raised);
    border: 1px solid var(--border-default);
}

.whatsapp-btn,
.telegram-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-card);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, var(--brand-primary));
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, var(--brand-teal));
}

.legal-content,
.legal-content p,
.legal-content li {
    color: var(--text-secondary);
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
}

@media (max-width: 768px) {
    .navbar-collapse {
        margin-top: 0.9rem;
        padding: 0.8rem;
        background: var(--bg-surface);
        border: 1px solid var(--border-default);
        border-radius: var(--radius-md);
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        min-height: auto !important;
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }

    .hero-section h1 {
        font-size: clamp(2.15rem, 11vw, 3rem) !important;
    }

    .btn {
        width: auto;
        white-space: normal;
    }
}
