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

/* ====== Variables ====== */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary: #FFC107;
    --secondary-dark: #FFB300;
    --bg: #E8F5E9;
    --bg-white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== Typography ====== */
h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    margin: 12px auto 0;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.highlight {
    color: var(--secondary);
    font-weight: 800;
}

/* ====== Navbar ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-light);
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo i {
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-links li a {
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}
.nav-links li a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ====== Hero ====== */
.hero-section {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
    overflow: hidden;
}
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}
.hero-content {
    flex: 1;
    max-width: 560px;
}
.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.2;
}
.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-gnome {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(76,175,80,0.25);
    animation: float 3s ease-in-out infinite;
    color: var(--primary);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ====== Buttons ====== */
.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76,175,80,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}
.btn-secondary {
    background: var(--bg-white);
    color: var(--text);
    border: 2px solid var(--primary-light);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ====== Wave Divider ====== */
.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ====== Tools Section ====== */
.tools-section {
    padding: 100px 0;
    background: var(--bg-white);
}
.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.tool-card {
    background: var(--bg-white);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}
.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: all var(--transition);
}
.tool-card:hover .tool-icon {
    background: var(--secondary);
    color: #fff;
}
.tool-card h3 {
    color: var(--text);
    margin-bottom: 12px;
}
.tool-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--secondary);
    color: #333;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.tool-link:hover {
    background: var(--secondary-dark);
    color: #333;
    transform: scale(1.05);
}
.tool-link.coming-soon {
    background: #e0e0e0;
    color: var(--text-lighter);
    cursor: default;
}
.tool-link.coming-soon:hover {
    background: #e0e0e0;
    color: var(--text-lighter);
    transform: none;
}

/* ====== Features Section ====== */
.features-section {
    padding: 100px 0;
    background: var(--bg);
}
.features-grid {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-white);
    padding: 28px 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.feature-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateX(4px);
}
.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}
.feature-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ====== Testimonials Section ====== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-white);
}
.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px 32px;
}
.testimonial-card.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.testimonial-content {
    margin-bottom: 24px;
}
.testimonial-content p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    position: relative;
    padding: 0 20px;
}
.testimonial-content p::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.author-avatar {
    font-size: 2.5rem;
    color: var(--primary-light);
}
.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.author-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}
.prev-btn, .next-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.testimonial-dots {
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    transition: all var(--transition);
}
.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ====== About Section ====== */
.about-section {
    padding: 100px 0;
    background: var(--bg);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content h2 {
    margin-bottom: 24px;
}
.about-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ====== CTA Section ====== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}
.cta-content h2 {
    color: #fff;
    margin-bottom: 12px;
}
.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
}
.cta-content .btn-primary {
    background: var(--secondary);
    color: #333;
    box-shadow: 0 4px 20px rgba(255,193,7,0.4);
}
.cta-content .btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    color: #333;
}

/* ====== Footer ====== */
footer {
    background: #2E7D32;
    color: rgba(255,255,255,0.9);
    padding: 60px 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.footer-logo p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-column h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-column a:hover {
    color: var(--secondary);
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    transition: all var(--transition);
}
.social-icons a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #333;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ====== Responsive ====== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content h2 { font-size: 2.4rem; }
    .cta-buttons { justify-content: center; }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
    .footer-logo h3 { justify-content: center; }
    .social-icons { justify-content: center; }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 2px solid var(--primary-light);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links li a {
        display: block;
        padding: 12px 16px;
        font-size: 1.05rem;
    }

    .hero-section { padding: 120px 0 80px; min-height: auto; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content .subtitle { font-size: 1rem; }
    .floating-gnome { width: 140px; height: 140px; font-size: 2.5rem; }

    h2 { font-size: 1.7rem; }

    .tools-section { padding: 60px 0; }
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tool-card { padding: 28px 20px; }

    .features-section { padding: 60px 0; }
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .testimonials-section { padding: 60px 0; }
    .testimonial-card { padding: 24px 16px; }
    .testimonial-content p { font-size: 1rem; }

    .about-section { padding: 60px 0; }

    .cta-section { padding: 60px 0; }
    .cta-content h2 { font-size: 1.7rem; }

    footer { padding: 40px 0 0; }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-content h2 { font-size: 1.6rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .container { padding: 0 16px; }
}

/* ====== Google AdSense Containers ====== */
.ad-section {
    padding: 20px 0;
    background: var(--bg-white);
}

.ad-container {
    text-align: center;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-lighter);
    margin-bottom: 8px;
    display: block;
}

/* Hide empty ad containers (e.g. when blocked by adblocker) */
.ad-container ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

/* Collapse ad section when ad is empty */
.ad-container:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    padding: 0;
    min-height: 0;
}
