:root {
    /* Palette */
    --primary: #5D4037;
    /* Warm Chocolate Brown */
    --primary-foreground: #FDF1F1;
    --secondary: #8FBC8F;
    /* Soft Sage Green */
    --secondary-foreground: #1A331A;
    --accent: #D4A5A5;
    /* Dusty Pink */
    --accent-foreground: #4A1A1A;
    --background: #FFFDD0;
    /* Cream */
    --foreground: #4A3B32;
    --card: #FFFEF0;
    --muted: #F0EAD6;
    --muted-foreground: #8C7B70;
    --border: #E6DCC8;

    --radius: 1rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 253, 208, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(230, 220, 200, 0.5);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--accent);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: #4A332C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(93, 64, 55, 0.2);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(143, 188, 143, 0.2);
}

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    transform: scale(1.05);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#D4A5A5 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.1;
    z-index: -1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
    }
}

.hero-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(143, 188, 143, 0.3);
    color: var(--secondary-foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.highlight {
    font-family: 'Dancing Script', cursive;
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero p {
        margin-left: 0;
    }
}

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

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    transform: rotateY(-6deg) rotateX(6deg);
    transition: transform 0.5s;
    position: relative;
    z-index: 10;
}

.hero-image:hover .image-wrapper {
    transform: rotateY(0) rotateX(0);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
}

.new-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
    transform: rotate(12deg);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: rotate(12deg) scale(1);
    }

    50% {
        transform: rotate(12deg) scale(1.05);
    }
}

.blur-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background-color: rgba(143, 188, 143, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

/* Showcase */
.showcase {
    padding: 5rem 0;
    background-color: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: rgba(143, 188, 143, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--muted-foreground);
}

/* Trends */
.trends {
    padding: 5rem 0;
    background-color: rgba(143, 188, 143, 0.1);
}

.trends-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .trends-header {
        flex-direction: row;
        justify-content: space-between;
    }
}

.trends-text {
    flex: 1;
}

.trends-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.chart-controls {
    display: flex;
    background: white;
    padding: 0.25rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.btn-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 0.25rem;
    font-weight: 600;
    color: var(--muted-foreground);
    transition: all 0.2s;
}

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

.chart-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

.chart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--primary);
}

/* CTA */
.cta {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
    text-align: center;
}

.cta h2 {
    color: white;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: rgba(143, 188, 143, 0.3);
    padding: 4rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--foreground);
    text-decoration: none;
    /* opacity: 0.6; */
    transition: opacity 0.2s;
}

.social-links a:hover {
    /* opacity: 1; */
    color: var(--primary);
}

.tm-copyright-p {
    margin-bottom: 0;
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: #ef4444;
    fill: #ef4444;
}