/* assets/css/modules/landing.css */

:root {
    --primary-green: #0e4c48;
    --primary-dark: #062b29;
    --primary-light: #1a706b;
    --accent-gold: #fbbf24;
    --text-main: #0f172a;
    --text-body: #334155;
    --bg-light: #ffffff;
    --bg-mint: #f0fdfa; /* Lightest Green */
    --bg-mint-strong: #ccfbf1;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-card: 0 20px 40px -5px rgba(14, 76, 72, 0.08);
    --shadow-hover: 0 25px 50px -12px rgba(14, 76, 72, 0.15);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-green { color: var(--primary-green) !important; }

/* --- NAVBAR --- */
.landing-navbar {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.landing-logo { height: 40px; width: auto; }
.nav-link {
    font-weight: 600;
    color: var(--text-body) !important;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    border-radius: 50px;
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
    background: var(--bg-mint);
}

/* --- HERO SECTION --- */
.hero-wrapper {
    padding-top: 220px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-blob {
    position: absolute;
    background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    border-radius: 50%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    background: white;
    border: 1px solid #ccfbf1;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(14, 76, 72, 0.05);
}

.hero-headline {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-visual { position: relative; z-index: 2; }

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(14, 76, 72, 0.2);
    border: 4px solid rgba(255,255,255,0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.hero-img:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

/* --- SECTION UTILS --- */
.section-padding { padding: 120px 0; }
.bg-surface { background-color: #f8fafc; }

.section-label {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--primary-green);
    margin-bottom: 12px;
    display: block;
}

.section-title { font-size: 2.5rem; margin-bottom: 15px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-body); max-width: 600px; margin: 0 auto; }

/* --- WORKFLOW --- */
.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    position: relative;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--bg-mint-strong);
}

.step-number {
    position: absolute;
    top: -5px;
    right: 15px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(14, 76, 72, 0.12); 
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.step-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: var(--bg-mint);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(14, 76, 72, 0.05);
    position: relative;
    z-index: 1;
}

/* --- JOB CARDS --- */
.job-card-modern {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    transition: 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.job-card-modern:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-card);
}
.job-logo-box {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--primary-green);
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    font-size: 1.2rem;
}
.job-logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.job-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    background: var(--bg-mint);
    color: var(--primary-green);
    border: 1px solid rgba(14, 76, 72, 0.1);
}

/* --- BLOG CARDS --- */
.blog-card-smart {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card-smart:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-thumb-smart { height: 180px; background: #e2e8f0; position: relative; overflow: hidden; }
.blog-thumb-smart img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card-smart:hover .blog-thumb-smart img { transform: scale(1.08); }

.blog-content-smart { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta-smart { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.5px; }
.blog-title-smart { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.blog-title-smart a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
.blog-title-smart a:hover { color: var(--primary-green); }

/* --- BLOG POST SINGLE (FIXED) --- */
.article-header {
    padding: 160px 0 60px; /* Clear fixed nav */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.article-meta img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive Image */
.article-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .article-img {
        max-height: 550px; /* Cap height on large screens */
        object-fit: cover;
        object-position: center;
    }
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    padding: 0 10px;
}
.article-content h2 { margin-top: 40px; margin-bottom: 20px; }
.article-content img { max-width: 100%; border-radius: 12px; margin: 20px 0; }

/* Share Buttons */
.share-box {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0;
    margin: 60px 0;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 76, 72, 0.2);
}

/* --- PRICING --- */
.pricing-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    background: white;
    padding: 40px;
    position: relative;
    height: 100%;
    transition: 0.3s;
}
.pricing-wrapper.highlight {
    border: 2px solid var(--primary-green);
    background: #fff;
    box-shadow: 0 20px 40px -10px rgba(14, 76, 72, 0.1);
}
.popular-tag {
    position: absolute; top: 20px; right: 20px;
    background: var(--primary-green); color: white;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
}
.price-big { font-size: 3rem; font-weight: 800; color: var(--text-main); letter-spacing: -1px; }
.check-list li { margin-bottom: 12px; color: var(--text-body); display: flex; align-items: center; font-size: 0.95rem; }
.check-list i { color: var(--primary-green); margin-right: 12px; font-size: 1.1rem; }

/* --- CTA SECTION --- */
.cta-section {
    background-color: var(--primary-green);
    color: white !important;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section h2 { color: white !important; }
.cta-bg-circle {
    position: absolute;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* --- FOOTER (FIXED) --- */
.footer {
    background-color: #022c29; /* Deep Dark Green */
    color: #94a3b8;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-title { 
    color: #ffffff; 
    font-weight: 700; 
    margin-bottom: 24px; 
    font-size: 1.1rem; 
    letter-spacing: -0.01em;
}

.footer ul { padding: 0; list-style: none; margin: 0; }
.footer ul li { margin-bottom: 12px; }

.footer a { 
    color: #94a3b8; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    display: inline-block;
}
.footer a:hover { color: #ffffff; padding-left: 4px; }

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    margin-top: 60px; 
    padding-top: 30px; 
}

/* Footer Form */
.footer .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.footer .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    box-shadow: none;
}
.footer .btn-primary {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-headline { font-size: 2.75rem; }
    .hero-wrapper { padding-top: 160px; text-align: center; }
    .hero-sub { margin: 0 auto 30px; }
    .hero-tag { margin: 0 auto 24px; }
    .article-header { padding: 120px 0 40px; }
    .article-img { max-height: auto; } /* Allow full height on mobile */
}

/* --- ADVERTISEMENTS --- */
.ad-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}
.ad-banner {
    width: 100%;
    max-height: 250px; /* Limit height */
    object-fit: cover;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.ad-banner:hover {
    transform: scale(1.01);
}
.ad-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}