:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(20, 27, 45, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Gradients */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}
.blob-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, rgba(0,0,0,0) 70%);
}
.blob-2 {
    bottom: 20%;
    right: -100px;
    background: radial-gradient(circle, rgba(6,182,212,0.3) 0%, rgba(0,0,0,0) 70%);
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.mt-4 { margin-top: 1rem; }

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.75rem;
}
.logo span {
    color: var(--accent);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
.badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}
.section-heading h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.section-heading p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}
.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover::before {
    opacity: 1;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}
.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}
.card-features {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 48px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
}
.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}
.card-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}
.card-freq {
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* Footer */
.footer {
    background: rgba(10, 15, 25, 0.9);
    border-top: 1px solid var(--card-border);
    padding: 4rem 0 2rem;
    text-align: center;
}
.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.footer-brand span {
    color: var(--accent);
}
.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.footer-bottom {
    margin-top: 4rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* Why Local Section */
.why-local-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    background: rgba(15, 20, 35, 0.5);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

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

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s, border-color 0.3s;
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links { display: none; /* simple hidden for mobile, in real world add hamburger */ }
    .section-heading h2 { font-size: 2.25rem; }
}
