/* --- Variables & Reset --- */
:root {
    --primary: #0f766e; /* Teal */
    --primary-dark: #115e59;
    --secondary: #d97706; /* Amber */
    --accent: #10b981; /* Emerald */
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(15, 118, 110, 0.15);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: #f0f4f8;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* --- Floating Background Shapes --- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
.shape-1 { width: 600px; height: 600px; background: #99f6e4; top: -150px; right: -150px; animation: float 20s infinite alternate ease-in-out; }
.shape-2 { width: 500px; height: 500px; background: #fde68a; bottom: 10%; left: -150px; animation: float 25s infinite alternate-reverse ease-in-out; }
.shape-3 { width: 400px; height: 400px; background: #a7f3d0; top: 40%; right: 10%; animation: float 22s infinite alternate ease-in-out; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 60px); }
}

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

.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: #ffffff; }
.bg-gradient { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(204, 251, 241, 0.4) 100%); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

/* --- Glassmorphism --- */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 118, 110, 0.3);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

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

.glow-btn {
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.3);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.5);
}

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

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

.full-width { width: 100%; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

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

.nav-links a:not(.btn):hover::after { width: 100%; }

.menu-toggle { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 28px; height: 3px; background: var(--dark); margin: 6px 0; transition: 0.3s; border-radius: 2px; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-content { max-width: 850px; }

.hero-badge {
    display: inline-block;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 118, 110, 0.2);
}

.hero-sub { 
    font-size: 1.25rem; 
    color: #475569; 
    margin-bottom: 2.5rem; 
    max-width: 650px; 
}

.cta-group { display: flex; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }

.trust-indicators { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-item { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 1rem 1.5rem; 
    font-weight: 600;
    font-size: 0.95rem;
}
.trust-icon { font-size: 1.5rem; }

/* --- Grid Layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- Services --- */
.section-header { margin-bottom: 1rem; }
.section-header p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-list {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #475569;
}
.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.text-link { 
    color: var(--primary); 
    font-weight: 600; 
    display: inline-block;
    margin-top: 1rem;
}
.text-link:hover { text-decoration: underline; }

/* --- Statistics --- */
.stat-card { padding: 2.5rem 1rem; }
.stat-card h3 { font-size: 3rem; color: var(--primary); margin: 0; display: inline; }
.suffix { font-size: 2rem; color: var(--primary); font-weight: 700; }
.stat-card p { color: #64748b; font-weight: 500; margin-top: 0.5rem; }

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

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

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2.6rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 4px solid #f0f4f8;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.2);
}

.timeline-content { padding: 1.5rem; }

/* --- Portfolio (CSS Abstract) --- */
.css-abstract {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.abstract-1 { background: conic-gradient(from 45deg, #cbd5e1, #94a3b8, #cbd5e1); }
.abstract-1::after { content: ''; position: absolute; width: 150%; height: 150%; background: rgba(255,255,255,0.3); transform: rotate(45deg) translate(-20%, -20%); }

.abstract-2 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.abstract-2::before { content: ''; position: absolute; width: 120px; height: 120px; background: rgba(255,255,255,0.2); border-radius: 50%; top: -30px; right: -30px; }

.abstract-3 { background: radial-gradient(circle at 30% 30%, #d97706, #b45309); }
.abstract-3::after { content: ''; position: absolute; width: 100%; height: 50%; background: rgba(0,0,0,0.1); bottom: 0; }

.portfolio-card { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-overlay h4 { color: white; margin-bottom: 0.5rem; }
.portfolio-overlay p { font-size: 0.9rem; color: #cbd5e1; margin: 0; }

/* --- Article Styling --- */
.article-container { padding: 3.5rem; max-width: 900px; margin: 0 auto; }
.article-header { margin-bottom: 3rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 2rem; }
.category-tag { 
    display: inline-block; 
    background: var(--primary); 
    color: white; 
    padding: 4px 12px; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.meta-info { color: #64748b; font-size: 0.95rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.lead { font-size: 1.25rem; color: #334155; margin-bottom: 2.5rem; font-weight: 500; line-height: 1.8; }
.article-body h2 { margin-top: 3rem; color: var(--primary-dark); font-size: 2rem; }
.article-body h3 { margin-top: 2rem; color: var(--dark); font-size: 1.4rem; }
.article-body p { margin-bottom: 1.5rem; color: #475569; font-size: 1.05rem; }

.callout-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid;
}
.callout-box.warning {
    background: #fff7ed;
    border-color: #f97316;
    color: #9a3412;
}
.callout-box.tip {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.feature-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
}
.feature-box h4 { color: var(--primary); margin-bottom: 0.5rem; }
.feature-box p { margin: 0; font-size: 0.95rem; }

.comparison-table-wrapper { overflow-x: auto; margin: 2.5rem 0; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.comparison-table th, .comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.comparison-table th { background: var(--primary); color: white; font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: #f8fafc; }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    font-family: var(--font-heading);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
    color: #64748b;
    line-height: 1.6;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1rem; }
.faq-item.active .arrow { transform: rotate(180deg); }
.arrow { transition: transform 0.3s ease; font-size: 0.8rem; }

/* --- Testimonials --- */
.testimonial-card { position: relative; }
.stars { color: var(--secondary); margin-bottom: 1rem; font-size: 1.2rem; letter-spacing: 2px; }
.author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.author h4 { margin: 0; font-size: 1rem; }
.author small { color: #64748b; }

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 3.5rem;
}
.info-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; align-items: flex-start; }
.info-item .icon { font-size: 1.8rem; margin-top: 4px; }
.info-item h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.info-item a, .info-item p { color: #64748b; }
.info-item a:hover { color: var(--primary); }

.modern-form .form-group { margin-bottom: 1.25rem; }
.modern-form input, .modern-form select, .modern-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}
.modern-form input:focus, .modern-form select:focus, .modern-form textarea:focus { 
    outline: none; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1); 
}

/* --- Footer --- */
footer { background: var(--dark); color: #94a3b8; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
footer h3, footer h4 { color: white; margin-bottom: 1.5rem; }
footer h3 { font-size: 1.8rem; }
footer ul li { margin-bottom: 0.8rem; }
footer a:hover { color: white; padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a { 
    color: white; 
    font-weight: 700; 
    width: 40px; height: 40px; 
    background: rgba(255,255,255,0.1); 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%;
}
.social-icons a:hover { background: var(--primary); padding-left: 0; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 2rem; font-size: 0.9rem; }

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 80%;
        height: 100vh;
        text-align: center;
        padding: 5rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active { right: 0; }
    .menu-toggle { display: block; }
    
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }
    
    .faq-grid { grid-template-columns: 1fr; }
    .article-container { padding: 2rem 1.5rem; }
    .trust-indicators { flex-direction: column; }
    .timeline { padding-left: 1.5rem; }
    .timeline-marker { left: -2.1rem; width: 32px; height: 32px; font-size: 0.9rem; }
}