:root {
    --bg-color: #0b0f19;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 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 blob */
body::before {
    content: '';
    position: fixed;
    top: -20vh;
    left: 10vw;
    width: 60vw;
    height: 60vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 242, 254, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20vh;
    right: 10vw;
    width: 50vw;
    height: 50vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(139, 92, 246, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--text-main); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

h2.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
p.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.logo img { height: 32px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links li a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(11,15,25,0.8) 0%, rgba(11,15,25,1) 100%), url('../images/hero_bg.png') center/cover no-repeat;
    background-blend-mode: luminosity;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Product/Service Cards */
.card {
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 24px; color: var(--primary);
}

.card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; flex-grow: 1; }

/* Portfolio / Projects */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img { transform: scale(1.05); }

.project-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-info { transform: translateY(0); opacity: 1; }

.project-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; }
.project-cat { color: var(--primary); font-size: 0.85rem; font-weight: 500; }

/* Pricing */
.pricing-card {
    padding: 40px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price { font-size: 3rem; font-weight: 800; margin: 20px 0; color: var(--text-main); }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.plan-features { margin: 30px 0; text-align: left; flex-grow: 1; }
.plan-features li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.plan-features li i { color: var(--primary); }

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
    margin-bottom: 60px;
}

.footer-about p { color: var(--text-muted); margin-top: 20px; }
.footer-links h4 { font-size: 1.2rem; margin-bottom: 20px; color: #fff; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { color: var(--text-muted); }
.footer-links li a:hover { color: var(--primary); padding-left: 5px; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-3px); }

.footer-bottom {
    text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border);
    color: var(--text-muted); font-size: 0.9rem;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%; padding: 15px;
    background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border);
    border-radius: 8px; color: #fff; font-family: var(--font-body);
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: rgba(0,0,0,0.4); box-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .h1, .hero h1 { font-size: 3.5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: rgba(11, 15, 25, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 40px 20px; gap: 20px;
        transform: translateY(-150%); opacity: 0; transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { transform: translateY(0); opacity: 1; }
    .hero h1 { font-size: 2.5rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
