/* --- Global Variables & Resets --- */
:root {
    --bg-main: #0B0F19;
    --bg-surface: #151D30;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --accent-primary: #3B82F6; /* Electric Blue */
    --accent-secondary: #10B981; /* Emerald Green */
    --accent-glow: #F59E0B; /* Amber Warmth */
    --font-stack: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* --- Components: Buttons & Badges --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-accent {
    background-color: var(--accent-secondary);
    color: #fff;
}

.btn-accent:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-link {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

/* --- Header / Navigation --- */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFF;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hero Tech Graphic Dashboard */
.tech-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.red { background-color: #EF4444; }
.yellow { background-color: #F59E0B; }
.green { background-color: #10B981; }

.mock-url {
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    padding: 0.2rem 2rem;
    border-radius: 4px;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

.card-body {
    padding: 3rem 2rem;
    text-align: center;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* --- Services Section --- */
.services-section {
    padding: 6rem 0;
    background-color: rgba(21, 29, 48, 0.3);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Spec Work Pitch Box --- */
.pitch-section {
    padding: 4rem 0;
}

.pitch-box {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 900px;
}

.pitch-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.pitch-box p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* --- Contact Section / Form --- */
.contact-section {
    padding: 6rem 0;
}

.form-container {
    max-width: 550px;
    text-align: center;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.upgrade-form {
    text-align: left;
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 6px;
    outline: none;
    font-family: var(--font-stack);
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* For a pure clean layout, complex mobile menu requires JS scripts */
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .pitch-box {
        padding: 2.5rem 1.5rem;
    }
    
    .upgrade-form {
        padding: 1.5rem;
    }
}