/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-emerald-50: #ecfdf5;
    --color-emerald-100: #d1fae5;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065f46;
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-800: #292524;
    --color-stone-900: #1c1917;
    --color-orange-100: #ffedd5;
    --color-orange-500: #f97316;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-red-500: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--color-stone-50);
    color: var(--color-stone-900);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-emerald-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-icon {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-stone-900);
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--color-stone-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-emerald-600);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-download {
    background-color: var(--color-stone-900);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-download:hover {
    background-color: var(--color-stone-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--color-stone-900);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background-color: var(--color-stone-50);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-emerald-50) 0%, rgba(236, 253, 245, 0.3) 100%);
    border-radius: 100px 0 0 100px;
    z-index: 0;
    transform: translateX(80px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-emerald-100);
    color: var(--color-emerald-800);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-stone-900);
}

.text-emerald {
    color: var(--color-emerald-600);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-stone-600);
    max-width: 32rem;
    line-height: 1.7;
}

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

.btn-primary {
    background-color: var(--color-emerald-600);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--color-stone-900);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--color-stone-200);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-stone-50);
    transform: translateY(-2px);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-stone-500);
    font-weight: 500;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.avatars img:first-child {
    margin-left: 0;
}

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.floating-card-1 {
    top: 2.5rem;
    right: 2.5rem;
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon.orange {
    background-color: var(--color-orange-100);
    color: var(--color-orange-500);
}

.floating-card-icon.emerald {
    background-color: var(--color-emerald-100);
    color: var(--color-emerald-600);
}

.card-value {
    font-weight: 700;
    color: var(--color-stone-900);
}

.card-label {
    font-size: 0.75rem;
    color: var(--color-stone-500);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 5rem;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--color-stone-600);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-stone-100);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card:hover {
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.1);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--color-stone-900);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.step-card:hover .step-number {
    background-color: var(--color-emerald-600);
}

.step-icon {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-emerald-600);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-stone-900);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--color-stone-600);
    line-height: 1.7;
}

/* Showcase Section */
.showcase {
    padding: 6rem 0;
    background-color: var(--color-stone-50);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-emerald-600);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 0.75rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-stone-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.card-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: rgba(28, 25, 23, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 10;
}

.card-content {
    padding: 1.25rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--color-stone-900);
    font-size: 1.125rem;
}

.discount-badge {
    background-color: var(--color-emerald-100);
    color: var(--color-emerald-800);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-stone-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-emerald-600);
}

.original-price {
    font-size: 0.875rem;
    color: var(--color-stone-400);
    text-decoration: line-through;
}

.cart-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-stone-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background-color: var(--color-emerald-600);
    color: white;
    transform: scale(1.1);
}

/* Impact Section */
.impact {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-stone-900);
    color: white;
    overflow: hidden;
}

.impact-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
}

.shape-1 {
    top: 2.5rem;
    right: 2.5rem;
    width: 256px;
    height: 256px;
    background-color: var(--color-emerald-600);
}

.shape-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 384px;
    height: 384px;
    background-color: #3b82f6;
}

.impact-header {
    max-width: 48rem;
}

.impact-header .section-title {
    color: white;
}

.impact-header .section-description {
    color: var(--color-stone-300);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-emerald-600);
    margin-bottom: 0.5rem;
}

.stat-value::after {
    content: 'M+';
    font-size: 2rem;
}

.stat-label {
    color: var(--color-stone-300);
    font-weight: 500;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-emerald-600);
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect width="40" height="40" fill="%23059669"/><rect x="0" y="0" width="20" height="20" fill="%23047857"/><rect x="20" y="20" width="20" height="20" fill="%23047857"/></svg>');
    opacity: 0.1;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.5rem;
    color: var(--color-emerald-50);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

.store-btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.store-btn-dark {
    background-color: var(--color-stone-900);
    color: white;
}

.store-btn-dark:hover {
    background-color: var(--color-stone-800);
    transform: translateY(-2px);
}

.store-btn-light {
    background-color: white;
    color: var(--color-stone-900);
}

.store-btn-light:hover {
    background-color: var(--color-stone-100);
    transform: translateY(-2px);
}

.store-btn-content {
    text-align: left;
}

.store-btn-text-small {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.store-btn-text-large {
    font-size: 1.25rem;
    line-height: 1;
}

/* Footer */
.footer {
    background-color: var(--color-stone-50);
    padding: 4rem 0;
    border-top: 1px solid var(--color-stone-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-stone-900);
}

.footer-description {
    color: var(--color-stone-500);
    line-height: 1.7;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--color-stone-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone-600);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--color-emerald-600);
    border-color: var(--color-emerald-600);
    transform: translateY(-2px);
}

.footer-links h4 {
    color: var(--color-stone-900);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.footer-links ul li a {
    color: var(--color-stone-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-emerald-600);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-stone-200);
    font-size: 0.875rem;
    color: var(--color-stone-500);
}

.footer-love {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-love svg {
    color: var(--color-red-500);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .view-all-link {
        display: none;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .floating-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .floating-card-1 {
        top: 1rem;
        right: 1rem;
    }
    
    .floating-card-2 {
        bottom: 1rem;
        left: 1rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}
