/* CSS Variables */
:root {
    --mint-bg: #EAF5EC;
    --forest-green: #0D5C35;
    --forest-green-hover: #0A4829;
    --charcoal: #1A1A1A;
    --body-text: #4A4A4A;
    --muted-text: #71717A;
    --white: #FFFFFF;
    --orange: #FFA726;
    --blue: #2196F3;
    --success-green: #22C55E;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    color: var(--body-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    color: var(--charcoal);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--body-text);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--forest-green);
}

.btn-nav {
    background: var(--forest-green) !important;
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(13, 92, 53, 0.2);
}

.btn-nav:hover {
    background: var(--forest-green-hover) !important;
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(13, 92, 53, 0.3);
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    border-top: 1px solid #eee;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--body-text);
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: var(--forest-green);
}

.btn-mobile {
    background: var(--forest-green) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 9999px !important;
    text-align: center;
    font-weight: 500;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .mobile-menu-btn { display: none; }
    .mobile-menu { display: none !important; }
}

/* Hero Section */
.hero {
    background: var(--mint-bg);
    padding: 7rem 1.5rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.7s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge svg {
    flex-shrink: 0;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.hero-title .highlight {
    color: var(--forest-green);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--charcoal);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-store:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-store svg {
    flex-shrink: 0;
}

.store-text {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: linear-gradient(135deg, var(--forest-green), #1A6B44);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: -12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar:first-child {
    margin-left: 0;
}

.proof-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proof-badge {
    background: var(--forest-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.proof-text span:last-child {
    font-size: 0.875rem;
    color: var(--body-text);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-top {
    top: 1rem;
    left: 1rem;
    animation: float 4s ease-in-out infinite;
}

.card-bottom {
    bottom: 2rem;
    right: 1rem;
    animation: float-delayed 5s ease-in-out infinite;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon.orange {
    background: rgba(255, 167, 38, 0.2);
    color: var(--orange);
}

.card-icon.green {
    background: rgba(13, 92, 53, 0.2);
    color: var(--forest-green);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.7rem;
    color: var(--muted-text);
}

.card-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
}

@media (min-width: 640px) {
    .hero-title { font-size: 2.75rem; }
    .cta-buttons { flex-direction: row; }
    .card-top { top: 2rem; left: 2rem; }
    .card-bottom { bottom: 3rem; right: 2rem; }
}

@media (min-width: 1024px) {
    .hero { padding: 0 1.5rem; }
    .hero-container { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
}

/* Value Proposition Section */
.value-prop {
    background: var(--mint-bg);
    padding: 5rem 1.5rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.green {
    background: rgba(13, 92, 53, 0.1);
    color: var(--forest-green);
}

.feature-icon.orange {
    background: rgba(255, 167, 38, 0.1);
    color: var(--orange);
}

.feature-icon.blue {
    background: rgba(33, 150, 243, 0.1);
    color: var(--blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.feature-card p {
    color: var(--body-text);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
    .value-prop { padding: 7rem 1.5rem; }
    .section-title { font-size: 3rem; }
}

/* How It Works Section */
.how-it-works {
    background: var(--charcoal);
    padding: 5rem 1.5rem;
}

.section-header.light h2,
.section-header.light .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.steps-container {
    display: grid;
    gap: 2.5rem;
    position: relative;
}

.step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-icon.green { background: var(--forest-green); }
.step-icon.orange { background: var(--orange); }
.step-icon.blue { background: var(--blue); }

.step-number {
    position: absolute;
    top: 56px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #27272A;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .steps-container::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 25%;
        right: 25%;
        height: 2px;
        background: linear-gradient(90deg, var(--forest-green), var(--orange), var(--blue));
        opacity: 0.3;
    }
}

@media (min-width: 1024px) {
    .how-it-works { padding: 7rem 1.5rem; }
}

/* App Promo Section */
.app-promo {
    background: var(--forest-green);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.app-promo::before,
.app-promo::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.app-promo::before { top: -200px; left: -200px; }
.app-promo::after { bottom: -200px; right: -200px; }

.app-promo .section-container {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.promo-content h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--forest-green);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.btn-promo svg {
    flex-shrink: 0;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: #27272A;
    border-radius: 2.5rem;
    padding: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status {
    background: var(--mint-bg);
    padding: 0.75rem 1.25rem;
}

.phone-status span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--charcoal);
}

.phone-content {
    flex: 1;
    background: var(--mint-bg);
    padding: 0.75rem;
}

.phone-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(13, 92, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green);
    flex-shrink: 0;
}

.phone-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal);
}

.phone-subtitle {
    font-size: 0.7rem;
    color: var(--muted-text);
}

.phone-items {
    background: var(--white);
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.phone-items > p {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
}

.item-icons {
    display: flex;
    gap: 0.5rem;
}

.item-icons span {
    width: 44px;
    height: 44px;
    background: #F9FAFB;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

@media (min-width: 640px) {
    .promo-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
    .app-promo { padding: 7rem 1.5rem; }
    .app-promo .section-container { grid-template-columns: 1fr 1fr; }
    .promo-content h2 { font-size: 3rem; }
    .phone-mockup { justify-content: flex-end; }
}

/* Farmer Section */
.farmer-section {
    background: var(--white);
    padding: 5rem 1.5rem;
}

.farmer-section .section-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.farmer-image-container {
    position: relative;
    order: 2;
}

.farmer-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.farmer-badge {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    background: var(--white);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.farmer-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.farmer-badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
}

.farmer-badge-subtitle {
    font-size: 0.7rem;
    color: var(--muted-text);
}

.farmer-content {
    order: 1;
}

.farmer-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.farmer-content > p {
    font-size: 1.125rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.farmer-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.farmer-feature {
    display: flex;
    gap: 1rem;
}

.farmer-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: rgba(13, 92, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green);
    flex-shrink: 0;
}

.farmer-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--charcoal);
}

.farmer-feature p {
    color: var(--body-text);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .farmer-badge { bottom: 2rem; right: 2rem; }
}

@media (min-width: 1024px) {
    .farmer-section { padding: 7rem 1.5rem; }
    .farmer-section .section-container { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .farmer-image-container { order: 1; }
    .farmer-content { order: 2; }
    .farmer-content h2 { font-size: 3rem; }
}

/* Footer */
.footer {
    background: var(--forest-green);
    padding: 5rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

a.contact-item:hover {
    color: var(--white);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p,
.contact-item span {
    font-size: 0.875rem;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

.social-icon.whatsapp:hover {
    background: #25D366;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-newsletter > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: var(--success-green);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #16A34A;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .newsletter-form { flex-direction: row; }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--mint-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}

.modal-close {
    background: var(--forest-green);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--forest-green-hover);
}

.modal-date {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    color: var(--muted-text);
    background: var(--mint-bg);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.policy-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.policy-section p {
    color: var(--body-text);
    line-height: 1.7;
    white-space: pre-line;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: white;
    animation: none;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@media (max-width: 600px) {
    .wa-text { display: none; }
    .whatsapp-float { padding: 15px; bottom: 20px; right: 20px; }
}

