:root {
    /* Brand Colors - Polished Light Theme */
    --bg-main: #f8f9fb;
    --bg-white: #ffffff;
    --bg-subtle: #eef1f6;
    --text-primary: #1b1f2b;
    --text-secondary: #555b6e;
    --text-muted: #8a8fa0;
    --accent: #4f46e5;
    --accent-hover: #6366f1;
    --accent-light: rgba(79, 70, 229, 0.08);
    --accent-border: rgba(79, 70, 229, 0.18);
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --border: #e3e5eb;
    --border-hover: #cdd0d8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-sans);

    /* Transitions */
    --ease: 0.25s ease;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--ease);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.full-width {
    width: 100%;
}

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(248, 249, 251, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow var(--ease), padding var(--ease);
}

.navbar.scrolled {
    box-shadow: 0 1px 0 var(--border);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-display);
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--ease);
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

/* ─── Sections ─── */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.section-header.center {
    text-align: center;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ─── Hero ─── */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    animation: fadeUp 0.7s ease forwards;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

/* ─── About Cards ─── */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.about-card {
    padding: 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform var(--ease), box-shadow var(--ease);
}

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

.about-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.about-card p {
    font-size: 0.95rem;
}

/* ─── Services ─── */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-row {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: box-shadow var(--ease);
}

.service-row:hover {
    box-shadow: var(--shadow-md);
}

.service-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.service-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feature-list li {
    padding: 0.25rem 0.65rem;
    background: var(--bg-subtle);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── Contact ─── */
.contact-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-info p {
    margin-bottom: 1.75rem;
}

.contact-details .detail-item {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-details strong {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.contact-form-wrapper {
    padding: 2rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.1rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.825rem;
    color: var(--text-muted);
}

input,
textarea {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

/* Spinner */
.btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .spinner {
    display: block;
}

/* Form messages */
.form-message {
    margin-top: 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
}

.form-message.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.hidden {
    display: none;
}

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    background: var(--bg-white);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--ease);
}

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

/* ─── Animations ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}