/* Reset & Base */
:root {

    /* Indigo 500 */
    --primary-hover: var(--primary);
    /* Indigo 600 */
    --secondary: #a855f7;
    /* Purple 500 */
    --dark-bg: #0f172a;
    /* Slate 900 */
    --darker-bg: #020617;
    /* Slate 950 */
    --card-bg: #1e293b;
    /* Slate 800 */

    --hero-gradient: linear-gradient(to right bottom, #020617, #581c87, #0f172a);
    --text-gradient: linear-gradient(to right, #818cf8, #c084fc);
    --btn-gradient: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);

    --glow: 0 0 40px -10px rgba(124, 58, 237, 0.5);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent: #9333ea;
    --accent-glow: #9333ea66;
    --gradient-primary: linear-gradient(to right, #3b82f6, #9333ea);
    --gradient-hero: linear-gradient(to right bottom, #020617, #581c87, #0f172a);
    --bg-page: #020617;
    --bg-card: #1e293b;
    --bg-glass: #0f172a99;
    --text-main: #fff;
    --text-muted: #d1d5db;
    --text-invert: #0f172a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 #0000004d;
    --shadow-md: 0 4px 6px -1px #00000080;
    --shadow-lg: 0 10px 15px -3px #00000080;
    --shadow-xl: 0 20px 25px -5px #00000080;

    --font-outfit: "Outfit", "Outfit Fallback";
    --font-inter: "Inter", "Inter Fallback";
}

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

body {
    background: var(--hero-gradient);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;

    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-outfit), sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #0000000d;
    width: 100%;
    padding: 1rem 0;
    transition: all .3s;
    position: fixed;
    top: 0;
    left: 0;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.brand-logomark {

    background: linear-gradient(135deg, #3b82f6, #47587c);
    color: white;
    font-weight: 800;
    padding: 8px 4px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero-section {
    /*background: var(--hero-gradient);*/
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-badge {
    color: var(--primary);
    background: #2563eb1a;
    border: 1px solid #2563eb33;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    padding: .4rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    display: inline-block;
}

.hero-title {
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.text-highlight {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn-brand {
    background: var(--btn-gradient);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    /*box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3);*/
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
}

.btn-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Mockup */
.mockup-container {
    margin-top: 5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow), var(--glow);
    background: #f8fafc;
    /* Keep as light/white as per mockup placeholder */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Improve alignment */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* If using image inside mockup container, style it: */
.mockup-container img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    /* Slight fade to blend */
}

/* Sections - Dark Theme Consistency */
.section-padding {
    padding: 5rem 0;
}

.bg-light-custom {
    background-color: var(--dark-bg);
    /* Darker background */
}

/* Features Section */
.bg-purple-gradient {
    background: radial-gradient(circle at 50% 0%, #4c1d95 0%, #2e1065 40%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.icon-circle {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    width: 56px;
    height: 56px;
    /* Square-ish */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* How It Works Section */
.bg-darker {
    background-color: #020617;
    /* Very dark slate/black */
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 57px;
    /* Aligns with step-number center */
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #3b82f6;
    /* Blue text */
    border: 4px solid #dbeafe;
    /* Light blue border ring */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 0 0 8px #020617;
    /* Faux transparent gap using bg color */
}

.step-item h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    color: white;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing */
/* Pricing */
.pricing-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Dark slate border */
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-card h5 {
    color: white;
}

.pricing-card .text-secondary {
    color: #94a3b8 !important;
    /* Slate 400 */
}

.pricing-card.popular {
    border-color: #6366f1;
    /* Indigo 500 */
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.price-text {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.text-purple {
    color: #a855f7 !important;
    /* Purple 500 */
}

/* Reviews */

.testimonials {
    /*background: var(--hero-gradient);*/
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-body p {
    color: var(--text-muted);
}

.card-text {
    color: var(--text-muted) !important;
}

.text-warning {
    color: #facc15 !important;
}

.mb-0,
.text-muted {
    color: var(--primary-light) !important;
    font-size: .9rem;
}

/* Footer */
.footer {
    background-color: #0b1120;
    /* Slightly lighter than page bg */
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.footer a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* FAQ */
.faq-item h5 {
    color: white;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.border-opacity-10 {
    --bs-border-opacity: 0.1;
}

.opacity-25 {
    opacity: 0.25;
}

/* Modal Dark Theme / Glassmorphism */
.modal-content {
    background-color: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    border-radius: var(--radius-lg) !important;
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.modal-title {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn-close {
    filter: invert(1) !important;
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}