:root {
    --primary: #059669; /* Emerald Green */
    --primary-dark: #047857;
    --accent: #f59e0b; /* Amber/Gold */
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.bg-darker {
    background-color: rgba(15, 23, 42, 0.4);
}

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

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: 10%;
    left: -100px;
    animation-delay: -8s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #0d9488;
    top: 50%;
    left: 40%;
    animation-delay: -15s;
}

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

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

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.glass-nav.scrolled {
    background: rgba(2, 6, 23, 0.85);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

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

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

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.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: 2px;
    background: var(--light);
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.4);
}

.glow-btn {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.3);
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--light);
}

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

.hero-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.15);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(5, 150, 105, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

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

.stat-card {
    padding: 24px 40px;
    border-radius: 20px;
    text-align: center;
    min-width: 160px;
    transition: transform 0.3s;
}

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

.stat-card .counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
}

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

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

.service-card {
    padding: 35px;
    border-radius: 20px;
    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(5, 150, 105, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    border-color: rgba(5, 150, 105, 0.3);
}

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

.icon-box {
    font-size: 2.8rem;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.3s;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.text-link:hover {
    gap: 12px;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray);
    font-weight: 500;
}

/* 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 {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--darker);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    z-index: 2;
    font-size: 1.1rem;
}

.timeline-content {
    padding: 30px;
    border-radius: 16px;
    flex-grow: 1;
    transition: transform 0.3s;
}

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

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

.timeline-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

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

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

.abstract-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.placeholder-1 { background: linear-gradient(135deg, #064e3b 0%, #022c22 100%); }
.placeholder-2 { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.placeholder-3 { background: linear-gradient(135deg, #451a03 0%, #271501 100%); }

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.7;
}

.shape-a { width: 200px; height: 200px; background: #10b981; top: 10%; left: 10%; }
.shape-b { width: 150px; height: 150px; background: #f59e0b; bottom: 10%; right: 10%; }
.shape-c { width: 180px; height: 180px; background: #3b82f6; top: 30%; right: 20%; }
.shape-d { width: 120px; height: 120px; background: #8b5cf6; bottom: 20%; left: 20%; }
.shape-e { width: 220px; height: 220px; background: #f97316; top: 0%; left: 30%; }
.shape-f { width: 100px; height: 100px; background: #14b8a6; bottom: 0%; right: 30%; }

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
    padding: 40px 24px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.article-header {
    margin-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 40px;
}

.article-category {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.article-header h1 {
    font-size: 3rem;
    margin: 20px 0;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.article-meta {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.article-content h2 {
    font-size: 2.2rem;
    margin: 50px 0 24px;
    color: var(--light);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 35px 0 16px;
    color: #e2e8f0;
    font-weight: 600;
}

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

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.3s;
}

.article-content a:hover {
    color: var(--accent);
}

.callout-box, .warning-box, .summary-box {
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
    border-left: 4px solid;
}

.callout-box {
    background: rgba(5, 150, 105, 0.1);
    border-color: var(--primary);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.summary-box {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(255,255,255,0.05);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.comparison-table td {
    color: #cbd5e1;
}

.process-list, .benefit-list, .checklist {
    margin: 30px 0;
    padding-left: 10px;
    list-style: none;
}

.process-list li, .benefit-list li, .checklist li {
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
}

.process-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.benefit-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    top: 2px;
}

/* FAQ Accordion */
.faq-container {
    margin-top: 50px;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 8px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary);
    transition: transform 0.3s;
    font-weight: 300;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

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

.testimonial-card {
    padding: 35px;
    border-radius: 20px;
    transition: transform 0.3s;
}

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

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

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

.testimonial-author strong {
    display: block;
    color: var(--light);
    font-size: 1.05rem;
}

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

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

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 35px;
    font-size: 1.6rem;
    font-weight: 700;
}

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

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

.info-item a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

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

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

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

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 700;
}

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

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

.footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

.footer-col p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .btn { width: 100%; max-width: 300px; text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .social-icons { justify-content: center; }
    .article-header h1 { font-size: 2.2rem; }
    .stats-banner { flex-direction: column; gap: 30px; }
    
    .timeline::before { left: 24px; }
    .timeline-item { flex-direction: column; gap: 15px; }
    .timeline-content:hover { transform: none; }
}