/* CSS Variables & Reset */
:root {
    --primary-blue: #2563EB;
    --primary-dark: #1E40AF;
    --authentic-amber: #F59E0B;
    --bg-slate: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --white: #ffffff;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.bg-slate {
    background-color: var(--bg-slate);
}

.bg-dark {
    background-color: var(--text-dark);
    color: var(--white);
}

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

.mt-4 { margin-top: 1rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-slate);
    border-color: var(--text-muted);
}

/* Header */
header {
    height: 80px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.logo-icon {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }
    .desktop-nav a {
        color: var(--text-muted);
        font-weight: 500;
    }
    .desktop-nav a:hover {
        color: var(--primary-blue);
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 600px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.hero-visual {
    width: 100%;
    max-width: 400px;
    position: relative;
}

/* Phone Mockup (CSS only) */
.phone-mockup {
    background: var(--text-dark);
    border-radius: 2.5rem;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--text-dark);
    aspect-ratio: 9/19;
    position: relative;
    overflow: hidden;
}

.screen {
    background: var(--white);
    border-radius: 2rem;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    display: flex;
    justify-content: center;
    color: var(--primary-blue);
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-slate);
    padding: 2rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #DCFCE7; /* Green 100 */
    color: #15803D; /* Green 700 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.rating-stars {
    color: var(--authentic-amber);
    font-size: 1.5rem;
    margin-top: 1rem;
    letter-spacing: 5px;
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .hero-text {
        text-align: left;
        width: 50%;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
    .hero-visual {
        width: 45%;
        max-width: 500px;
    }
}

/* Problem Section */
.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
}

/* How It Works */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* For Business */
.business-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.business-text ul {
    list-style: none;
    margin: 2rem 0;
}

.business-text li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.business-text li::before {
    content: "✓";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 0;
}

@media (min-width: 768px) {
    .business-container {
        flex-direction: row;
        align-items: center;
    }
    .business-text {
        flex: 1;
    }
    .business-visual {
        flex: 1;
    }
}

.dashboard-mockup {
    background: #1e293b;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #334155;
    aspect-ratio: 16/9;
}

.chart-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
}

/* Footer */
footer {
    background: var(--white);
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.tagline {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-muted);
}

.footer-bottom {
    background: var(--bg-slate);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}
