/* ========================================
   Components - Buttons, Cards, UI Elements
   ======================================== */

/* Background Sections */
.bg-nature-hero {
    background: linear-gradient(180deg, rgba(26, 46, 26, 0.88) 0%, rgba(45, 70, 45, 0.75) 50%, rgba(26, 46, 26, 0.82) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="g1" cx="20%" cy="30%"><stop offset="0%" stop-color="%235a7a5a"/><stop offset="100%" stop-color="%231a2e1a"/></radialGradient><radialGradient id="g2" cx="80%" cy="70%"><stop offset="0%" stop-color="%234a6b4a"/><stop offset="100%" stop-color="%232a3e2a"/></radialGradient></defs><rect fill="url(%23g1)" width="1200" height="800"/><rect fill="url(%23g2)" width="1200" height="800" opacity="0.7"/></svg>');
    background-size: cover;
    background-position: center;
}

.bg-nature-feature {
    background: linear-gradient(180deg, var(--color-cream) 0%, rgba(197, 214, 197, 0.15) 50%, var(--color-cream) 100%);
}

.bg-nature-dark {
    background: linear-gradient(180deg, rgba(26, 46, 26, 0.03) 0%, rgba(26, 46, 26, 0.95) 50%, var(--color-forest-dark) 100%);
}

.bg-nature-cta {
    background: linear-gradient(180deg, var(--color-cream) 0%, rgba(139, 168, 139, 0.3) 40%, rgba(26, 46, 26, 0.92) 100%);
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.glow-green { background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%); }
.glow-sage { background: radial-gradient(circle, var(--color-sage-light) 0%, transparent 70%); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--color-white); color: var(--color-forest); }
.btn-primary:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--color-white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--color-forest); color: var(--color-white); }
.btn-dark:hover { background: var(--color-moss); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.platform-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}
.platform-btn-dark {
    background: var(--color-white);
    color: var(--color-forest);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.platform-btn-dark:hover {
    background: var(--color-cream);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.float-card {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Navigation */
.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link:hover { color: var(--color-white); }

.lang-switch {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}
.lang-switch button {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}
.lang-switch button:hover { color: var(--color-white); }
.lang-switch button.active {
    background: var(--color-white);
    color: var(--color-forest);
}

/* Feature Index */
.feature-index {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--color-moss);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* Check List */
.check-list { list-style: none; padding: 0; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-sage-light);
}
.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--color-moss);
    border-bottom: 2px solid var(--color-moss);
    transform: rotate(-45deg);
}

/* Device Frames & UI Windows */
.device-frame {
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 8px solid #1a1a1a;
}
.device-phone {
    width: 200px;
    border-radius: 32px;
    border-width: 10px;
}

.ui-window {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.ui-header {
    background: var(--color-cream);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ui-dot { width: 10px; height: 10px; border-radius: 50%; }

/* Pricing Cards */
.pricing-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.pricing-card.featured {
    background: var(--color-forest);
    color: var(--color-white);
}
.pricing-card.featured .price,
.pricing-card.featured .plan-name { color: var(--color-white); }
.pricing-card.featured .plan-desc,
.pricing-card.featured .feature-list li { color: rgba(255,255,255,0.7); }
.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-glow);
    color: var(--color-forest);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--color-moss); }
.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.3s ease;
}
.faq-item.open .faq-icon { background: var(--color-moss); }
.faq-item.open .faq-icon svg { stroke: white; transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Trust Items */
.trust-item {
    padding: 24px;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.trust-item:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* Edition Cards */
.edition-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.edition-card:hover { border-color: var(--color-sage); box-shadow: 0 12px 40px rgba(61,90,61,0.1); }
.edition-card.featured {
    background: var(--color-forest);
    color: var(--color-white);
    border-color: transparent;
}
.edition-card.featured h3, .edition-card.featured .edition-label { color: var(--color-white); }
.edition-card.featured li { color: rgba(255,255,255,0.75); }

/* Gallery Panels */
.gallery-panel {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-panel:hover { background: rgba(139,168,139,0.05); }
.gallery-panel.active { background: rgba(139,168,139,0.1); border-left: 3px solid var(--color-moss); padding-left: 21px; }
.gallery-panel summary {
    list-style: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: 15px;
}
.gallery-panel summary::-webkit-details-marker { display: none; }
.gallery-num {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--color-moss);
    min-width: 24px;
}

/* Principle Items */
.principle-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.principle-item strong {
    display: block;
    color: var(--color-white);
    font-size: 15px;
    margin-bottom: 4px;
}
.principle-item span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Footer */
.footer-link {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-heading {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-brand {
    font-family: var(--font-serif);
    font-size: clamp(64px, 15vw, 200px);
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    letter-spacing: -0.03em;
    user-select: none;
}

/* Social Icons */
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}
.social-icon:hover { border-color: rgba(255,255,255,0.4); color: var(--color-white); background: rgba(255,255,255,0.05); }

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Proof Strip */
.proof-strip {
    background: var(--color-cream-dark);
    padding: 16px 0;
    overflow: hidden;
}
.proof-track {
    display: flex;
    gap: 48px;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}
.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}
.proof-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-sage);
}

/* Hero Stats */
.hero-stat { text-align: center; padding: 16px; }
.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--color-white);
    font-weight: 400;
}
.hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    pointer-events: none;
    background: rgba(255,255,255,0.1);
}
.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-sage-light), var(--color-glow));
    width: 0%;
    transition: width 0.1s ease;
}
