:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #818cf8;
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Blobs for specific rich aesthetics */
.background-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6, #8b5cf6);
    animation: drift 20s infinite alternate ease-in-out;
}



@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

@keyframes drift-reverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 50px) scale(1.2); }
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism utility */
.glassmorphism {
    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 4px 30px rgba(0, 0, 0, 0.1);
}

.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary, .btn-primary-small {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary { padding: 12px 32px; font-size: 1.1rem; }
.btn-primary-small { padding: 8px 20px; font-size: 0.95rem; }

.btn-primary:hover, .btn-primary-small:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.1rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.w-full { width: 100%; }

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

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

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

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

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 32px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Sections Global */
section:not(.hero) {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.about-card {
    padding: 40px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-muted);
}

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

.service-card {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: center;
}
.form-status.success { color: #10b981; }

/* Footer */
.footer {
    background: #0b1120;
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: white;
}

.footer-contact-info p, .footer-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    .contact-wrapper {
        padding: 40px 20px;
        flex-direction: column;
    }
}
