/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #fcfcfc;
    --text-dark: #fcfcfc;
    --text-light: #1a1a1a;
    --accent: #ffffff;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: rgba(0, 0, 0, 0.1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 8rem 0;
}

.text-center { text-align: center; }
.subtitle { font-size: 1.125rem; opacity: 0.8; max-width: 700px; margin: 0 auto 2rem; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; font-weight: 600; letter-spacing: -0.03em; }

.grid {
    display: grid;
    gap: 2rem;
}

/* --- Colors & Sections --- */
.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.light-section {
    background-color: var(--bg-light);
    color: var(--text-light);
}

/* --- Typography --- */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; letter-spacing: -0.03em;}
h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 600; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span { color: #888; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover { opacity: 1; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.nav-cta { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

/* --- Hero --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-content { max-width: 800px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; }

/* --- Cards & Grids --- */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 900px; margin: 0 auto; }

.card {
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.dark-card {
    background-color: #111;
    border: 1px solid var(--border-dark);
}

.dark-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.light-card {
    background-color: #fff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* --- Features List --- */
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { margin-bottom: 0.8rem; font-size: 1rem; }

/* --- Why Us & Portfolio --- */
.why-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.placeholder-box {
    background-color: #222;
    min-height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

/* --- Pricing specifics --- */
.price { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.03em;}
.price span { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.pricing-card hr { border: none; border-top: 1px solid var(--border-light); margin: 2rem 0; }

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: #111;
    border: 1px solid var(--border-dark);
    color: var(--text-dark);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn { width: 100%; margin-top: 1rem; }

/* --- Footer --- */
footer { padding: 4rem 0 2rem; background-color: #050505; color: #888; border-top: 1px solid var(--border-dark); }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 3rem; }
.footer-brand h3 { color: #fff; }
.footer-social a { color: #fff; text-decoration: none; transition: var(--transition); }
.footer-social a:hover { opacity: 0.7; }

/* --- JS Animations Utility --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Add a hamburger menu later if needed */
    .hero-actions { flex-direction: column; }
    .why-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .footer-content { flex-direction: column; gap: 2rem; }
}