/* --- Variables & Reset --- */
:root {
    --primary-color: #6366f1; /* Indigo */
    --secondary-color: #ec4899; /* Pink */
    --accent-color: #8b5cf6; /* Violet */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #f0f4f8;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Background Gradients --- */
.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 10%;
    right: -50px;
    animation-delay: 2s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

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

.text-center { text-align: center; }

.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 rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.section { padding: 80px 0; }

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

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

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

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

.mobile-toggle { display: none; cursor: pointer; }
.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
}

/* --- Hero Section --- */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

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

.service-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

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

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

.feature-list li {
    padding: 5px 0;
    color: #64748b;
    font-size: 0.95rem;
}

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

/* --- Article Styling --- */
.article-section {
    background: rgba(255,255,255,0.3);
}

.premium-article {
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 20px;
}

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

.article-header h2 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: var(--text-dark);
}

.meta-info {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

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

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

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

.lead-text {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--text-dark) !important;
}

.info-box {
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-content {
    padding: 20px;
    position: relative;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- FAQ --- */
.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(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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 .arrow {
    transform: rotate(180deg);
}

/* --- 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: #fbbf24; margin-bottom: 15px; }

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

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

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

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 { margin-bottom: 5px; }
.info-item a { color: var(--text-dark); text-decoration: none; }
.info-item a:hover { color: var(--primary-color); }

.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);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* --- Footer --- */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.footer ul li a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in-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) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    .hero-section h1 { font-size: 2.5rem; }
    
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    
    .contact-wrapper { grid-template-columns: 1fr; padding: 30px; }
    
    .faq-grid { grid-template-columns: 1fr; }
    
    .hero-buttons { flex-direction: column; }
}