/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #313c31;
    cursor: none;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-cake {
    font-size: 24px;
    transition: transform 0.1s ease;
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.clicked .cursor-cake {
    transform: scale(0.8);
}

.custom-cursor.link-hovered .cursor-cake {
    transform: scale(1.2) rotate(10deg);
}

/* Loading Screen */
.loader {
    position: fixed;
    inset: 0;
    background: #f4f7f4;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 1rem;
}

.loader-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    animation: bounce 1s infinite;
}

.progress-bar {
    position: relative;
    width: 192px;
    height: 8px;
    background: #d0dbd0;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #a46a4a;
    animation: progress 1.8s ease-in-out forwards;
}

.loader-text {
    color: #556c55;
    font-weight: 500;
}

/* Confetti */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    border-radius: 2px;
    opacity: 0.8;
}

/* Parallax Sprinkles */
.parallax-sprinkles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sprinkle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    transition: transform 0.1s ease-out;
}

/* Floating Ingredients */
.floating-ingredients {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-ingredient {
    position: absolute;
    opacity: 0.5;
    animation: floatIngredient 15s infinite ease-in-out;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    border-bottom: 1px solid #e6ebe6;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #a46a4a;
}

.logo-container {
    position: relative;
    height: 32px;
    width: 32px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    font-weight: 700;
    color: #556c55;
    transition: color 0.3s ease;
}

.nav-desktop {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: #313c31;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #a46a4a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a46a4a;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-btn {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #556c55;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    background: white;
    border-bottom: 1px solid #e6ebe6;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-nav-link {
    padding: 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: #313c31;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #a46a4a;
}

.mobile-order-btn {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #a46a4a;
    color: white;
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background: #88563e;
}

.btn-outline {
    background: transparent;
    color: #556c55;
    border: 1px solid #556c55;
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    background: #f4f7f4;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

/* Main Content */
.main {
    flex: 1;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    width: 100%;
    padding: 3rem 0 6rem;
    background: linear-gradient(to bottom, #f4f7f4, white);
    overflow: hidden;
    position: relative;
}

.hero-sprinkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-content {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero-text {
    space-y: 1rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #556c55;
    margin-bottom: 1rem;
}

.wave-emoji {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

.highlighted-text {
    position: relative;
    display: inline-block;
}

.text-content {
    position: relative;
    z-index: 10;
}

.highlight-bg {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: #d0dbd0;
    z-index: -10;
    transform: rotate(-1deg);
}

.hero-description {
    max-width: 600px;
    color: #556c55;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-image {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}

/* Interactive Cake */
.interactive-cake {
    position: relative;
    perspective: 1000px;
    cursor: pointer;
}

.cake-decorations {
    position: relative;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    top: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    background: #e6ebe6;
    animation-delay: 0.5s;
}

.decoration-2 {
    bottom: -20px;
    right: -20px;
    width: 64px;
    height: 64px;
    background: #d0dbd0;
    animation-delay: 0.7s;
}

.cake-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease-out;
    animation: float 6s ease-in-out infinite;
}

.cake-tooltip {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(164, 106, 74, 0.8);
    border-radius: 12px;
    color: white;
    text-align: center;
    padding: 1rem;
}

.interactive-cake:hover .cake-tooltip {
    opacity: 1;
}

.tooltip-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tooltip-text {
    font-size: 0.875rem;
}

/* Features Section */
.features {
    width: 100%;
    padding: 3rem 0 6rem;
    position: relative;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    border-radius: 9999px;
    background: #e6ebe6;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: #556c55;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #556c55;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 900px;
    color: #556c55;
    font-size: 1rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-icon {
    margin: 0 auto 1rem;
    display: flex;
    height: 64px;
    width: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6ebe6;
    animation: float 6s ease-in-out infinite;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon.spinning {
    animation: float 6s ease-in-out infinite, spin 10s linear infinite;
}

.feature-icon .icon {
    height: 32px;
    width: 32px;
    color: #a46a4a;
}

.feature-icon:hover {
    background: #d0dbd0;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #556c55;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #556c55;
}

/* Popular Cakes Section */
.popular-cakes {
    width: 100%;
    padding: 3rem 0 6rem;
    background: #f4f7f4;
    position: relative;
    overflow: hidden;
}

.popular-cakes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, white, transparent);
}

.popular-cakes::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, white, transparent);
}

.cakes-grid {
    display: grid;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cake-card {
    overflow: hidden;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cake-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cake-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.cake-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cake-card:hover .cake-image img {
    transform: scale(1.1);
}

.cake-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(164, 106, 74, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 1rem;
}

.cake-card:hover .cake-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    transform: translateY(40px);
    transition: transform 0.3s ease;
}

.cake-card:hover .overlay-text {
    transform: translateY(0);
}

.cake-info {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cake-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #556c55;
    margin-bottom: 0.25rem;
}

.cake-price {
    font-size: 0.875rem;
    color: #556c55;
}

.section-footer {
    display: flex;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    width: 100%;
    padding: 3rem 0 6rem;
    position: relative;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.testimonial-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: #e6ebe6;
    border-radius: 50%;
    transform: translate(40px, -40px);
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-decoration {
    transform: translate(20px, -20px);
}

.testimonial-content {
    position: relative;
    z-index: 10;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #a46a4a;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .star {
    transform: scale(1.1);
}

.testimonial-text {
    color: #556c55;
    position: relative;
    margin-bottom: 1rem;
}

.quote-left,
.quote-right {
    position: absolute;
    font-size: 2.5rem;
    color: #d0dbd0;
    opacity: 0.5;
}

.quote-left {
    left: -8px;
    top: -8px;
}

.quote-right {
    right: -8px;
    bottom: -8px;
}

.testimonial-author {
    font-weight: 600;
    color: #556c55;
}

/* Call to Action Section */
.cta {
    width: 100%;
    padding: 3rem 0 6rem;
    background: #e6ebe6;
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #556c55;
    margin-bottom: 1rem;
}

.cta-description {
    max-width: 900px;
    color: #556c55;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* About Page Styles */
.about-hero {
    width: 100%;
    padding: 3rem 0 6rem;
    background: linear-gradient(to bottom, #f4f7f4, white);
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #556c55;
    margin-bottom: 1rem;
}

.about-hero-description {
    max-width: 700px;
    color: #556c55;
    font-size: 1rem;
}

.about-annie {
    width: 100%;
    padding: 3rem 0 6rem;
}

.about-annie-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.annie-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #d0dbd0;
    background: #f4f7f4;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    color: #556c55;
    margin-bottom: 1rem;
}

.badge-icon {
    margin-right: 0.25rem;
    height: 16px;
    width: 16px;
    color: #a46a4a;
}

.about-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #556c55;
    margin-bottom: 1rem;
}

.about-description {
    color: #556c55;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-feature .feature-icon {
    height: 20px;
    width: 20px;
    color: #a46a4a;
}

.about-feature span {
    color: #556c55;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.annie-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.love-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.love-icon {
    height: 20px;
    width: 20px;
    color: #a46a4a;
}

.love-badge span {
    color: #556c55;
    font-weight: 500;
}

/* Journey Section */
.journey {
    width: 100%;
    padding: 3rem 0 6rem;
    background: #f4f7f4;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: #d0dbd0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}

.timeline-item-right {
    margin-left: auto;
    margin-right: 0;
    padding-left: 3rem;
}

.timeline-item:not(.timeline-item-right) {
    padding-right: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6ebe6;
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-item-right .timeline-marker {
    left: -56px;
}

.timeline-item:not(.timeline-item-right) .timeline-marker {
    right: -56px;
}

.timeline-icon {
    height: 20px;
    width: 20px;
    color: #a46a4a;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-year {
    display: inline-block;
    background: #e6ebe6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    color: #556c55;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #556c55;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #556c55;
}

/* Values Section */
.values {
    width: 100%;
    padding: 3rem 0 6rem;
}

.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.value-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-icon {
    background: #e6ebe6;
    padding: 0.75rem;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon .icon {
    height: 40px;
    width: 40px;
    color: #a46a4a;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #556c55;
    margin-bottom: 0.5rem;
}

.value-description {
    color: #556c55;
    text-align: center;
}

/* Footer */
.footer {
    width: 100%;
    border-top: 1px solid #e6ebe6;
    background: #e6ebe6;
}

.footer-content {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #556c55;
}

.footer-description {
    font-size: 0.875rem;
    color: #556c55;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #556c55;
}

.footer-links {
    list-style: none;
}

.footer-link {
    font-size: 0.875rem;
    color: #556c55;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #a46a4a;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a46a4a;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-contact {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #556c55;
}

.contact-icon {
    height: 16px;
    width: 16px;
    color: #a46a4a;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    animation: bounce 0.5s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #556c55;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #a46a4a;
    transform: scale(1.25);
}

.social-link svg {
    height: 24px;
    width: 24px;
}

.newsletter-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #556c55;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #d0dbd0;
    background: white;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #a46a4a;
    box-shadow: 0 0 0 2px rgba(164, 106, 74, 0.1);
}

.newsletter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #d0dbd0;
    padding-top: 1.5rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: #556c55;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popUp {
    0% { opacity: 0; transform: scale(0.8); }
    70% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes fall {
    0% { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

@keyframes floatIngredient {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll.slideUp.animated {
    transform: translateY(0);
}

.animate-on-scroll.slideUp {
    transform: translateY(20px);
}

.animate-on-scroll.popUp.animated {
    transform: scale(1);
}

.animate-on-scroll.popUp {
    transform: scale(0.8);
}

.animate-on-scroll.fadeIn.animated {
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .nav-desktop,
    .order-btn {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content,
    .about-annie-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title,
    .section-title,
    .cta-title,
    .about-hero-title,
    .about-title {
        font-size: 3rem;
    }
    
    .hero-description,
    .section-description,
    .cta-description,
    .about-hero-description,
    .about-description {
        font-size: 1.25rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline-item {
        width: 45%;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: auto;
        margin-right: 0;
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-marker {
        left: -56px;
        right: auto;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title,
    .section-title,
    .cta-title,
    .about-hero-title,
    .about-title {
        font-size: 3.75rem;
    }
}

@media (max-width: 767px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item-right {
        margin-left: 0;
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 0 !important;
        right: auto !important;
    }
}