:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --purple: #8b5cf6;
    --purple-dark: #7c3aed;
    --slate: #0f172a;
    --white: #ffffff;
    --light-pro: #f9faff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-pro);
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #1e1b4b;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1e1b4b;
}

.text-purple { color: var(--purple); }
.bg-soft-purple { background: #f5f3ff; }
.border-purple-10 { border-color: rgba(139, 92, 246, 0.1); }

/* Logo Stack */
.logo-stack {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-box-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f5f3ff;
    border-radius: 14px;
    transform: rotate(-10deg);
}

.logo-box-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ede9fe;
    border-radius: 14px;
    transform: rotate(5deg);
    opacity: 0.5;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-link {
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover:after { width: 60%; }

/* Mobile Toggler Custom */
.navbar-toggler {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafc !important;
    transition: var(--transition);
}

.navbar-toggler:focus { box-shadow: none; background: #f1f5f9 !important; }

/* Desktop Dropdown Premium */
@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0,0,0,0.05) !important;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
        transform: translateX(-50%);
    }
    .nav-link:hover:after { width: 60%; }
}

/* Mobile Menu Spacing Fix */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        text-align: center;
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav { gap: 1rem !important; }
    .dropdown-menu { border: none; background: #f8fafc; margin-top: 0.5rem; }
    .dropdown-item { text-align: center; }
}

/* Toggler Icon Fix */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* Hero */
.hero-section {
    padding: 40px 0;
    background: radial-gradient(circle at 50% 50%, #f5f3ff 0%, transparent 70%);
}

.tool-box-container {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.drop-zone-pro {
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: #f8fafc;
}

.drop-zone-pro:hover {
    border-color: var(--purple);
    background: #f5f3ff;
}

.btn-purple {
    background: var(--purple);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-purple:hover {
    background: var(--purple-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4);
}

/* Floating Visuals */
.floating-visual {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.floating-visual.left { left: 0; }
.floating-visual.right { right: 0; }

.visual-card {
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
}

.visual-card img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.visual-card span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

.visual-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--purple), transparent);
}

.floating-visual.right .visual-line {
    background: linear-gradient(to left, var(--purple), transparent);
}

/* Feature Boxes */
.feature-box-simple {
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box-simple:hover {
    background: var(--white);
    border-color: var(--purple);
    box-shadow: var(--shadow-md);
}

/* Image Stacks */
.image-stack-visual {
    position: relative;
    height: 400px;
}

.stack-card {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--white);
}

.stack-card.main { width: 80%; top: 0; left: 0; z-index: 2; }
.stack-card.secondary { width: 50%; bottom: 0; right: 0; z-index: 1; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; }

/* Comparison Table */
.comparison-table-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

.comparison-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.comparison-table thead th {
    background: transparent;
    border: none;
    padding: 20px;
    font-weight: 800;
    color: #1e1b4b;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.comparison-table tbody tr {
    background: #f8fafc;
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    transform: scale(1.01);
    background: #f1f5f9;
}

.comparison-table td {
    padding: 20px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.comparison-table td:first-child {
    border-radius: 12px 0 0 12px;
    color: #1e1b4b;
    font-weight: 700;
}

.status-pill {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
}

.status-pill.high { background: #dcfce7; color: #166534; }
.status-pill.mid { background: #fef9c3; color: #854d0e; }
.status-pill.low { background: #fee2e2; color: #991b1b; }

/* Use Cases - Glassmorphism */
.use-case-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-decoration: none !important;
}

.use-case-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover .use-case-bg {
    transform: scale(1.15);
}

.use-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.use-case-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.use-case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pro Tips - Modern Grid */
.tip-card-pro {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.tip-card-pro:hover {
    border-color: var(--purple);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.1);
    transform: translateY(-8px);
}

.tip-icon-circle {
    width: 64px;
    height: 64px;
    background: #f5f3ff;
    color: var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.tip-card-pro:hover .tip-icon-circle {
    background: var(--purple);
    color: var(--white);
    transform: rotate(10deg);
}

/* FAQ */
.faq-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #f1f5f9;
}

.accordion-button {
    font-size: 1rem;
    padding: 20px 0;
    transition: var(--transition);
    font-weight: 700;
}

.accordion-button:not(.collapsed) { color: var(--purple); }

.accordion-button i {
    background: #f5f3ff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Pre-footer Subscription Bar */
.cta-newsletter-bar { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.cta-icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

/* Footer Dark */
.footer-dark { background: #0f172a; padding: 80px 0 40px; }
.footer-links-dark a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; font-size: 0.9rem; margin-bottom: 0.8rem; display: block; }
.footer-links-dark a:hover { color: var(--primary); transform: translateX(3px); }
.social-circle-dark { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.2s; }
.social-circle-dark:hover { background: var(--primary); transform: translateY(-3px); }

/* Global Utilities */
.hero-glow {
    position: absolute; top: 0; right: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(80px);
}
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); }
.tracking-tight { letter-spacing: -0.02em; }
.ls-1 { letter-spacing: 0.05em; }
.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.uppercase { text-transform: uppercase; }

/* Utilities */
.section-padding { padding: 80px 0; }
.cursor-pointer { cursor: pointer; }
.tiny-text { font-size: 0.7rem; }