/* Nova CMS by DPOM - Public Landing */
:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --primary-bg: #F5F3FF;
    --accent-yellow: #FFBA00;
    --accent-green: #5DB055;
    --accent-blue: #3086CB;
    --accent-pink: #EC4899;
    --success: #5DB055;
    --success-bg: #E8F5E6;
    --warning: #FFBA00;
    --warning-bg: #FFF6D9;
    --danger: #C22232;
    --danger-bg: #FDE8EA;
    --gray-50: #F9FAFB;
    --gray-100: #F4F4F4;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #7A7A7A;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1C1D21;
    --gray-900: #1a1a2e;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px 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);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

body {
    font-family: 'Raleway', -apple-system, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .card-title, .stat-label, .btn {
    font-family: 'Montserrat', -apple-system, sans-serif;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    background: white;
    color: var(--gray-700);
    border-color: var(--gray-300);
}
.btn:hover { background: var(--gray-50); text-decoration: none; }
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); }
.btn-xl { padding: 14px 28px; font-size: 16px; border-radius: 10px; }

/* ============================== */
/* ===== PUBLIC LANDING ========= */
/* ============================== */

.public-page { min-height: 100vh; background: white; }

/* Navbar */
.public-nav {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.public-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gray-900);
}
.public-nav-logo:hover { text-decoration: none; }
.public-nav-logo img { height: 80px !important; width: auto !important; max-width: none !important; display: block !important; }

.public-nav-links { display: flex; gap: 24px; align-items: center; }
.public-nav-links a:not(.btn) { color: var(--gray-700); font-weight: 500; font-size: 14px; text-decoration: none; }
.public-nav-links a:not(.btn):hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 80px 40px 100px;
    background:
        radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.10), transparent 50%),
        linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    position: relative;
    overflow: hidden;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: Montserrat, sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--gray-900);
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #7C3AED 0%, #6366F1 50%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.hero p {
    font-size: 19px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-cta-note { margin-top: 14px; font-size: 14px; color: var(--gray-500); }

