:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(15, 23, 42, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #334155;
    backdrop-filter: blur(8px);
}

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

.logo {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--primary); }

.hero {
    padding: 180px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent);
}

.slide {
    display: none;
    animation: fadeIn 0.6s ease-in-out forwards;
}

.slide.active { display: block; }

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 30px;
}

.slider-dots {
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #334155;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
}

.dot.active { background: var(--primary); }

.services, .about, .contact {
    padding: 100px 0;
    border-top: 1px solid #1e293b;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

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

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card h3 { margin-bottom: 15px; font-size: 22px; }
.card p { color: var(--text-muted); }

.about p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2, .contact h2 { text-align: center; margin-bottom: 40px; font-size: 36px; }

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid #334155;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
}

button:hover { opacity: 0.9; }

#formFeedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

#formFeedback.success { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid #22c55e; }

.hidden { display: none; }

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid #1e293b;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
