/* Herbo.app - Main Stylesheet */

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

:root {
    /* Modern Natural Palette */
    --sage: #6B8E6F;
    --sage-light: #8FAA92;
    --sage-dark: #4A6B4D;
    --cream: #FDFCF7;
    --sand: #F5F1E8;
    --stone: #E8E4DA;
    --charcoal: #2C2C2C;
    --charcoal-light: #5A5A5A;
    --white: #FFFFFF;
    --accent: #B8956A;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
    background: rgba(253, 252, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 142, 111, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-mark {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.9;
}

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

.nav a {
    text-decoration: none;
    color: var(--charcoal-light);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--sage);
}

.nav-cta {
    color: var(--sage) !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 142, 111, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
}

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

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(107, 142, 111, 0.25);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border: 1px solid var(--stone);
}

.btn-secondary:hover {
    border-color: var(--sage);
    color: var(--sage);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-card-1 {
    top: 10%;
    left: 5%;
    width: 240px;
    z-index: 3;
}

.visual-card-2 {
    top: 40%;
    right: 10%;
    width: 200px;
    z-index: 2;
}

.visual-card-3 {
    bottom: 15%;
    left: 20%;
    width: 220px;
    z-index: 1;
}

.visual-card-icon {
    width: 48px;
    height: 48px;
    background: var(--sand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1rem;
}

.visual-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.visual-card p {
    font-size: 0.875rem;
    color: var(--charcoal-light);
    line-height: 1.5;
}

.visual-plant {
    position: absolute;
    font-size: 120px;
    opacity: 0.15;
    z-index: 0;
}

.plant-1 {
    top: 5%;
    right: 15%;
    transform: rotate(-15deg);
}

.plant-2 {
    bottom: 10%;
    right: 5%;
    transform: rotate(25deg);
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2.5rem;
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(107, 142, 111, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--sage-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 16px;
    font-size: 32px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--stone);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--charcoal-light);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Tools Section */
.tools {
    padding: 8rem 2rem;
    background: var(--cream);
    position: relative;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--stone) 50%, transparent 100%);
}

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

.tool-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--sage);
    border-radius: 4px 0 0 4px;
    transition: height 0.3s ease;
}

.tool-card:hover::before {
    height: 100%;
}

.tool-card:hover {
    border-color: var(--sage-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

.tool-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 1rem;
}

.tool-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--charcoal-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 8rem 2rem;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2.5rem;
    background: var(--cream);
    border: 1px solid var(--stone);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card.featured {
    background: var(--sage);
    border-color: var(--sage);
    position: relative;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage-dark));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.pricing-card.featured .price-amount {
    color: var(--white);
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-light);
}

.pricing-card.featured .price-currency {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--charcoal-light);
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
    content: '✓';
    color: var(--sage);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    color: var(--charcoal);
    border: 1px solid var(--stone);
}

.btn-outline:hover {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

.pricing-card.featured .btn-outline {
    background: var(--white);
    color: var(--sage);
    border-color: var(--white);
}

.pricing-card.featured .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.footer p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.visual-card {
    animation: float 3s ease-in-out infinite;
}

.visual-card-1 {
    animation-delay: 0s;
}

.visual-card-2 {
    animation-delay: 0.5s;
}

.visual-card-3 {
    animation-delay: 1s;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features,
    .tools,
    .pricing {
        padding: 5rem 1.5rem;
    }

    .features-grid,
    .tools-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 1.5rem;
    }

    .hero-visual {
        display: none;
    }
}
