/* --- Variables & Reset --- */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: rgba(255,255,255,0.4); }

.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.glow-effect {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }
    to { box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f1f1f1;
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.highlight { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--dark);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px auto;
    transition: 0.3s;
}

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

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: #bfdbfe;
    top: -100px;
    right: -100px;
    animation: float 10s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #bbf7d0;
    bottom: 50px;
    left: -50px;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 40px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-sub {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-box {
    padding: 20px;
    min-width: 150px;
    text-align: center;
}

.stat-box span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

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

.service-card {
    padding: 30px;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 15px;
    color: #64748b;
}

.feature-list li::before {
    content: "✓";
    color: var(--secondary);
    margin-right: 10px;
}

/* --- Article Styling --- */
.article-container {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.category-tag {
    background: var(--dark);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-header h2 {
    font-size: 2.2rem;
    margin: 20px 0 10px;
}

.meta-info {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

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

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--primary-dark);
}

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

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

/* --- FAQ Section --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    padding: 20px;
    cursor: pointer;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
    color: #64748b;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

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

.testimonial-card {
    padding: 30px;
}

.stars { color: #f59e0b; margin-bottom: 15px; }

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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

.contact-info, .contact-form-container {
    padding: 40px;
}

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

.info-row .icon {
    font-size: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    background: rgba(255,255,255,0.8);
}

/* --- Footer --- */
.glass-footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 { margin-bottom: 20px; color: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #cbd5e1; text-decoration: none; }
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #94a3b8;
}

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        transition: 0.4s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { left: 0; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .hero-buttons { flex-direction: column; }
    
    .faq-grid { grid-template-columns: 1fr; }
}