/* BASE & VARIABLES */
:root {
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #4318FF; /* Vibrant SaaS Blue */
    --primary-hover: #3513cc;
    --secondary: #f0f4f8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-3d: 0 25px 50px -12px rgba(67, 24, 255, 0.15);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Accents */
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --accent-teal: #14b8a6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(67, 24, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(67, 24, 255, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline-primary:hover {
    background: rgba(67, 24, 255, 0.05);
}

.btn-text {
    background: transparent;
    color: var(--text-main);
}
.btn-text:hover {
    color: var(--primary);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}
.block-btn {
    display: flex;
    width: 100%;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* HERO SECTION */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 100% 0%, rgba(67,24,255,0.05) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(16,185,129,0.05) 0%, transparent 40%);
    overflow: hidden;
}

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

.badge-new {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}
.badge-new span {
    background: var(--primary);
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero-title .highlight {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-audit-form {
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.hero-audit-form form {
    display: flex;
    gap: 0.5rem;
}

.hero-audit-form input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-body);
    background: transparent;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

/* 3D HERO VISUAL (CSS Parallax UI) */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.scene-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(5deg) rotateY(-15deg);
    transition: transform 0.1s ease-out;
}

.panel {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-3d);
    backdrop-filter: blur(10px);
}

.panel-main {
    top: 50px;
    left: 20px;
    width: 400px;
    height: 280px;
    z-index: 2;
}

