:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Hero Elements */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    text-align: center;
    border-bottom: 1px solid #334155;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin: 1.5rem 0 0.5rem;
    letter-spacing: -1px;
}

.hero h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    border: 2px solid #475569;
    color: var(--text-main);
}

.secondary-btn:hover {
    background: #1e293b;
}

/* Metrics Section */
.metrics {
    background-color: #111827;
    padding: 2rem 0;
    border-bottom: 1px solid #232d3f;
}

.metrics-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
}

.metric-card {
    text-align: center;
    padding: 1rem;
    flex: 1;
    min-width: 200px;
}

.metric-card h3 {
    font-size: 2rem;
    color: var(--primary);
}

.metric-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Services Grid */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1max));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #334155;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.3rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid #334155;
    padding-left: 2rem;
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.2rem;
    background: var(--primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.timeline-item .date {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: bold;
}

/* Contact Form UI */
.contact-box {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 3rem;
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.2rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    background: #0f172a;
    border: 1px solid #475569;
    color: #fff;
    border-radius: 6px;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

footer {
    border-top: 1px solid #334155;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}
footer a { color: var(--primary); text-decoration: none; }