/* =========================================
   AURACORE AI: ULTRA-PREMIUM MODERN SAAS
   Inspiration: Vercel, Stripe, Linear
   Style: Clean Sans-Serif, Glassmorphism, Tight Tracking
========================================= */
 
 
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    
    /* Premium Accent Gradient (Indigo to Violet) */
    --accent-start: #4F46E5;
    --accent-end: #D97706;
    --accent-glow: rgba(79, 70, 229, 0.15);
    
    --font-sans: "Inter", sans-serif;
    --font-heading: "Poppins", sans-serif;
}

/* GLOBAL RESET */
html, body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; transition: 0.2s ease; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, .h1, .h2 {
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.04em; /* The secret to premium SaaS typography */
    line-height: 1.1;
    font-family: var(--font-heading);
}
.bg-darker{
    background: linear-gradient(180deg, #0b1120, #111827, #2d2a6e, #7c4a05);
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.subheading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}

/* BUTTONS */
.btn-primary-luxe {
    background: var(--text-primary);
    color: var(--bg-surface);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}
.btn-primary-luxe:hover {
    background: #000000;
    color: var(--bg-surface);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary-luxe {
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.btn-secondary-luxe:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
    color: var(--text-primary);
}

/* NAVBAR (Full Width Frosted Glass) */
.navbar-luxe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1030;
    padding: 16px 0;
    transition: 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.05em;
    font-size: 1.5rem;
    color: var(--text-primary);
}
.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 12px;
}
.nav-link:hover { color: var(--text-primary) !important; }

/* HERO SECTION */
.hero-section {
    padding-top: clamp(140px, 15vh, 200px);
    padding-bottom: clamp(60px, 10vh, 120px);
    position: relative;
    text-align: center;
    background-image: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 50%);
}
.display-hero {
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero-p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
}

/* APP WINDOW MOCKUP */
.app-window-wrapper {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}
.app-window {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    /* Premium Multi-stop shadow */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 10px 15px -3px rgba(0, 0, 0, 0.05),
                0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.app-header {
    background: #F9FAFB;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #EF4444; } .dot-yel { background: #F59E0B; } .dot-grn { background: #10B981; }

/* BENTO GRID */
.section-padding { padding: clamp(80px, 10vw, 120px) 0; }
.premium-card {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(30px, 4vw, 40px);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.premium-card:hover {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #D1D5DB; 
}
.icon-box {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--text-primary);
    margin-bottom: 24px;
    color: #fff;
}
/* Code Terminal Section */
.code-window {
    background: #0A0A0A; /* Ultra dark sleek background */
    border: 1px solid #262626;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.code-header {
    background: #171717;
    padding: 12px 16px;
    border-bottom: 1px solid #262626;
    display: flex;
    align-items: center;
    gap: 8px;
}
.code-body {
    padding: 30px 24px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.85rem;
    color: #A3A3A3;
    line-height: 1.8;
    overflow-x: auto;
}
.syntax-keyword { color: #FF7B72; }
.syntax-string { color: #A5D6FF; }
.syntax-function { color: #D2A8FF; }
.syntax-comment { color: #8B949E; }
.syntax-variable { color: #79C0FF; }

/* How It Works (Pipeline Steps) */
.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent-start);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
/* =========================================
   SCROLL TO TOP BUTTON
========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--text-primary);
    color: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

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

.scroll-to-top:hover {
    background-color: var(--accent-start);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
/* Connecting line for desktop */
@media (min-width: 992px) {
    .step-card::after {
        content: '';
        position: absolute;
        top: 50px;
        right: -24px;
        width: 24px;
        height: 2px;
        background: var(--border-color);
        z-index: -1;
    }
    .col-lg-4:last-child .step-card::after { display: none; }
}

/* Metrics Section */
.metric-title {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 8px;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-3px); border-color: #D1D5DB; }
.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Custom FAQ Accordion */
.accordion-luxe .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}
.accordion-luxe .accordion-item:last-child { border-bottom: none; }
.accordion-luxe .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 24px 0;
    box-shadow: none !important;
    letter-spacing: -0.02em;
}
.accordion-luxe .accordion-button:not(.collapsed) {
    color: var(--accent-start);
    background: transparent;
}
.accordion-luxe .accordion-body {
    padding: 0 0 24px 0;
    color: var(--text-secondary);
}
.accordion-luxe .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}
/* PRICING */
.pricing-pro {
    position: relative;
    background: var(--bg-surface);
}
/* Glowing Border Trick */
.pricing-pro::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: #fff;
    z-index: -1;
    opacity: 0.5;
}

/* LUXURY FORM (Structure untouched, UI overhauled) */
.form-control-luxe, .form-select-luxe {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.2s;
    width: 100%;
}
.form-control-luxe:focus, .form-select-luxe:focus {
    background: var(--bg-surface);
    border-color: var(--accent-start);
    box-shadow: 0 0 0 4px var(--accent-glow);
    outline: none;
}
.form-control-luxe::placeholder { color: #9CA3AF; }
.invalid-feedback { color: #EF4444; font-size: 0.8rem; margin-top: 6px; }

/* FOOTER */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background: var(--bg-surface);
}
.footer-link {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}
.footer-link:hover { color: var(--accent-start); }

/* RESPONSIVE FIXES */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-surface);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin-top: 10px;
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
    }
}