/* ═══════════════════════════════════════════════
   OmniSuite by SporlyWorks — Design System
   Organic · Geometric · Mushroom-Inspired · Premium
   ═══════════════════════════════════════════════ */

:root {
    --forest-deep: #1b4332;
    --forest: #2d6a4f;
    --forest-light: #40916c;
    --sage: #74a68d;
    --cream: #f7f4ee;
    --cream-warm: #f0ebe0;
    --cream-dark: #e4dfd4;
    --earth: #8b7355;
    --earth-light: #c4a882;
    --charcoal: #1a1a1a;
    --charcoal-soft: #3d3d3d;
    --warm-gray: #6b6560;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(27,67,50,0.06);
    --shadow-md: 0 8px 32px rgba(27,67,50,0.08);
    --shadow-lg: 0 20px 60px rgba(27,67,50,0.12);
    --shadow-glow: 0 0 40px rgba(45,106,79,0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ═══ REVEAL ANIMATIONS ═══ */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ═══ NAVIGATION ═══ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
    background: rgba(247, 244, 238, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45,106,79,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--forest-deep);
    text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--forest-deep); line-height: 1.1; }
.brand-sub { font-size: 11px; color: var(--warm-gray); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--charcoal-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta {
    background: var(--forest-deep); color: #fff !important; padding: 10px 22px;
    border-radius: var(--radius-sm); font-weight: 700; letter-spacing: 0.3px; transition: all 0.3s;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--forest-deep); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ═══ HERO ═══ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 800px 600px at 20% 50%, rgba(45,106,79,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 600px 800px at 80% 30%, rgba(116,166,141,0.05) 0%, transparent 70%),
        radial-gradient(circle 300px at 50% 90%, rgba(139,115,85,0.04) 0%, transparent 70%);
}
/* Subtle organic spore dots */
.hero-bg-pattern::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle 2px at 15% 25%, rgba(45,106,79,0.12) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 85% 15%, rgba(45,106,79,0.08) 0%, transparent 100%),
        radial-gradient(circle 2.5px at 70% 70%, rgba(139,115,85,0.1) 0%, transparent 100%),
        radial-gradient(circle 1px at 30% 80%, rgba(45,106,79,0.1) 0%, transparent 100%),
        radial-gradient(circle 2px at 55% 40%, rgba(116,166,141,0.08) 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-logo {
    width: 72px; height: 72px; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(27,67,50,0.12);
    margin: 0 auto 24px; display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-logo:hover { transform: scale(1.06) rotate(-2deg); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(45,106,79,0.06); border: 1px solid rgba(45,106,79,0.12);
    padding: 8px 20px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--forest);
    margin-bottom: 32px;
}
.spore-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--forest);
    animation: sporePulse 2s ease-in-out infinite;
}
@keyframes sporePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.8); }
}
.hero h1 {
    font-size: clamp(42px, 6vw, 72px); line-height: 1.05;
    color: var(--forest-deep); margin-bottom: 24px;
    letter-spacing: -2px;
}
.hero h1 em {
    font-style: normal;
    color: var(--forest-light);
}
.hero-subtitle {
    font-size: 18px; color: var(--warm-gray); max-width: 540px;
    margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--forest); color: var(--cream); padding: 14px 30px;
    border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--forest); padding: 14px 30px;
    border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
    text-decoration: none; border: 1.5px solid rgba(45,106,79,0.2);
    transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--forest); background: rgba(45,106,79,0.03); }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--forest-deep); }
.stat span { font-size: 12px; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stat-divider { width: 1px; height: 32px; background: var(--cream-dark); }

/* ═══ ABOUT / OMNISUITE ═══ */
.about-section { padding: 120px 0; background: #fff; }
.about-hero { text-align: center; margin-bottom: 48px; }
.about-logo-centered {
    width: 220px; height: 220px; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
}
.about-logo-centered:hover { transform: scale(1.04) rotate(-1deg); }
.about-content { text-align: center; max-width: 720px; margin: 0 auto; }
.about-lead { font-size: 17px; color: var(--charcoal-soft); margin-bottom: 16px; line-height: 1.7; }
.about-body { font-size: 15px; color: var(--warm-gray); line-height: 1.7; margin-bottom: 32px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--forest); margin-bottom: 12px;
    padding: 4px 14px; background: rgba(45,106,79,0.06); border-radius: 100px;
}
.section-tag.center { display: block; text-align: center; margin: 0 auto 12px; width: fit-content; }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pillar {
    padding: 20px; background: var(--cream); border-radius: var(--radius-md);
    border: 1px solid var(--cream-dark); transition: all 0.3s;
}
.pillar:hover { border-color: rgba(45,106,79,0.2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pillar-icon { font-size: 24px; margin-bottom: 8px; }
.pillar h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--forest-deep); margin-bottom: 4px; }
.pillar p { font-size: 13px; color: var(--warm-gray); line-height: 1.5; margin: 0; }

/* ═══ CATEGORIES ═══ */
.categories-section { padding: 100px 0; background: var(--cream); }
.section-title { font-size: 38px; color: var(--forest-deep); text-align: center; margin-bottom: 16px; letter-spacing: -1px; }
.section-subtitle { text-align: center; color: var(--warm-gray); font-size: 16px; margin-bottom: 48px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.cat-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--cream-dark); border-radius: var(--radius-md);
    padding: 28px; transition: all 0.3s; position: relative; overflow: hidden;
    cursor: pointer;
}
.cat-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--sage)); opacity: 0;
    transition: opacity 0.3s;
}
.cat-card:hover { border-color: rgba(45,106,79,0.2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card:hover::after { opacity: 1; }
.cat-icon { font-size: 28px; margin-bottom: 12px; }
.cat-count { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--forest); }
.cat-label { font-weight: 700; font-size: 15px; color: var(--charcoal); margin: 4px 0 8px; }
.cat-card p { font-size: 13px; color: var(--warm-gray); line-height: 1.5; }
.cat-arrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--forest); margin-top: 12px; transition: transform 0.2s; }
.cat-card:hover .cat-arrow { transform: translateX(4px); }