/* Hero visual */
.hero-visual {
    background: #0f0f1e;
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 60%);
    pointer-events: none;
}
.hero-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; position: relative; }
.hero-dash-header h3 { font-size: 14px; font-weight: 700; color: #fff; }
.live-badge { background: rgba(124, 58, 237, 0.3); color: #c9b4ff; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c9b4ff; animation: pulse 2s infinite; }

/* Hero "preview" mockup - simulated browser frame */
.hero-browser {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.hero-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}
.hero-browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hero-browser-bar .url { margin-left: 8px; font-size: 11px; color: #c9b4ff; font-family: ui-monospace, 'SF Mono', Menlo, monospace; opacity: 0.85; }
.hero-browser-body { padding: 18px 16px 14px; }
.hero-page-row {
    position: relative;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px dashed transparent;
    border-radius: 6px;
    transition: all 0.2s;
}
.hero-page-row.editable { border-color: rgba(167, 139, 250, 0.5); background: rgba(124, 58, 237, 0.08); }
.hero-page-row .tag {
    position: absolute;
    top: -10px;
    left: 8px;
    background: var(--primary);
    color: white;
    font-family: ui-monospace, monospace;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-page-row .headline { font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-page-row .body { font-size: 12px; color: #d4d4e0; line-height: 1.5; margin-top: 4px; }
.hero-page-row .img-stub {
    height: 70px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(99, 102, 241, 0.3));
    border-radius: 6px;
}
.hero-page-row .btn-stub {
    display: inline-block;
    margin-top: 6px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
    border-radius: 6px;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.hero-edit-bubble {
    position: absolute;
    top: -10px;
    right: 12px;
    background: white;
    color: var(--primary-dark);
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Sections */
.section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.section h2 {
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--gray-900);
}
.section .subtitle { text-align: center; font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto 48px; line-height: 1.6; }

.social-proof { background: var(--gray-50); padding: 40px 30px; }
.social-proof p { text-align: center; color: var(--gray-500); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 28px; }
.social-proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.social-proof-stat { text-align: center; }
.social-proof-stat .number { font-family: Montserrat, sans-serif; font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.social-proof-stat .label { font-size: 13px; color: var(--gray-500); }

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.problem-icon { font-size: 28px; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 10px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.how-step { text-align: center; padding: 24px; }
.how-step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #4F46E5);
    color: white; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature-icon.red { background: var(--danger-bg); }
.feature-icon.blue { background: #E0F2FE; }
.feature-icon.purple { background: var(--primary-bg); }
.feature-icon.indigo { background: #E0E7FF; }
.feature-icon.green { background: var(--success-bg); }
.feature-icon.yellow { background: var(--warning-bg); }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.results-section { background: var(--gray-900); color: white; padding: 80px 40px; }
.results-section h2 { color: white; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.result-card { text-align: center; padding: 20px; }
.result-card .number {
    font-family: Montserrat, sans-serif; font-size: 44px; font-weight: 800;
    background: linear-gradient(135deg, #A78BFA, #818CF8, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: 10px;
}
.result-card p { font-size: 14px; color: #c9c9d9; line-height: 1.6; }

/* Pricing - single talk-to-us card layout */
.pricing-wrap { max-width: 720px; margin: 0 auto; }
.pricing-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    text-align: center;
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.15);
}
.pricing-card h3 { font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.pricing-card .plan-desc { font-size: 15px; color: var(--gray-500); margin-bottom: 28px; }
.pricing-feature-list { list-style: none; text-align: left; max-width: 440px; margin: 0 auto 28px; }
.pricing-feature-list li { padding: 8px 0; font-size: 15px; color: var(--gray-700); display: flex; align-items: flex-start; gap: 10px; }
.pricing-feature-list li::before { content: '\2713'; color: var(--primary); font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn-xl { background: var(--primary); color: white; border-color: var(--primary); }
.pricing-card .btn-xl:hover { background: var(--primary-dark); }
.pricing-note { margin-top: 16px; font-size: 13px; color: var(--gray-500); }

.faq-section { max-width: 800px; margin: 0 auto; padding: 80px 40px; }
.faq-section h2 {
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
}
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: white; }
.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 15px;
    user-select: none;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .arrow { transition: transform 0.2s; font-size: 12px; color: var(--gray-400); }
.faq-question.open .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; font-size: 14px; color: var(--gray-600); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

.cta-banner {
    padding: 80px 40px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.5), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 186, 0, 0.3), transparent 60%),
        linear-gradient(135deg, #2d1b69 0%, #1a1a2e 100%);
    text-align: center;
    color: white;
}
.cta-banner h2 { font-family: Montserrat, sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background: white; color: var(--primary-dark); font-weight: 700; font-size: 17px; padding: 16px 36px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.3); border-color: white; }
.cta-banner .btn:hover { background: #f3eefe; color: var(--primary-dark); }

.public-footer { padding: 40px; text-align: center; color: var(--gray-400); font-size: 14px; border-top: 1px solid var(--gray-200); background: white; }
.public-footer a { color: var(--gray-500); margin: 0 6px; text-decoration: none; }
.public-footer a:hover { color: var(--primary); }

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .problem-grid, .how-steps, .features-grid { grid-template-columns: 1fr; }
    .social-proof-stats, .results-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 38px; }
    .public-nav-links a:not(.btn) { display: none; }
    .public-nav-logo img { height: 56px !important; }
}

@media (max-width: 720px) {
    .hero { padding: 50px 20px 60px; }
    .section { padding: 60px 20px; }
    .faq-section { padding: 60px 20px; }
    .cta-banner { padding: 60px 20px; }
    .public-nav { padding: 12px 16px; }
    .pricing-card { padding: 28px 22px; }
    .hero h1 { font-size: 32px; }
    .section h2, .faq-section h2, .cta-banner h2 { font-size: 28px; }
    .public-nav-logo img { height: 48px !important; }
    .hero p { font-size: 16px; }
}