.panel-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dots i {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    background: #e2e8f0;
}
.dots i:nth-child(1) { background: #ef4444; }
.dots i:nth-child(2) { background: #eab308; }
.dots i:nth-child(3) { background: #22c55e; }

.url-bar {
    background: var(--bg-light);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1;
}

.panel-body {
    padding: 1.5rem;
}
.mock-chart { margin-bottom: 1.5rem; }

.mock-stats {
    display: flex;
    justify-content: space-between;
}
.stat-box .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600;}
.stat-box .val { font-size: 1.5rem; font-weight: 700; color: #0f172a;}

.panel-float {
    padding: 1rem;
    z-index: 3;
}
.float-1 {
    top: 250px; left: -30px;
    width: 140px; height: 140px;
    border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.float-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem;}
.circle-chart {
    width: 70px; height: 70px;
    border-radius: 50%;
    border: 6px solid var(--accent-green);
    border-left-color: #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; transform: rotate(-45deg);
}
.circle-chart span { transform: rotate(45deg); }

.float-2 {
    top: 80px; right: -20px;
    width: 180px; padding: 1.25rem;
}
.trend.up { color: var(--accent-green); font-weight: 700; margin-bottom: 1rem; font-size: 1.2rem;}
.mock-line { height: 8px; background: #e2e8f0; border-radius: 4px; margin-bottom: 8px; }
.mock-line.short { width: 60%; }


/* SECTIONS */
section {
    padding: 6rem 0;
}

/* TRUST LOGOS */
.trust-section { padding: 2rem 0; border-bottom: 1px solid var(--border-color); }
.trust-section p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 500;}
.logo-grid {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    opacity: 0.5; filter: grayscale(100%);
}
.trust-logo { font-size: 1.25rem; font-weight: 800; font-family: var(--font-heading); color: #0f172a;}

/* NEAT CARDS (WHO) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.neat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}
.neat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.card-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.5rem;
}
.card-icon.blue { background: rgba(67, 24, 255, 0.1); color: var(--primary); }
.card-icon.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.card-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.card-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }
.card-icon.pink { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); }
.card-icon.teal { background: rgba(20, 184, 166, 0.1); color: var(--accent-teal); }

.neat-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.neat-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ADVANTAGE SECTION */
.advantage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    color: var(--primary); letter-spacing: 1px; margin-bottom: 1rem;
}
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li {
    position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-muted);
}
.feature-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: bold;
}
.feature-list strong { color: var(--text-main); }

.dashboard-preview {
    background: #fff; border: 1px solid var(--border-color); border-radius: 12px;
    box-shadow: var(--shadow-lg); display: flex; height: 350px; overflow: hidden;
}
.dashboard-preview .sidebar { width: 80px; background: #f1f5f9; border-right: 1px solid var(--border-color); }
.dashboard-preview .main-area { flex: 1; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.dashboard-preview .top-nav { height: 30px; background: #f1f5f9; border-radius: 6px; }
.dashboard-preview .content-box { height: 120px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; }
.dashboard-preview .content-box.half { height: 80px; width: 48%; display: inline-block; }

/* TOOLS GRID */
.tools-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem;
}
.tool-card {
    display: flex; align-items: flex-start; gap: 1.25rem; background: #fff;
    padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 12px;
    text-decoration: none; transition: all 0.2s;
}
.tool-card:hover {
    border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px);
}
.tool-icon-wrapper {
    width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.blue-bg { background: rgba(67, 24, 255, 0.1); color: var(--primary); }
.green-bg { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.purple-bg { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.orange-bg { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }
.teal-bg { background: rgba(20, 184, 166, 0.1); color: var(--accent-teal); }
.pink-bg { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); }

.tool-info h3 { font-size: 1.1rem; color: #0f172a; margin-bottom: 0.25rem; }
.tool-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.featured-tool {
    background: linear-gradient(135deg, var(--primary) 0%, #2a0baf 100%);
    border-radius: 16px; padding: 3rem; display: flex; justify-content: space-between; align-items: center;
    color: #fff;
}
.featured-tool h3 { color: #fff; font-size: 1.8rem; margin: 0.5rem 0; }
.featured-tool p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0; }
.featured-tool .badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}
.featured-tool .btn { background: #fff; color: var(--primary); }

/* PRE-PRICING CTA */
.pre-pricing-cta {
    background: #0f172a; padding: 5rem 0;
}
.text-white { color: #fff !important; }
.text-white-muted { color: #94a3b8 !important; }

/* PRICING */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.price-card {
    background: #fff; border: 1px solid var(--border-color); border-radius: 16px; position: relative;
    display: flex; flex-direction: column;
}
.price-card.popular {
    border-color: var(--primary); border-width: 2px; transform: scale(1.02); box-shadow: var(--shadow-lg);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff;
    padding: 0.25rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.price-header { padding: 2.5rem 2rem 1.5rem; border-bottom: 1px solid var(--border-color); }
.price-header h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.price-header p { font-size: 0.9rem; color: var(--text-muted); min-height: 40px; }
.price { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); color: #0f172a; margin: 1rem 0; display: flex; align-items: flex-start;}
.price span:first-child { font-size: 1.5rem; margin-top: 0.5rem; }
.price span:last-child { font-size: 1rem; font-weight: 500; color: var(--text-muted); align-self: flex-end; margin-bottom: 0.5rem;}
.price-body { padding: 1.5rem 2rem 2.5rem; }
.price-body ul { list-style: none; }
.price-body li { padding: 0.75rem 0; font-size: 0.95rem; color: var(--text-main); display: flex; align-items: center;}
.price-body li::before { content: '✓'; color: var(--primary); font-weight: bold; margin-right: 12px; font-size: 1.1rem;}

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 1rem; background: #fff; overflow: hidden; }
.faq-question {
    width: 100%; background: none; border: none; color: #0f172a; font-size: 1.1rem; font-weight: 600;
    font-family: var(--font-body); text-align: left; padding: 1.25rem 1.5rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question .icon { color: var(--primary); font-size: 1.5rem; transition: transform 0.2s; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* FOOTER */
.site-footer {
    background: #0f172a; padding: 5rem 0 2rem; color: #fff; border-top: 1px solid var(--border-color);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: #94a3b8; margin-top: 1rem; font-size: 0.95rem; max-width: 250px;}
.footer-links h3, .footer-newsletter h3 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 0.75rem; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-newsletter p { color: #94a3b8; margin-bottom: 1rem; font-size: 0.95rem; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 0.75rem 1rem; background: #1e293b; border: 1px solid #334155; border-radius: 6px 0 0 6px; color: #fff; outline: none; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { border-radius: 0 6px 6px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.85rem; }
.legal-links a { color: #94a3b8; text-decoration: none; margin-left: 1.5rem; }
.legal-links a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-layout, .advantage-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { margin-top: 2rem; }
    .scene-3d { margin: 0 auto; width: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-tool { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-audit-form { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-title { font-size: 2.5rem; }
    .scene-3d { width: 100%; transform: scale(0.8); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .price-card.popular { transform: none; }
}
