:root {
    --primary: #059669;
    --primary-dark: #047857;
    --secondary: #0d9488;
    --accent: #f59e0b;
    --bg-dark: #022c22;
    --bg-light: #f0fdf4;
    --text-main: #064e3b;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(5, 150, 105, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: 10%;
    left: -150px;
    animation-delay: -8s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 45%;
    right: 10%;
    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.9); }
}

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

/* Glassmorphism Utilities */
.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(--glass-shadow);
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 12px 0;
}

.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;
}

.dot {
    color: var(--primary);
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.3);
}

.glow-btn {
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 15px rgba(5, 150, 105, 0.2); }
    to { box-shadow: 0 0 30px rgba(5, 150, 105, 0.5); }
}

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

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

/* Mobile Menu */
.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-section {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

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

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

.stat-item {
    padding: 24px 40px;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
}

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

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

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

.bg-alt {
    background: rgba(236, 253, 245, 0.5);
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    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(320px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 36px;
    border-radius: 24px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 24px;
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-list li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

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

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

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

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

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.15);
}

.timeline-content {
    padding: 32px;
    border-radius: 20px;
    flex: 1;
}

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

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

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

.css-abstract {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.abstract-1 {
    background: linear-gradient(45deg, #059669, #0d9488, #f59e0b);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

.abstract-2 {
    background: linear-gradient(135deg, #f59e0b, #ef4444, #059669);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite reverse;
}

.abstract-3 {
    background: linear-gradient(225deg, #0d9488, #3b82f6, #059669);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(8px);
    padding: 28px;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

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

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

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

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

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

.premium-article {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

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

.article-header h2 {
    font-size: 2.4rem;
    margin: 16px 0;
    line-height: 1.2;
    font-weight: 800;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #dcfce7;
}

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

.article-content h4 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: var(--primary-dark);
    font-weight: 600;
}

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

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

.callout-box, .warning-box {
    padding: 24px;
    border-radius: 16px;
    margin: 32px 0;
    border-left: 5px solid var(--primary);
    background: rgba(5, 150, 105, 0.04);
}

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

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

.checklist li {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 1.05rem;
    color: #334155;
}

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

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 16px;
    border: 1px solid #dcfce7;
}

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

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

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

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

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

/* FAQ Accordion */
.faq-section {
    margin-top: 48px;
}

.faq-item {
    border-bottom: 1px solid #dcfce7;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info, .contact-form-wrapper {
    padding: 48px;
    border-radius: 32px;
}

.contact-info h2, .contact-form-wrapper h2 {
    margin-bottom: 12px;
    font-size: 1.8rem;
}

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

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

.info-icon {
    font-size: 1.8rem;
}

.info-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

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

.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: 16px 20px;
    border: 2px solid #bbf7d0;
    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(5, 150, 105, 0.1);
    background: white;
}

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

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

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

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #6ee7b7;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer p {
    color: #a7f3d0;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer ul {
    list-style: none;
}

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

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

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

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

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #6ee7b7;
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s forwards;
}

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title { font-size: 2.4rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .premium-article { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .timeline::before { left: 24px; }
    .timeline-item { flex-direction: column; gap: 16px; }
}