:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #8b5cf6;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899, var(--accent));
    bottom: 10%;
    left: -100px;
    animation-delay: -8s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    top: 50%;
    right: 15%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.glow-btn {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.25);
}

.glow-btn:hover {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid #cbd5e1;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.7;
}

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

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

.stat-card {
    padding: 25px 35px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 160px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.bg-alt {
    background: rgba(241, 245, 249, 0.6);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

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

.service-card {
    padding: 35px;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

.icon-box {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

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

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

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

.feature-list li {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-text:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 40px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.stat-number-large {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 25px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    z-index: 2;
}

.timeline-content {
    padding: 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
}

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

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

.portfolio-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.css-abstract {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.css-abstract::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    top: -25%;
    left: -25%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.abstract-1 {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.abstract-2 {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.abstract-3 {
    background: linear-gradient(225deg, #78350f, #d97706);
}

.portfolio-card:hover .css-abstract {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Article Styling */
.article-container {
    max-width: 900px;
}

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

.article-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.article-header h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.article-content h3 {
    font-size: 1.6rem;
    margin: 50px 0 20px;
    color: var(--text-main);
    font-weight: 700;
}

.article-content p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 500;
    border-left: 5px solid var(--primary);
    padding-left: 25px;
    background: rgba(37, 99, 235, 0.03);
    padding: 25px;
    border-radius: 0 12px 12px 0;
}

.callout-box, .warning-box {
    padding: 25px;
    border-radius: 12px;
    margin: 35px 0;
    font-size: 1.05rem;
}

.callout-box {
    background: rgba(37, 99, 235, 0.06);
    border-left: 5px solid var(--primary);
}

.warning-box {
    background: rgba(239, 68, 68, 0.06);
    border-left: 5px solid #ef4444;
}

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

.checklist li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.checklist li:last-child {
    border-bottom: none;
}

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

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

.process-list li {
    margin-bottom: 18px;
    padding-left: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.mini-card {
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.mini-card:hover {
    transform: translateY(-5px);
}

.mini-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.2rem;
}

.mini-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Table */
.table-responsive {
    overflow-x: auto;
    margin: 35px 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

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

.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.comparison-table td {
    color: #475569;
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Pros Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

.pros-card, .cons-card {
    padding: 30px;
    border-radius: 16px;
}

.pros-card h4 { color: #10b981; margin-bottom: 15px; }
.cons-card h4 { color: #ef4444; margin-bottom: 15px; }

.pros-card ul, .cons-card ul {
    list-style: none;
    padding: 0;
}

.pros-card li, .cons-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.pros-card li::before { content: '+'; position: absolute; left: 0; color: #10b981; font-weight: bold; }
.cons-card li::before { content: '-'; position: absolute; left: 0; color: #ef4444; font-weight: bold; }

/* FAQ */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 5px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 0;
    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;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
    font-weight: 300;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

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

.testimonial-card {
    padding: 35px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.testimonial-author strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.1rem;
}

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

.info-icon {
    font-size: 1.6rem;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-main);
}

.info-item a, .info-item span {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.info-item a:hover {
    color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.6);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

.full-width {
    width: 100%;
}

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

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

.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 800;
}

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

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

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

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

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 8px;
}

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

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        gap: 20px