:root {
    /* Refined color palette: Deep navy/slate tones replacing harsh black */
    --bg-color: #0b1120;
    --bg-surface: #12182b;
    --bg-card: #1a2235;

    /* Typography */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-heading: #ffffff;

    /* Accents - Trustworthy professional blues */
    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-secondary: #60a5fa;

    /* Validation Colors */
    --success: #10b981;
    --warning: #f59e0b;

    /* Borders & Shadows */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-elegant: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: rgba(11, 17, 32, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Elegant Buttons */
.btn-primary,
.btn-primary-nav {
    display: inline-block;
    background: var(--accent-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-primary {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.btn-primary-nav {
    padding: 0.6rem 1.2rem;
    margin-left: 2rem;
}

.btn-primary:hover,
.btn-primary-nav:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 10%;
    min-height: 85vh;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    padding-right: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-secondary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
}

.subtext {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: var(--text-muted);
}

/* Elegant Mockup Card */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mockup-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    width: 440px;
    box-shadow: var(--shadow-elegant), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.mockup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-warning {
    color: #ef4444;
    font-size: 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 1.05rem;
}

.mockup-row .label {
    color: var(--text-muted);
}

.mockup-row .value.strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
}

.mockup-row .value.valid {
    color: var(--success);
    font-weight: 500;
}

.mockup-row .value.warning {
    color: var(--warning);
    font-weight: 500;
}

.divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 1rem 0;
}

.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.highlight-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

/* Problem Section - Elegant Cards */
.problem-section {
    padding: 8rem 10%;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.elegant-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.elegant-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-elegant);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.elegant-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.elegant-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Solutions Timeline */
.solution-section {
    padding: 8rem 10%;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.solution-text>h2,
.solution-text>p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    background: rgba(245, 158, 11, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 2rem;
    flex-shrink: 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Custom Form Styles */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Premium CTA Block */
.cta-section {
    padding: 8rem 10%;
    text-align: center;
}

.contact-card {
    margin: 4rem auto 0;
    max-width: 600px;
    background: var(--bg-surface);
    padding: 4rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-elegant), 0 0 40px rgba(59, 130, 246, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact-card .btn-primary {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
}

.site-footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.separator {
    color: var(--border-subtle);
}

@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5%;
    }

    .hero-content {
        margin-bottom: 4rem;
        padding-right: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
    }

    .mockup-card {
        width: 100%;
        max-width: 440px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 1.5rem 5%;
    }

    nav a {
        display: none;
    }

    nav .btn-primary-nav {
        display: inline-block;
    }

    .problem-section,
    .solution-section,
    .cta-section {
        padding: 6rem 5%;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 1.5rem;
    }
}