/* Base Resets and Variables */
:root {
    --electric-blue: #00f3ff;
    --electric-green: #00ff9d;
    --dark-bg: #050914;
    --text-light: #e0e6ed;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}
.shape-blue {
    width: 400px; height: 400px;
    background-color: rgba(0, 243, 255, 0.3);
    top: -100px; left: -100px;
}
.shape-green {
    width: 350px; height: 350px;
    background-color: rgba(0, 255, 157, 0.2);
    bottom: 20%; right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Liquid Glass Utilities */
.glass-header, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Header */
.glass-header {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 50px; z-index: 1000;
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.brand-name {
    font-size: 1.5rem; font-weight: bold;
    background: linear-gradient(90deg, var(--electric-blue), var(--electric-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}
.navigation ul { list-style: none; display: flex; gap: 30px; }
.navigation a {
    color: var(--text-light); text-decoration: none; font-size: 1.1rem;
    transition: color 0.3s ease;
}
.navigation a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.lang-btn {
    padding: 8px 16px; color: var(--text-light); border-radius: 8px;
    cursor: pointer; font-weight: bold; transition: all 0.3s ease; font-size: 1rem;
}
.lang-btn:hover { color: var(--electric-green); border-color: var(--electric-green); }

/* Common Section Styles */
section { padding: 100px 50px; }
.section-title {
    text-align: center; font-size: 2.5rem; margin-bottom: 60px;
    background: linear-gradient(90deg, var(--electric-blue), var(--electric-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.icon-blue { color: var(--electric-blue); text-shadow: 0 0 15px rgba(0, 243, 255, 0.4); }
.icon-green { color: var(--electric-green); text-shadow: 0 0 15px rgba(0, 255, 157, 0.4); }

/* Hero Section */
.hero-section {
    height: 100vh; display: flex; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px; margin-top: 0;
}
.hero-content { max-width: 800px; padding: 50px; border-radius: 24px; transition: transform 0.3s ease; }
.hero-content:hover { transform: translateY(-5px); }
.slogan { color: var(--electric-green); font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 3px; text-transform: uppercase; }
.main-title { font-size: 3rem; margin-bottom: 25px; line-height: 1.3; }
.motivational-text { font-size: 1.1rem; line-height: 1.8; margin-bottom: 35px; color: #aeb5c0; }
.cta-button {
    display: inline-block; padding: 12px 30px;
    background: linear-gradient(45deg, var(--electric-blue), var(--electric-green));
    color: #000; text-decoration: none; font-weight: bold; border-radius: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.cta-button:hover { box-shadow: 0 0 20px rgba(0, 243, 255, 0.6); transform: scale(1.05); }

/* About Section */
.about-section { padding-top: 50px; display: flex; justify-content: center; }
.about-container { max-width: 900px; padding: 50px; border-radius: 24px; text-align: center; }
.about-container .section-title { margin-bottom: 30px; font-size: 2rem; }
.about-text { font-size: 1.1rem; line-height: 1.8; color: #aeb5c0; margin-bottom: 30px; }
.tech-stack { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.tech-badge {
    padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 0.9rem;
    background: rgba(0, 255, 157, 0.1); border: 1px solid var(--electric-green);
    color: var(--electric-green); box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

/* Services Section */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { padding: 40px 20px; border-radius: 20px; text-align: center; transition: transform 0.4s ease; cursor: pointer; }
.service-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.2); }
.service-card i { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.5rem; }
.service-card p { color: #9098a5; line-height: 1.6; }

/* Articles Section */
/* Articles Section - Enforce 2 columns */
.articles-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.article-card { 
    padding: 35px 25px; 
    border-radius: 20px; 
    transition: transform 0.4s ease; 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    height: 100%; /* Ensures cards stretch equally */
}

.article-card:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.2); }
.article-icon { margin-bottom: 20px; font-size: 2rem; }
.article-card h3 { margin-bottom: 15px; font-size: 1.3rem; color: #fff; }
.article-card p { color: #aeb5c0; line-height: 1.7; font-size: 0.95rem; }

/* Footer Section */
.glass-footer {
    padding: 50px; margin-top: 50px;
    border-top-left-radius: 30px; border-top-right-radius: 30px;
    border-bottom: none; border-left: none; border-right: none;
}
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.contact-info h3 { color: var(--electric-blue); margin-bottom: 10px; }
.contact-info p { margin-bottom: 20px; color: #aeb5c0; }
.contact-links { display: flex; justify-content: center; gap: 30px; }
.contact-item { color: var(--text-light); text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; transition: color 0.3s; }
.contact-item:hover { color: var(--electric-green); }
.copyright { color: #6c7582; font-size: 0.9rem; }

/* Responsive Design */
@media (max-width: 992px) {
    /* Stack articles to 1 column on tablets and mobiles */
    .articles-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 768px) {
    .glass-header { flex-direction: column; gap: 15px; padding: 15px; }
    .navigation ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .main-title { font-size: 2rem; }
    .hero-content, .about-container { padding: 30px 15px; }
    section { padding: 60px 20px; }
    .contact-links { flex-direction: column; gap: 15px; }
}