:root {
    --primary: #0a0b10;
    --secondary: #16213e;
    --accent: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.4);
    --text-main: #e1e1e6;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Header & Nav */
header {
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
}

.logo span {
    color: var(--accent);
    font-weight: 300;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 210, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Floating background elements */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
}
.shape-1 { top: 10%; left: 10%; width: 300px; height: 300px; background: rgba(0, 210, 255, 0.2); }
.shape-2 { bottom: 10%; right: 10%; width: 400px; height: 400px; background: rgba(138, 43, 226, 0.15); }

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--white), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: var(--text-dim);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px var(--accent-glow);
}

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

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--accent);
}

/* Expertise / Services Section */
.section {
    padding: 10rem 8%;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 5rem;
    text-align: left;
}

.section-header span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
}

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

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.9);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
#contact {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.contact-container {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--white);
    font-size: 0.9rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    padding: 5rem 8% 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.socials {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    color: var(--text-dim);
    font-size: 1.5rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--accent);
    transform: scale(1.2);
}

.footer-text {
    color: var(--text-dim);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
@keyframes glow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.accent-glow {
    animation: glow 3s infinite ease-in-out;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    header { padding: 1rem 5%; }
    .hero { padding: 0 5%; text-align: center; }
    .hero-btns { flex-direction: column; }
    .section { padding: 5rem 5%; }
    .contact-form { padding: 2rem; }
}
