:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #fff;
    --bg-alt: #f8f9fa;
    --border: #e5e7eb;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --spacing: 24px;
}

[data-theme="dark"] {
    --text: #f0f0f0;
    --text-light: #b0b0b0;
    --bg: #1a1a1a;
    --bg-alt: #2a2a2a;
    --border: #333;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: background 0.3s;
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--spacing);
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo img {
    display: block;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav__link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
}

.theme-toggle .moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon {
    display: block;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px var(--spacing);
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero__location {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn--large {
    width: 100%;
    font-size: 1.125rem;
}

section {
    padding: 80px var(--spacing);
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 600;
}

.services {
    background: var(--bg-alt);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 32px;
}

.service-card__icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card__text {
    color: var(--text-light);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    border-color: var(--primary);
    border-width: 2px;
}

.pricing-card__tier {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.pricing-card__name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pricing-card__price {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

.pricing-card__features {
    list-style: none;
}

.pricing-card__features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing__addon {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.pricing__addon h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pricing__addon p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.demos {
    background: var(--bg-alt);
}

.demos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.demo-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
}

.demo-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.demo-card__text {
    color: var(--text-light);
    margin-bottom: 24px;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
}

.process-step__number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 16px;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step__text {
    color: var(--text-light);
}

.contact {
    background: var(--bg-alt);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.form-privacy {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.form-fallback {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-fallback a {
    color: var(--primary);
}

#form-response {
    text-align: center;
    margin-top: 16px;
    font-weight: 500;
    font-size: 1rem;
}

.contact-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.form-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.form-toast.show {
    opacity: 1;
    pointer-events: all;
}

.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px var(--spacing);
    text-align: center;
}

.footer__links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.footer__links a {
    color: var(--text-light);
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        display: none;
    }
    
    .nav__menu.active {
        display: flex;
    }
    
    .theme-toggle {
        margin-left: 0;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    section {
        padding: 60px var(--spacing);
    }
    
    .pricing__grid,
    .demos__grid {
        grid-template-columns: 1fr;
    }
}
