/* DESIGN SYSTEM - RUGGED & TRUSTWORTHY */
:root {
    --bg-dark: #0f172a;      /* Deep Slate Blue */
    --bg-slate: #1e293b;     /* Darker Slate */
    --text-primary: #f8fafc; /* Broken White */
    --text-muted: #94a3b8;   /* Light Slate */
    --brand-amber: #f59e0b;  /* Safety Amber */
    --brand-amber-hover: #d97706;
    --border-color: #334155;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

.center-text { text-align: center; }
.text-amber { color: var(--brand-amber); }
.bg-slate { background-color: var(--bg-slate); padding: 5rem 0; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-heading); margin-top: 0; }
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
h2.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; }
.subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    text-align: center;
}
.btn:active { transform: translateY(2px); }
.primary-btn {
    background-color: var(--brand-amber);
    color: #111827; /* Dark text for contrast on amber */
    border: 2px solid var(--brand-amber);
}
.primary-btn:hover { background-color: var(--brand-amber-hover); border-color: var(--brand-amber-hover); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.full-width { display: block; width: 100%; box-sizing: border-box; }

/* NAVBAR */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    background-color: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
nav a { color: var(--text-primary); text-decoration: none; font-weight: 600; margin-left: 2rem; }
nav a:hover { color: var(--brand-amber); }
nav a.btn { margin-left: 2rem; color: #111; }

/* HERO SECTION */
.hero { padding: 6rem 0; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.hero-text { flex: 1; }
.hero-graphic { flex: 1; }
.cta-group { display: flex; flex-direction: column; gap: 0.5rem; }
.guarantee { font-size: 0.85rem; color: var(--text-muted); }

/* APP WINDOW MOCKUP */
.app-window {
    padding: 0;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-slate);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.red { background: #ef4444; } .yellow { background: #f59e0b; } .green { background: #10b981; }
.window-title { margin-left: left; font-size: 0.8rem; color: var(--text-muted); margin-left: 10px; }

.chat-track { padding: 1.5rem; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.time { color: var(--text-muted); font-size: 0.75rem; min-width: 60px; display: inline-block; }
.event.call { color: #f87171; }
.event.ai-action { color: var(--brand-amber); }
.event.success { color: #10b981; font-weight: 700; }
.chat-bubble { padding: 0.8rem 1rem; border-radius: 12px; max-width: 85%; line-height: 1.4; }
.outbound { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); align-self: flex-start; margin-left: 60px; }
.inbound { background: rgba(255, 255, 255, 0.05); align-self: flex-end; color: #e5e7eb; border-bottom-right-radius: 2px; }

/* CARDS & GRIDS */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-card {
    background-color: var(--bg-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.stat-num { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.highlight-card { background-color: var(--brand-amber); color: #111; border-color: var(--brand-amber); }
.highlight-card .stat-num { color: #111; }

.pricing-section { padding: 6rem 0; display: flex; justify-content: center; flex-direction: column; align-items: center; }
.pricing-card {
    background-color: var(--bg-slate);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
}
.pricing-header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; }
.price { font-size: 3.5rem; font-weight: 800; color: var(--brand-amber); margin: 0.5rem 0; }
.price span { font-size: 4.5rem; }
.setup-fee { color: var(--text-muted); font-size: 0.9rem; }
.features-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.features-list li { margin-bottom: 1rem; display: flex; align-items: center; font-size: 1.05rem; }
.check { color: var(--brand-amber); font-weight: bold; margin-right: 0.75rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-content { flex-direction: column; gap: 1rem; padding-bottom: 0.5rem; }
    nav { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
    nav a { margin: 0; }
    nav a.btn { margin: 0; padding: 0.5rem 1rem; width: 100%; box-sizing: border-box; }
    .hero { padding: 3rem 0; }
    .hero-content { flex-direction: column; text-align: center; gap: 3rem; }
    .cta-group { align-items: center; width: 100%; }
    .action-btn { width: 100%; box-sizing: border-box; }
    h1 { font-size: 2.2rem; margin-bottom: 1rem; }
    .subtitle { font-size: 1.1rem; margin-bottom: 1.5rem; max-width: 100%; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-card { padding: 1.5rem; }
    .app-window { transform: none; width: 100%; box-sizing: border-box; max-width: 100%; margin: 0 auto; }
    .hero-graphic { margin: 0 auto; width: 100%; }
    .pricing-section { padding: 3rem 0; }
    .pricing-card { padding: 2rem 1.5rem; box-sizing: border-box; }
    .price { font-size: 2.5rem; }
    .price span { font-size: 3.5rem; }
    h2.section-title { font-size: 2rem; margin-bottom: 2rem; }
}