/* ═══ TOOLS / EXTENSIONS GRID ═══ */
.tools-section { padding: 100px 0; background: #fff; }
.search-bar {
    display: flex; align-items: center; gap: 12px;
    max-width: 460px; margin: 0 auto 48px;
    background: var(--cream); border: 1.5px solid var(--cream-dark);
    border-radius: 100px; padding: 12px 24px;
    transition: all 0.3s;
}
.search-bar:focus-within { border-color: var(--forest); box-shadow: var(--shadow-glow); }
.search-bar svg { color: var(--warm-gray); flex-shrink: 0; }
.search-bar input {
    flex: 1; border: none; background: none; outline: none;
    font-size: 15px; font-family: 'Inter', sans-serif; color: var(--charcoal);
}
.search-bar input::placeholder { color: var(--warm-gray); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ext-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--cream); border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md); padding: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}
.ext-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--sage), var(--earth-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ext-card:hover { border-color: rgba(45,106,79,0.25); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ext-card:hover::before { transform: scaleX(1); }
.ext-card h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.ext-card p { font-size: 13px; color: var(--warm-gray); line-height: 1.55; }
.ext-icon { font-size: 20px; margin-bottom: 12px; display: block; }

/* ═══ TRUST ═══ */
.trust-section { padding: 100px 0; background: var(--forest-deep); color: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
    text-align: center; padding: 40px 24px;
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03); transition: all 0.3s;
}
.trust-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-3px); }
.trust-number { font-family: 'DM Serif Display', serif; font-size: 48px; color: #fff; margin-bottom: 4px; }
.trust-label { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--sage); margin-bottom: 12px; }
.trust-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ═══ CTA ═══ */
.cta-section { padding: 100px 0; }
.cta-card {
    text-align: center; padding: 80px 40px;
    background: linear-gradient(160deg, var(--cream-warm) 0%, #fff 40%, var(--cream) 100%);
    border: 1px solid var(--cream-dark); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.cta-logo { width: 80px; height: 80px; border-radius: 16px; margin-bottom: 28px; }
.cta-card h2 { font-size: 38px; color: var(--forest-deep); margin-bottom: 16px; letter-spacing: -1px; }
.cta-card p { font-size: 16px; color: var(--warm-gray); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ═══ FOOTER ═══ */
footer { padding: 64px 0 32px; border-top: 1px solid var(--cream-dark); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--warm-gray); line-height: 1.6; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--charcoal); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--warm-gray); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--forest); }
.footer-bottom { border-top: 1px solid var(--cream-dark); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--warm-gray); }

/* ═══ CHAT WIDGET ═══ */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.chat-btn {
    width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--forest-deep); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.chat-panel {
    position: absolute; bottom: 72px; right: 0;
    width: 320px; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--cream-dark);
    display: none; flex-direction: column; overflow: hidden;
    animation: chatPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-panel.active { display: flex; }
@keyframes chatPop { from { opacity: 0; transform: translateY(8px) scale(0.95); } to { opacity: 1; transform: none; } }
.chat-header {
    display: flex; align-items: center; gap: 10px;
    background: var(--forest-deep); color: #fff; padding: 16px 20px;
    font-weight: 600; font-size: 14px;
}
.chat-logo { width: 28px; height: 28px; border-radius: 6px; }
.chat-body { padding: 20px; font-size: 14px; color: var(--charcoal-soft); line-height: 1.6; }
.chat-actions { padding: 0 20px 20px; }
.chat-actions a {
    display: block; text-align: center; background: var(--forest); color: #fff;
    text-decoration: none; padding: 12px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px; transition: all 0.2s;
}
.chat-actions a:hover { background: var(--forest-deep); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .about-pillars { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(247,244,238,0.98); backdrop-filter: blur(20px); padding: 24px; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--cream-dark); }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .cat-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 48px 24px; }
}
