:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --warning: #ef4444;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Floating Decorative Shapes */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: 10%; right: -50px; animation-delay: 2s; }
.shape-3 { width: 250px; height: 250px; background: var(--accent); top: 40%; left: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

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

.section-padding { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Navigation */
.glass-nav {
    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-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Buttons */
.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-outline {
    background: transparent;
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.parallax-bg {
    background: linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.9)), 
                repeating-linear-gradient(45deg, #e2e8f0 0, #e2e8f0 1px, transparent 1px, transparent 20px);
    background-attachment: fixed;
}

.animated-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-main);
}

/* Statistics */
.stats-section {
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    border-radius: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

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

.service-card {
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 5px 0;
    color: var(--text-main);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-content {
    padding: 25px;
    border-radius: 12px;
    flex: 1;
}

/* Portfolio Abstract */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.abstract-bg {
    position: absolute;
    inset: 0;
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

.bg-1 { background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899); }
.bg-2 { background: linear-gradient(45deg, #10b981, #3b82f6, #06b6d4); }
.bg-3 { background: linear-gradient(45deg, #f59e0b, #ef4444, #ec4899); }

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.shape-a { width: 150px; height: 150px; top: 20%; left: 20%; }
.shape-b { width: 100px; height: 100px; bottom: 20%; right: 20%; }
.shape-c { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.shape-d { width: 120px; height: 120px; top: 10%; right: 10%; }
.shape-e { width: 180px; height: 180px; bottom: 10%; left: 10%; }

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Article Styling */
.article-container {
    background: white;
    border-radius: 24px;
    margin: 40px auto;
    box-shadow: var(--shadow);
    padding: 60px 40px;
    max-width: 1000px;
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--bg-dark);
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.article-content h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.lead {
    font-size: 1.2rem !important;
    color: var(--text-main) !important;
    font-weight: 500;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.callout-box {
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid var(--warning);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.checklist {
    list-style: none;
    margin: 20px 0;
}

.checklist li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

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

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

.feature-cards-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mini-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.premium-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 4px solid var(--secondary);
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 0 12px 12px 0;
}

.premium-quote footer {
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    margin-top: 15px;
    color: var(--text-muted);
}

.summary-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid #bae6fd;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.testimonial-card {
    padding: 30px;
    border-radius: 16px;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

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

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.client-info strong {
    display: block;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
    border-radius: 24px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
    margin: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: rgba(255,255,255,0.5);
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h3 span { color: var(--primary); }

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--primary); }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #94a3b8;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-section h1 { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
    
    .hero-buttons { flex-direction: column; align-items: center; }
    .trust-indicators { flex-direction: column; gap: 15px; align-items: center; }
    .article-container { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
}