/* ==========================================================================
   NATURE TOOLS - Premium Landing Page CSS (Dark Forest Glassmorphism)
   ========================================================================== */

/* Variables & Tokens */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', var(--font-sans);

    /* Dark Forest Palette */
    --bg-dark: #070c08;
    --bg-section: #0c120e;
    --bg-card: rgba(22, 34, 25, 0.45);
    --bg-card-hover: rgba(22, 34, 25, 0.7);
    --border-color: rgba(129, 199, 132, 0.1);
    --border-color-hover: rgba(129, 199, 132, 0.3);

    --text-primary: #ffffff;
    --text-secondary: #a3b8a6;
    --text-muted: #6b826e;

    /* Green Accents */
    --primary: #81c784;
    --primary-hover: #a2e0a5;
    --accent-dark: #2e7d32;
    --sos-accent: #e53935;
    --sos-accent-bg: rgba(229, 57, 53, 0.15);

    /* Shadows & Glows */
    --shadow-green: 0 10px 30px rgba(129, 199, 132, 0.15);
    --shadow-green-strong: 0 15px 40px rgba(129, 199, 132, 0.3);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border: 2px solid var(--bg-dark);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* Structural Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0 6rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Orbs (Background Glows) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-orb.top-right {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
}

.glow-orb.bottom-left {
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-dark) 0%, rgba(0,0,0,0) 70%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary) 100%);
    color: var(--bg-dark);
    padding: 0.9rem 2rem;
    box-shadow: var(--shadow-green);
    gap: 0.75rem;
    text-align: left;
}

.btn-primary small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.btn-primary span {
    font-size: 1.15rem;
    font-weight: 800;
}

.btn-primary i {
    font-size: 2.2rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-strong);
    color: var(--bg-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 12, 8, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.25rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(129, 199, 132, 0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-sos {
    color: var(--sos-accent);
}

.nav-link-sos::after {
    background: var(--sos-accent);
}

.btn-download-nav {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    gap: 0.5rem;
    border-radius: 8px;
}

.btn-download-nav:hover {
    background: var(--primary-hover);
    color: var(--bg-dark);
}

/* Nav Actions & Language Selector */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary);
}

.lang-btn.active {
    background: rgba(129, 199, 132, 0.1);
}

.lang-divider {
    color: var(--text-muted);
    opacity: 0.5;
}


/* Hero Section */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(129, 199, 132, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.visual-bg-circle {
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.1) 0%, rgba(0, 0, 0, 0) 75%);
    animation: rotateSlow 30s linear infinite;
    z-index: 1;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mockup-img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
    animation: floatEffect 6s ease-in-out infinite;
}

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

/* Tools/Features Section */
.tools-section {
    background-color: var(--bg-section);
}

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

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.tool-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.tool-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(129, 199, 132, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.tool-card:hover .tool-icon-wrapper {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(129, 199, 132, 0.3);
}

.tool-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tool-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* SOS Section */
.sos-section {
    background-color: var(--bg-dark);
}

.sos-container {
    background: linear-gradient(145deg, rgba(229, 57, 53, 0.05) 0%, rgba(7, 12, 8, 0.6) 100%);
    border: 1px solid rgba(229, 57, 53, 0.2);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.sos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sos-accent-bg);
    border: 1px solid var(--sos-accent);
    color: var(--sos-accent);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.sos-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.sos-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.sos-text h2 span {
    color: var(--sos-accent);
}

.sos-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.sos-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sos-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sos-list li i {
    color: var(--sos-accent);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.sos-list li strong {
    color: var(--text-primary);
}

.sos-list li p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.sos-visual-shield {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.shield-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--sos-accent);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 0 50px rgba(229, 57, 53, 0.4);
    z-index: 5;
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(229, 57, 53, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 60px rgba(229, 57, 53, 0.7); transform: scale(1.05); }
}

.shield-circle i {
    font-size: 3rem;
}

.shield-circle span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.pulsing-ring {
    position: absolute;
    border: 2px solid var(--sos-accent);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: ripple 3s linear infinite;
}

.ring-2 {
    width: 250px;
    height: 250px;
    animation: ripple 3s linear infinite 1.5s;
}

@keyframes ripple {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Privacy Section */
.privacy-section {
    background-color: var(--bg-section);
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.privacy-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.privacy-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.privacy-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(rgba(7, 12, 8, 0.4), rgba(7, 12, 8, 0.4)), url('assets/nature_tools_mockup.png') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 12, 8, 0.85);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.btn-cta {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #030604;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 1rem;
}

.footer-links h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }
    
    .sos-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sos-visual-shield {
        height: 250px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0 3rem;
    }
    
    .nav-menu {
        display: none; /* Can toggle in JS */
    }
    
    .btn-download-nav {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sos-container {
        padding: 2.5rem 1.5rem;
    }
    
    .privacy-card {
        padding: 2.5rem 1.5rem;
    }
}
