@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #288F4F;
    --primary-glow: rgba(40, 143, 79, 0.15);
    --primary-dark: #1f6f3e;
    --bg-light: #FAFAFB;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(229, 231, 235, 0.5);
    --text-dark: #111827;
    --text-muted: #4B5563;
    --shadow-soft: 0 12px 40px -10px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 50px -12px rgba(40, 143, 79, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(40, 143, 79, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(40, 143, 79, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

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

/* --- NAVIGATION --- */
nav {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 38px;
    width: auto;
}

.badge {
    background-color: var(--primary-glow);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(40, 143, 79, 0.2);
}

/* --- HERO SECTION --- */
header {
    padding: 6rem 0 4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0;
    }
    .hero-visual {
        order: -1;
    }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #16A34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

@media (max-width: 968px) {
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
}

/* --- HERO BUTTONS --- */
.cta-group {
    display: flex;
    gap: 1rem;
}

@media (max-width: 968px) {
    .cta-group {
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(40, 143, 79, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 143, 79, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    transform: translateY(-2px);
    border-color: #D1D5DB;
}

/* --- HERO VISUAL (GLASSMOCKUP) --- */
.hero-visual {
    position: relative;
}

.mockup-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--card-border);
    background-color: white;
    transition: transform 0.5s ease;
}

.mockup-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    animation: float 4s ease-in-out infinite;
}

.card-top {
    top: -20px;
    right: -20px;
}

.card-bottom {
    bottom: 20px;
    left: -30px;
    animation-delay: 2s !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- FEATURES GRID --- */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(40, 143, 79, 0.2);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- DOWNLOAD SECTION --- */
.downloads {
    padding: 5rem 0;
    background-color: white;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

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

.dl-card {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.dl-card:hover {
    border-color: var(--primary);
    background-color: #F9FAFB;
    transform: scale(1.02);
}

.dl-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.dl-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.dl-card .file-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #F3F4F6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* --- FOOTER --- */
footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
}

/* ================= PRICING LAYOUT ================= */

.pricing {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(40, 143, 79, 0.03) 100%);
}

.pricing-card-wrapper {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.pricing-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(40, 143, 79, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    box-shadow: 0 4px 10px rgba(40, 143, 79, 0.3);
}

.price-text {
    font-family: 'Outfit', sans-serif;
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
    line-height: 1;
}

.price-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0 2.5rem;
    padding-left: 0;
}

.pricing-features-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
}

.pricing-features-list li::before {
    content: "✔";
    color: var(--primary);
    font-weight: 900;
    font-size: 1rem;
}


/* ================= DOCUMENTATION & FAQ LAYOUTS ================= */

.search-container {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
}

.search-bar {
    width: 100%;
    padding: 1.15rem 1.5rem;
    border: 1px solid var(--card-border);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 1.05rem;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.search-bar:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-results-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 0.5rem;
}

.search-result-item {
    border-radius: 8px;
    transition: background 0.2s ease;
}

.search-result-item a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.search-result-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.faq-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.article-layout {
    max-width: 800px;
    margin: 4rem auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.back-btn:hover {
    color: var(--primary);
}

.alert-box {
    background: #F0FDF4;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

