:root {
    --primary: #f5f5f5;
    --secondary: #00a8ff; /* Vibrant Tech Blue */
    --secondary-glow: rgba(0, 168, 255, 0.4);
    --dark: #0a0e17; /* Deep Navy/Black */
    --glass-bg: rgba(16, 24, 40, 0.65);
    --glass-border: rgba(0, 168, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text: #e0e0e0;
    --text-muted: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.text-gradient {
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.glass-card {
    background: rgba(16, 24, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--secondary-glow);
    border: 1px solid rgba(0, 168, 255, 0.4);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.btn-primary {
    background: linear-gradient(135deg, #00a8ff 0%, #0072ff 100%);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.15);
    border-color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: background-image 1s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,14,23,0.5) 0%, rgba(10,14,23,1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 5rem;
}

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

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

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Layout Utilities */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.bg-dark {
    background-color: rgba(6, 9, 15, 0.9);
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Cards */
.card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.glass-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.link-action {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.link-action:hover {
    color: #fff;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Masonry overrides */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
.masonry-grid img {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.85);
}
.masonry-grid img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .masonry-grid { column-count: 2; }
    .hero h2 { font-size: 2.5rem; }
    .section { padding: 4rem 1.5rem; }
    .nav-container { flex-wrap: wrap; gap: 1rem; justify-content: center; text-align: center; }
    .desktop-nav { display: none; }
}
@media (max-width: 480px) {
    .masonry-grid { column-count: 1; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    .grid { grid-template-columns: 1fr; }
    .nav-container .logo h1 { font-size: 1.5rem; }
}
