/* Design Variables & Core Resets */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;
    --max-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

body {
    background-color: var(--bg-white);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 0;
}

.text-center { text-align: center; }

/* Buttons & Interactive Elements */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header & Navigation Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar .container {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.logo span { color: var(--primary-color); }

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

/* Main Layout Blocks */
.hero {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #eff6ff 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    padding: 8rem 0;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Grids and Service Blocks */
.services { background-color: var(--bg-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1max));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Pricing Interactive Architecture */
.pricing { background-color: var(--bg-light); }

.pricing-card {
    background-color: var(--bg-white);
    max-width: 550px;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.5rem 0 1.5rem 0;
    display: flex;
    align-items: baseline;
}

.price-tag .period {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 400;
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 2.5rem 0;
}

/* Badging & Marketing Sections */
.philosophy {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
}

.philosophy h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* User Form Engine Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    display: none;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background-color: #dcfce7;
    color: #15803d;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #b91c1c;
}

.footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}
.footer .container { padding: 2rem 0; }

/* Responsive Adaptations */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified navigation for mobile */
    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    .pricing-card { padding: 2rem; }
}
