:root {
    /* Brand Colors (SaaS Blue/Off-white) */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --success: #10b981;
    --success-bg: #d1fae5;
    
    /* Layout */
    --max-width: 1100px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Badges */
.badge {
    background-color: #eff6ff;
    color: var(--primary);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    vertical-align: super;
}

.pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

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

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

.nav-links {
    display: none;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: radial-gradient(circle at top center, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        padding: 6rem 1.5rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.action-subtext {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* UI Mockup */
.hero-visual {
    perspective: 1000px;
}

.ui-window {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.ui-window:hover {
    transform: rotateY(0) rotateX(0);
}

.ui-header {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.375rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.close { background: #ef4444; }
.dot.minimize { background: #f59e0b; }
.dot.expand { background: #10b981; }

.window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ui-body {
    padding: 1.5rem;
    background: #f8fafc;
}

.review-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
}

.name { font-weight: 600; font-size: 0.875rem; }
.stars { color: #f59e0b; font-size: 0.75rem; letter-spacing: 2px;}

.badge-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.badge-status.success {
    background: var(--success-bg);
    color: #047857;
}

.review-text {
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.ai-reply {
    display: flex;
    gap: 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.reply-icon {
    color: #0284c7;
    margin-top: 2px;
}

.reply-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 0.25rem;
}

.reply-text {
    font-size: 0.875rem;
    color: #0f172a;
}

/* Features */
.features {
    padding: 6rem 0;
    background: white;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto;
}

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

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

.feature-card {
    padding: 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.currency { font-size: 1.5rem; font-weight: 600; color: var(--text-muted); }
.amount { font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 0 0.25rem; }
.period { color: var(--text-muted); font-weight: 500; }

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--text-main);
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer */
.site-footer {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
    max-width: 16rem;
}

.footer-links-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links-group a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 4rem auto 6rem;
    padding: 0 1.5rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 767px) {
    .nav-actions .btn-secondary {
        display: none; /* Hide 'Contact Sales' button on small screens to save header space */
    }
    .logo {
        font-size: 1rem;
    }
    .badge {
        font-size: 0.65rem;
    }
    .hero {
        padding: 3rem 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-inner {
        gap: 3rem;
    }
    .features {
        padding: 4rem 0;
    }
    .pricing {
        padding: 4rem 0;
    }
    .site-footer {
        padding: 3rem 0 2rem;
    }
    .footer-inner {
        text-align: center;
    }
    .footer-desc {
        margin: 1rem auto 0;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
