/* --- Phase 2: Premium Design System --- */
:root {
    /* Refined Indigo & Slate Palette */
    --p-indigo-50: #eef2ff;
    --p-indigo-100: #e0e7ff;
    --p-indigo-600: #4f46e5;
    --p-indigo-700: #4338ca;
    --p-indigo-900: #312e81;
    --p-slate-50: #f8fafc;
    --p-slate-100: #f1f5f9;
    --p-slate-200: #e2e8f0;
    --p-slate-400: #94a3b8;
    --p-slate-600: #475569;
    --p-slate-900: #0f172a;
    --p-black: #020617;

    /* Spacing System */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */
    --space-xl: 8rem;
    /* 128px */
    --space-section: 120px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* --- Global Reset & Typography --- */
body {
    font-family: 'Inter', sans-serif !important;
    color: var(--p-slate-800) !important;
    background-color: var(--p-slate-50) !important;
    line-height: 1.7 !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif !important;
    color: var(--p-slate-900) !important;
    font-weight: 700 !important;
}

.section_title h2 {
    font-size: 3rem !important;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.025em;
}

.section_title p {
    font-size: 1.125rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--p-slate-400);
}

.row_am {
    padding: var(--space-section) 0 !important;
}

/* --- Legacy Artifact Removal --- */
.yellow_dotes,
.dots_image,
.pattern_bg,
.shape_bg,
.hero_shape,
.about_section::before,
.about_section::after,
.features_section::before,
.features_section::after,
.banner_section::before,
.banner_section::after,
.contact_section::before,
.contact_section::after,
.section_title::before,
.section_title::after,
.how_it_section::before,
.how_it_section::after {
    display: none !important;
    background-image: none !important;
    content: none !important;
}

/* --- Navigation Fixes --- */
header {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--p-slate-200) !important;
}

.navbar-nav .nav-link {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    color: var(--p-slate-900) !important;
    font-size: 1rem !important;
    padding: 30px 15px !important;
}

.dark_btn {
    background: var(--p-indigo-600) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 15px !important;
    transform: none !important;
    height: auto !important;
    line-height: normal !important;
}

/* Specificity override for navbar-nav context */
.navbar-nav .nav-link.dark_btn {
    padding: 8px 24px !important;
    position: relative !important;
    /* Move up to align with text links */
}

.dark_btn:hover {
    background: var(--p-indigo-700) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn_block .btn_bottom {
    display: none !important;
}

/* --- Hero Section Overhaul --- */
.banner_section {
    padding: 160px 0 100px !important;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent);
}

.hero_badge {
    background: white !important;
    padding: 10px 20px !important;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--p-indigo-600) !important;
    border: 1px solid var(--p-indigo-100) !important;
    margin-bottom: var(--space-md);
}

.banner_text h1 {
    font-size: 4.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: var(--space-md);
}

.banner_text p.lead_text {
    font-size: 1.25rem !important;
    margin-bottom: var(--space-lg);
    color: var(--p-slate-600);
}

.hero_stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.stat_v2 h4 {
    font-size: 2rem;
    color: var(--p-indigo-600);
    margin-bottom: 0;
}

.stat_v2 p {
    font-size: 0.875rem !important;
    color: var(--p-slate-400);
    margin: 0 !important;
}

/* --- Features Grid --- */
.features_section {
    background: white !important;
    background-image: none !important;
}

.features_v2_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

@media (max-width: 1199px) {
    .features_v2_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .features_v2_grid {
        grid-template-columns: 1fr;
    }
}

.feature_card_v2 {
    background: var(--p-slate-50);
    padding: var(--space-md);
    border-radius: 24px;
    border: 1px solid var(--p-slate-200);
    transition: all 0.3s ease;
    height: 100%;
}

.feature_card_v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--p-indigo-600);
    background: white;
}

.feature_card_v2 .icon_box {
    width: 64px;
    height: 64px;
    background: var(--p-indigo-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--p-indigo-600);
    margin-bottom: var(--space-md);
}

/* --- How It Works --- */
.how_it_section {
    background-color: var(--p-black) !important;
    background-image: none !important;
    border-radius: 48px;
    margin: 0 20px;
    padding: var(--space-section) 0 !important;
}

.steps_block_v2 {
    position: relative;
    padding: var(--space-md);
    text-align: center;
}

.steps_block_v2 .step_num {
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.steps_block_v2 h3 {
    color: white !important;
    margin-top: 20px;
}

.steps_block_v2 p {
    color: var(--p-slate-400) !important;
}

/* --- FAQ --- */
.faq_section {
    background-color: var(--p-slate-50);
}

.faq_card {
    background: white;
    border-radius: 16px;
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xs);
    border: 1px solid var(--p-slate-200);
}

/* --- Buttons --- */
.puprple_btn {
    background: var(--p-indigo-600) !important;
    padding: 16px 32px !important;
    border-radius: 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3) !important;
    color: white !important;
    display: inline-block;
}

.puprple_btn:hover {
    background: var(--p-indigo-700) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4) !important;
}

/* --- Footer --- */
.footer_section {
    background: var(--p-black) !important;
    padding: var(--space-xl) 0 0 !important;
    margin-top: var(--space-section);
}

.logo_side img {
    filter: brightness(0) invert(1);
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: var(--space-md) 0 !important;
}

/* --- Utility --- */
.highlight {
    color: var(--p-indigo-600) !important;
}

.text-left {
    text-align: left !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}