/* CSS Reset & Variables */
:root {
    --bg-main: #0B0F19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #00F2FE;
    --primary-glow: rgba(0, 242, 254, 0.25);
    --secondary: #4FACFE;
    --accent: #7F00FF;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --danger: #FF4D4D;
    --success: #00E676;
    --warning: #FFC107;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & Utilities */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-danger { color: var(--danger); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.badge-pill {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Section Common */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards & Glassmorphism */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-5px);
}

/* Pain Points Card */
.card-pain {
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-pain h3 {
    margin-bottom: 0.75rem;
}

/* Feature Cards */
.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Demo Section */
.demo-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.demo-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-sample {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-sample.active, .btn-sample:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.demo-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-pane, .output-pane {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

textarea {
    width: 100%;
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: #00F2FE;
    font-family: monospace;
    font-size: 0.9rem;
    resize: none;
}

.output-content {
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    min-height: 200px;
    font-size: 0.95rem;
}

.output-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.badge-high { background: rgba(255, 77, 77, 0.2); color: var(--danger); border: 1px solid var(--danger); }
.badge-low { background: rgba(0, 230, 118, 0.2); color: var(--success); border: 1px solid var(--success); }

/* Pricing Cards */
.card-price {
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-price.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.price-tier { font-size: 1.25rem; font-weight: 700; }
.price-amount { font-size: 2.5rem; font-weight: 800; margin: 1rem 0 0.5rem; }
.price-unit { font-size: 1rem; color: var(--text-muted); }
.price-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

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

.price-features li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Audit Form Section */
.audit-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(11, 15, 25, 0.95));
    border: 1px solid var(--primary);
    border-radius: 24px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: 0 0 50px var(--primary-glow);
}

.audit-card h2 { margin-bottom: 1rem; }
.audit-card p { color: var(--text-muted); max-width: 650px; margin: 0 auto 2.5rem; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-bottom: 1.25rem;
}

input, textarea {
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-success-msg {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
    border-radius: 10px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer a { color: var(--primary); text-decoration: none; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .grid-2, .grid-3, .demo-body, .form-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
