/* --- Variables & Reset --- */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.bg-darker { background-color: #020617; }

/* --- Glassmorphism Base --- */
.glass-nav, .glass-card, .glass-article {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

.full-width { width: 100%; text-align: center; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-color); }

.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block; width: 25px; height: 3px;
    background: white; margin: 5px 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary-color);
    top: -100px; left: -100px;
    animation: float 10s infinite alternate;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--secondary-color);
    bottom: 50px; right: -50px;
    animation: float 8s infinite alternate-reverse;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    padding: 20px 40px;
    border-radius: 15px;
    text-align: center;
}

.stat-card h3 { font-size: 2rem; color: var(--accent-color); }

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

.service-card {
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(59, 130, 246, 0.2);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.feature-list { margin-top: 15px; color: var(--text-gray); font-size: 0.9rem; }
.feature-list li { margin-bottom: 5px; padding-left: 15px; position: relative; }
.feature-list li::before {
    content: "•"; color: var(--accent-color);
    position: absolute; left: 0;
}

/* --- Article Styling --- */
.article-container { max-width: 900px; }
.glass-article {
    padding: 50px;
    border-radius: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.meta-info {
    display: flex; gap: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--accent-color);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: white;
}

.article-content p {
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.callout-box {
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.process-list {
    margin: 20px 0 20px 20px;
    color: #cbd5e1;
}

.process-list li { margin-bottom: 10px; }

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.faq-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: white; }
.faq-item p { font-size: 1rem; color: var(--text-gray); }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card { padding: 30px; border-radius: 20px; }
.stars { color: #fbbf24; margin-bottom: 15px; letter-spacing: 2px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar {
    width: 50px; height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: white;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info, .contact-form-wrapper {
    padding: 40px;
    border-radius: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon { font-size: 1.5rem; }
.info-item h4 { margin-bottom: 5px; color: white; }
.info-item a, .info-item p { color: var(--text-gray); }

.modern-form .form-group { margin-bottom: 20px; }
.modern-form label { display: block; margin-bottom: 8px; color: var(--text-gray); }
.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}
.modern-form input:focus, .modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

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

.footer-col h3 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); }
.footer-col ul li a:hover { color: var(--primary-color); }
.map-link { color: var(--accent-color); font-size: 0.9rem; display: inline-block; margin-top: 10px; }

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

/* --- Animations --- */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 40px); }
}

.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .nav-btn { display: none; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .glass-article { padding: 25px; }
}