/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --bg-dark: #0B132B;
    --bg-darker: #060A1A;
    --primary: #00F5D4;
    --primary-dark: #00BBF9;
    --accent: #9B5DE5;
    --text-light: #F1F5F9;
    --text-gray: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

/* =========================================
   UTILITIES & BUTTONS
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.5);
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 245, 212, 0.3); }
    50% { box-shadow: 0 4px 35px rgba(0, 245, 212, 0.6); }
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
}

.full-width { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 19, 43, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

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

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--text-light); border-radius: 2px; transition: 0.3s; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: float 12s infinite ease-in-out;
}

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

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

.hero-content { text-align: center; max-width: 900px; z-index: 1; }

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub { font-size: 1.25rem; color: var(--text-gray); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

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

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.stat-item h3 { font-size: 2.5rem; color: var(--primary); font-weight: 800; }
.stat-item p { font-size: 0.95rem; color: var(--text-gray); font-weight: 500; }

/* =========================================
   SERVICES & CARDS
   ========================================= */
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.section-header p { color: var(--text-gray); font-size: 1.1rem; }

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 36px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: var(--glass-shadow);
}

.service-card:hover::before { opacity: 1; }

.icon-box { font-size: 2.5rem; margin-bottom: 24px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; font-weight: 700; }
.service-card p { color: var(--text-gray); margin-bottom: 24px; font-size: 0.95rem; }

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

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

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

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

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

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.timeline-content:hover { transform: translateX(10px); border-color: var(--primary); }
.timeline-content h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-light); }
.timeline-content p { color: var(--text-gray); font-size: 0.95rem; }

/* =========================================
   PORTFOLIO (CSS ABSTRACT ART)
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.abstract-art {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.art-1 { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.art-1::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 150%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    transform: translate(-50%, -50%);
    animation: rotate 8s linear infinite;
    opacity: 0.3;
}

.art-2 { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.art-2::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.4) 0%, transparent 60%);
    animation: float 10s infinite ease-in-out;
}

.art-3 { background: linear-gradient(135deg, #1e293b 0%, #064e3b 100%); }
.art-3::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 245, 212, 0.2) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes rotate { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.95), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-overlay h4 { font-size: 1.2rem; color: var(--text-light); }
.portfolio-overlay p { color: var(--primary); font-size: 0.9rem; }

/* =========================================
   ARTICLE SECTION (Rich Formatting)
   ========================================= */
.article-container { max-width: 900px; }
.article-header { margin-bottom: 40px; border-bottom: 1px solid var(--glass-border); padding-bottom: 24px; }
.article-header h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.meta-info { color: var(--primary); font-size: 0.9rem; font-weight: 500; }

.main-content h3 { font-size: 1.8rem; font-weight: 700; margin: 48px 0 20px; color: var(--text-light); }
.main-content p { margin-bottom: 20px; color: var(--text-gray); font-size: 1.1rem; }
.main-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.main-content a:hover { color: var(--primary-dark); }

.callout-box {
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--primary);
    background: rgba(0, 245, 212, 0.05);
}

.callout-box strong { color: var(--text-light); display: block; margin-bottom: 8px; font-size: 1.05rem; }
.callout-box p, .callout-box { color: var(--text-gray); font-size: 1rem; margin: 0; }

.checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.comparison-table-wrapper { overflow-x: auto; margin: 32px 0; border-radius: 12px; border: 1px solid var(--glass-border); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.comparison-table th, .comparison-table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(0, 245, 212, 0.1); color: var(--text-light); font-weight: 600; }
.comparison-table td { color: var(--text-gray); }
.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-box, .cons-box { padding: 24px; border-radius: 12px; }
.pros-box { background: rgba(0, 245, 212, 0.05); border: 1px solid rgba(0, 245, 212, 0.2); }
.cons-box { background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); }
.pros-box h4, .cons-box h4 { margin-bottom: 16px; font-size: 1.1rem; }
.pros-box h4 { color: var(--primary); }
.cons-box h4 { color: #ef4444; }
.pros-box li, .cons-box li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--text-gray); font-size: 0.95rem; }
.pros-box li::before { content: "+"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.cons-box li::before { content: "-"; position: absolute; left: 0; color: #ef4444; font-weight: bold; }

.premium-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-light);
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 40px 0;
    background: var(--glass-bg);
    border-radius: 0 12px 12px 0;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    transition: color 0.3s;
}
.faq-question:hover { color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s; color: var(--text-gray); }
.faq-answer p { padding-bottom: 24px; font-size: 1rem; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .icon { transform: rotate(45deg); color: var(--primary); }
.icon { font-size: 1.5rem; transition: transform 0.3s; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.stars { color: #fbbf24; margin-bottom: 16px; font-size: 1.2rem; }
.testimonial-card > p { font-style: italic; color: var(--text-gray); margin-bottom: 24px; font-size: 1.05rem; }
.client-info { display: flex; align-items: center; gap: 16px; }
.avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--bg-dark); font-size: 1.1rem;
}
.client-info h4 { font-size: 1rem; color: var(--text-light); }
.client-info span { font-size: 0.85rem; color: var(--text-gray); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 16px; }
.contact-info > p { color: var(--text-gray); margin-bottom: 40px; font-size: 1.1rem; }
.info-item { margin-bottom: 24px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 6px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item a, .info-item span { color: var(--text-light); font-size: 1.1rem; font-weight: 500; }
.info-item a:hover { color: var(--primary); }
.contact-actions { margin-top: 40px; }

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-gray); font-size: 0.9rem; font-weight: 500; }
input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: #020617; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3 { color: var(--text-light); margin-bottom: 24px; font-size: 1.2rem; font-weight: 700; }
.footer-col h3 span { color: var(--primary); }
.footer-col p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-gray); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.copyright { color: var(--text-gray); font-size: 0.85rem; border-top: 1px solid var(--glass-border); padding-top: 30px; }

/* =========================================
   ANIMATIONS & RESPONSIVE
   ========================================= */
.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); } }

@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .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;
        width: 100%;
        background: rgba(11, 19, 43, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .nav-btn { display: none; }
    
    .hero-content h1 { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats-row { flex-direction: column; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}