:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #f093fb;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #cbd5e1;
    --text-bright: #ffffff;
    --gradient-1: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-bright);
}

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

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-bright);
    letter-spacing: 1px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    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: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.main-article {
    max-width: 900px;
    margin: 0 auto;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.article-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s;
}

.article-content a:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Services */
.services-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

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

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

.service-card {
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    background: var(--gradient-1);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
    background: var(--glass);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-bright);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.abstract-comp {
    position: relative;
    height: 400px;
    width: 100%;
}

.shape {
    position: absolute;
    border-radius: 20px;
}

.s1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    top: 0;
    left: 0;
    transform: rotate(15deg);
    animation: pulse 4s infinite alternate;
}

.s2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    bottom: 50px;
    right: 50px;
    transform: rotate(-10deg);
    animation: pulse 4s infinite alternate-reverse;
}

.s3 {
    width: 100px;
    height: 100px;
    border: 4px solid var(--accent);
    top: 100px;
    right: 100px;
    animation: rotate 10s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1) rotate(15deg); }
    100% { transform: scale(1.1) rotate(20deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.contact-card {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.main-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

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

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-bright);
    border-radius: 3px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* JS will handle this */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 { font-size: 2.8rem; }
    .article-header h1 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    .nav-active .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--dark);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
}
