:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --sage-50: #f8faf8;
    --sage-100: #f1f5f1;
    --sage-800: #2d3b2d;
    --sage-900: #1a261a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, var(--sage-50) 0%, var(--emerald-50) 100%);
    color: var(--sage-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--emerald-100);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    text-decoration: none;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--sage-800);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--emerald-600);
}

.cta-button {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, var(--emerald-200) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--sage-900);
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--sage-800);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .primary {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.hero-buttons .primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.hero-buttons .secondary {
    background: white;
    color: var(--emerald-700);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--emerald-200);
    transition: background 0.2s, border-color 0.2s;
}

.hero-buttons .secondary:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-300);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 1rem;
    height: 100%;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    font-size: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--emerald-100);
    margin-bottom: 1rem;
}

.plant-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plant-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--sage-50);
    border-radius: 16px;
    border: 1px solid var(--emerald-100);
}

.plant-emoji {
    font-size: 2rem;
}

.plant-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plant-info strong {
    color: var(--sage-900);
}

.water-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.water-status.good {
    background: var(--emerald-100);
    color: var(--emerald-700);
}

.water-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.water-status.urgent {
    background: #fee2e2;
    color: #dc2626;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--sage-800);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--sage-50);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--sage-800);
}

/* Stats Section */
.stats {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
    color: white;
}

.stats-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.9;
    font-weight: 500;
}

/* Safety Section */
.safety {
    padding: 6rem 2rem;
    background: var(--sage-50);
}

.safety-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 1.5rem;
}

.safety-text p {
    font-size: 1.1rem;
    color: var(--sage-800);
    margin-bottom: 1.5rem;
}

.safety-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.safety-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.safety-badge.safe {
    color: var(--emerald-700);
    border: 2px solid var(--emerald-200);
}

.safety-badge.toxic {
    color: #f59e0b;
    border: 2px solid #fcd34d;
}

.safety-badge.lethal {
    color: #dc2626;
    border: 2px solid #fecaca;
}

.safety-note {
    font-style: italic;
    color: var(--emerald-600);
}

.safety-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pet-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 4rem;
    text-align: center;
}

.pet-icon,
.plant-icon,
.heart-icon {
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download {
    padding: 6rem 2rem;
    background: white;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sage-900);
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    color: var(--sage-800);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    background: var(--sage-900);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button svg {
    width: 30px;
    height: 30px;
}

.store-button .text {
    text-align: left;
}

.store-button .text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-button .text strong {
    font-size: 1.1rem;
    display: block;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    background: var(--sage-900);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        max-width: 260px;
        height: 520px;
    }

    .stats-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .safety-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .stats-content {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pet-icons {
        font-size: 3rem;
    }
}