@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0056ff;       /* Electric Blue */
    --primary-dark: #0041c2;
    --primary-light: #528bff;
    --secondary: #ff0000;     /* Hyper Red */
    --secondary-dark: #cc0000;
    --accent: #00ff9d;        /* Mint Teal */
    
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --border-color: #e2e8f0;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0056ff 0%, #ff0000 100%);
    --gradient-blue: linear-gradient(135deg, #0056ff 0%, #00aaff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 86, 255, 0.04) 0%, rgba(255, 0, 0, 0.04) 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(0, 86, 255, 0.08) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(255, 0, 0, 0.06) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(0, 86, 255, 0.04) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(255, 0, 0, 0.04) 0px, transparent 50%);

    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --shadow-soft: 0 10px 30px rgba(0, 86, 255, 0.04);
    --shadow-md: 0 20px 40px -10px rgba(0, 86, 255, 0.08);
    --shadow-lg: 0 30px 60px -12px rgba(0, 86, 255, 0.12);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-white);
    background-image: var(--gradient-mesh);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Custom buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-lumina-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 86, 255, 0.25);
}

.btn-lumina-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 86, 255, 0.35);
}

.btn-lumina-ghost {
    background: rgba(0, 86, 255, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 86, 255, 0.15);
}

.btn-lumina-ghost:hover {
    background: rgba(0, 86, 255, 0.08);
    transform: translateY(-2px);
}

/* Glassmorphic cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 86, 255, 0.2);
}

/* Sticky Navigation Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-square {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,86,255,0.25);
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-sub {
    font-weight: 700;
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 86, 255, 0.05);
    border: 1px solid rgba(0, 86, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-title em {
    font-style: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* URL Input Bar */
.scan-form {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    max-width: 550px;
    transition: var(--transition);
}

.scan-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 255, 0.1);
}

.scan-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
}

.scan-btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.scan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 255, 0.2);
}

.hero-trust-row {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-check {
    color: var(--primary);
    font-size: 0.95rem;
}

/* Scrape Simulator Dashboard Widget */
.sim-container {
    background: #0f172a;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    animation: levitate 6s infinite ease-in-out;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.sim-header {
    background: #1e293b;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-dots {
    display: flex;
    gap: 0.4rem;
}

.sim-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.sim-dot.red { background: #ef4444; }
.sim-dot.yellow { background: #f59e0b; }
.sim-dot.green { background: #10b981; }

.sim-title {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sim-body {
    flex: 1;
    padding: 1.25rem;
    font-family: monospace;
    font-size: 0.78rem;
    color: #e2e8f0;
    overflow-y: auto;
    line-height: 1.7;
}

.sim-line {
    margin-bottom: 0.4rem;
    white-space: pre-wrap;
}

.sim-line .blue { color: #38bdf8; }
.sim-line .green { color: #4ade80; }
.sim-line .yellow { color: #facc15; }
.sim-line .red { color: #f87171; }
.sim-line .muted { color: #64748b; }

/* Features Grid */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: left;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 86, 255, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Interactive App Showcase Widget */
.showcase-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.showcase-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.showcase-tab {
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.showcase-tab.active {
    background: #ffffff;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.showcase-content-pane {
    display: none;
    padding: 2.5rem;
}

.showcase-content-pane.active {
    display: block;
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.pane-headline {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pane-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pane-visual-box {
    background: #f8fafc;
    border: 1px dashed rgba(0, 86, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

/* Calculator CSS */
.calc-container {
    background: linear-gradient(135deg, rgba(0, 86, 255, 0.02) 0%, rgba(255, 0, 0, 0.02) 100%);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.calc-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
    justify-content: center;
}

.calc-option {
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    border: 1px solid rgba(0, 86, 255, 0.15);
    background: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.calc-option:hover, .calc-option.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.calc-result-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.calc-result-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.calc-result-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.calc-result-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
}

/* Pricing Toggle Switch */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 99px;
    width: fit-content;
    margin: 0 auto 3rem;
    border: 1px solid var(--border-color);
}

.pricing-toggle-btn {
    padding: 0.6rem 1.75rem;
    border-radius: 99px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.pricing-toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 86, 255, 0.15);
}

.pricing-grid-container {
    display: none;
}

.pricing-grid-container.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 86, 255, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.25rem 1rem;
    border-radius: 99px;
    letter-spacing: 1px;
}

.price-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.price-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    height: 50px;
    line-height: 1.4;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.price-value span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.price-feature-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.price-feature-item.checked::before {
    content: '✓';
    color: #10b981;
    font-weight: 900;
    flex-shrink: 0;
}

.price-feature-item.unchecked {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.65;
}

.price-feature-item.unchecked::before {
    content: '✗';
    color: #ef4444;
    font-weight: 900;
    flex-shrink: 0;
}

/* Accordion FAQs */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer style */
.app-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 0.6rem;
}

.footer-link {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.78rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-grid, .pricing-grid, .pane-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pricing-grid {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .calc-result-box {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .scan-form {
        flex-direction: column;
    }
    
    .scan-btn {
        width: 100%;
    }
}
