/* --- Variables & Reset --- */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --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: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.2rem; color: var(--text-light); }
a { text-decoration: none; transition: all 0.3s ease; }

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.bg-light { background-color: #f1f5f9; }
.bg-dark { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    color: white; 
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.glow-effect {
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.2); }
    to { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

/* --- Glassmorphism --- */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.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: 24px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 48px;
}

/* --- Navigation --- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.highlight { color: var(--primary-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    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: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    background: radial-gradient(circle at top right, #fef3c7, transparent 40%),
                radial-gradient(circle at bottom left, #dbeafe, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 36px;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.trust-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-card {
    min-width: 160px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #fde68a;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #bfdbfe;
    bottom: 50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.icon-box {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Stats Section --- */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.counter-item {
    margin: 24px;
}

.count {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-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; text-align: right; }
.timeline-item.right { left: 50%; }

.timeline-item .content {
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

/* --- Article Styling --- */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
}

.article-header {
    margin-bottom: 48px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 24px;
}

.meta-info {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 16px;
    font-weight: 500;
}

.article-body h2 {
    margin-top: 48px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.article-body h3 {
    margin-top: 32px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.article-body ul {
    margin-left: 24px;
    margin-bottom: 24px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.callout-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.callout-box h3 { margin-top: 0; color: var(--primary-dark); }
.callout-box p { margin-bottom: 0; color: var(--text-dark); }

.benefit-list {
    list-style: none;
    margin-left: 0;
}

.benefit-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.benefit-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td { border-bottom: none; }

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.pros-card h3 { color: #16a34a; }
.cons-card h3 { color: #dc2626; }

.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: "Q:";
    color: var(--primary-color);
    font-weight: 800;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.stars { color: #fbbf24; margin-bottom: 16px; font-size: 1.2rem; }

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
}

.bg-dark .contact-wrapper h2, 
.bg-dark .contact-wrapper p, 
.bg-dark .contact-wrapper strong {
    color: white;
}

.info-item { margin-bottom: 24px; }
.info-item a { color: #cbd5e1; }
.info-item a:hover { color: var(--primary-color); }

.contact-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.modern-form input, 
.modern-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.modern-form input::placeholder, 
.modern-form textarea::placeholder {
    color: #94a3b8;
}

.modern-form input:focus, 
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.15);
}

.full-width { width: 100%; }

/* --- Footer --- */
.footer-section {
    background: #020617;
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h3 { color: white; margin-bottom: 24px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    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) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-links { display: none; }
    .hamburger { display: block; }
    
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left { text-align: left; }
    .timeline-item.right { left: 0; }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .pros-cons-grid { grid-template-columns: 1fr; }
    
    .hero-section { padding-top: 140px; }
    .cta-group { flex-direction: column; }
    
    .article-container { padding: 30px; }
}