:root {
    --primary: #4a6741;
    --primary-foreground: hsl(0 0% 100%);
    --secondary: hsl(210 40% 96%);
    --secondary-foreground: hsl(222.2 84% 4.9%);
    --muted: hsl(210 40% 96%);
    --muted-foreground: hsl(215.4 16.3% 46.9%);
    --accent: hsl(210 40% 96%);
    --accent-foreground: hsl(222.2 84% 4.9%);
    --destructive: hsl(0 84.2% 60.2%);
    --border: hsl(214.3 31.8% 91.4%);
    --input: hsl(214.3 31.8% 91.4%);
    --ring: #4a6741;
    --background: #e8f5e8;
    --foreground: hsl(222.2 84% 4.9%);
    --card: hsl(0 0% 100%);
    --card-foreground: hsl(222.2 84% 4.9%);
    --popover: hsl(0 0% 100%);
    --popover-foreground: hsl(222.2 84% 4.9%);
    --success: hsl(142 71% 45%);
    --success-foreground: hsl(0 0% 100%);
    --warning: hsl(38 92% 50%);
    --warning-foreground: hsl(0 0% 100%);
    --accent-warm: #fcb900;
    --radius: 0.5rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}


.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(74, 103, 65, 0.8) 0%, 
        rgba(74, 103, 65, 0.6) 50%, 
        rgba(74, 103, 65, 0.7) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, hsl(210 40% 98% / 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, hsl(210 40% 98% / 0.05) 0%, transparent 50%);
    background-size: 400px 400px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-end;
    /* min-height: ; */
    padding: 5vh 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(45, 90, 74, 0.1) 0%, 
        rgba(30, 61, 51, 0.2) 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* background: hsl(210 40% 98% / 0.1); */
    /* border: 1px solid hsl(210 40% 98% / 0.2); */
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
    /* backdrop-filter: blur(10px); */
}

.badge-icon {
    font-size: 1rem;
}

.badge-logo {
    /* width: 20px; */
    height: 96px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: hsl(210 40% 98% / 0.8);
    margin: 0 0 48px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(210 40% 98% / 0.7);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

.alert {
    background: hsl(204 100% 97%);
    border: 1px solid hsl(204 94% 94%);
    color: hsl(204 100% 26%);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.alert h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.alert p {
    margin: 0 0 12px 0;
    font-size: 0.875rem;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.875rem;
}


.form-section {
    margin-bottom: 24px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 8px;
}

.tier-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.tier-option {
    position: relative;
    cursor: pointer;
}

.tier-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tier-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 12px;
    border: 2px solid hsl(214.3 31.8% 91.4%);
    border-radius: 8px;
    background: hsl(0 0% 100%);
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    height: 120px;
    position: relative;
}

.tier-button:hover {
    border-color: var(--primary);
    background: hsl(142 71% 45% / 0.05);
}

.tier-option input[type="radio"]:checked + .tier-button {
    border-color: var(--primary);
    background: hsl(142 71% 45% / 0.1);
    color: var(--primary);
}

.tier-amount {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tier-description {
    font-size: 0.8125rem;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    margin-top: 4px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 6px;
    font-size: 1rem;
    background: hsl(0 0% 100%);
    color: var(--foreground);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsl(142 71% 45% / 0.2);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

/* Checkbox styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(214.3 31.8% 91.4%);
    border-radius: 4px;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 3px;
    height: 6px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-label {
    flex: 1;
    font-weight: 400;
}

.submit-button {
    width: 100%;
    background: var(--accent-warm);
    color: #333333;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.submit-button:hover {
    background: #e0ad00;
}

.submit-button:active {
    transform: translateY(1px);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* About Section */
.about-section {
    padding: 80px 0 0 0;
    background: var(--background);
    position: relative;
}

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

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 24px 0;
    text-wrap: balance;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0 0 48px 0;
}

.donation-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
    margin-top: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Main CTA Card - Left side */
.card {
    background: hsl(0 0% 100%);
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 
        0 1px 3px 0 rgb(0 0 0 / 0.1),
        0 1px 2px -1px rgb(0 0 0 / 0.1);
    position: relative;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 
        0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);
}


/* Benefits Card - Right side */
.benefits-card-container {
    display: flex;
    align-items: stretch;
}

.benefits-card {
    background: hsl(0 0% 98%);
    border: 1px solid hsl(214.3 31.8% 95%);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 
        0 1px 2px 0 rgb(0 0 0 / 0.05);
    width: 100%;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.benefits-card:hover {
    box-shadow: 
        0 2px 4px 0 rgb(0 0 0 / 0.08);
}


.benefit-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
    text-align: start;
    opacity: 0.6;
}

.benefits-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin: 0 0 16px 0;
    text-align: start;
    line-height: 1.3;
}

.benefits-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.benefits-card li {
    padding: 6px 0;
    color: var(--muted-foreground);
    position: relative;
    padding-left: 20px;
    font-size: 0.9375rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.benefits-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--muted-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-card li::after {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    color: white;
    font-size: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-cta {
    background: linear-gradient(135deg, var(--accent-warm), var(--primary));
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px -3px rgba(252, 185, 0, 0.3);
}

.benefits-cta p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--background);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 16px 0;
}

.gallery-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
}

.gallery-item-large {
    grid-row: 1 / 3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.gallery-overlay p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

.footer {
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--muted);
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
}

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

.footer-info h3 {
    margin: 0 0 16px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.footer-info p {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--ring);
    text-decoration: underline;
}

/* Callback page specific styles */

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    margin-bottom: 24px;
}

.success-icon span {
    font-size: 2rem;
    color: var(--success-foreground);
}

.subscription-status {
    background: hsl(142 25% 35% / 0.05);
    border: 1px solid hsl(142 25% 35% / 0.15);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.subscription-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
}

.subscription-icon span {
    font-size: 1.25rem;
    color: var(--success-foreground);
}

.info-section {
    background: hsl(0 0% 98%);
    border: 1px solid hsl(214.3 31.8% 95%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.info-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-left: 20px;
}

.info-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.step-icon.success {
    background: var(--success);
}

.step-icon.info {
    background: hsl(204 100% 26%);
}

.step-icon.muted {
    background: var(--muted-foreground);
}

.step-icon span {
    font-size: 0.75rem;
    color: white;
}

.step-icon.success span {
    color: var(--success-foreground);
}

.test-mode-message {
    background: hsl(38 92% 50% / 0.1);
    border: 1px solid hsl(38 92% 50% / 0.2);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 16px;
}

.test-mode-message p {
    margin: 0;
    color: hsl(38 92% 50%);
    font-size: 0.875rem;
    font-weight: 500;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: hsl(222.2 84% 4.9% / 0.9);
    text-decoration: none;
    color: var(--primary-foreground);
}

@media (max-width: 768px) {

    .badge-logo {
        height: 54px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image-container {
        order: 2;
        display: none;
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .hero-stats {
        gap: 32px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item-large {
        grid-row: auto;
        grid-column: 1 / 3;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .donation-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefits-card {
        padding: 24px;
    }
    
    .card {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 20px 16px;
    }
    
    .card {
        padding: 20px 16px;
        margin-top: 20px;
    }
    
    .tier-selector {
        gap: 12px;
    }
    
    .tier-button {
        padding: 16px 8px;
        height: 130px;
    }
    
    .tier-amount {
        font-size: 1.5rem;
    }
    
    .tier-description {
        font-size: 0.8125rem;
        line-height: 1.3;
        margin-top: 2px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 32px;
    }
    
    .footer {
        margin-top: 40px;
        padding: 30px 16px;
    }
    
    .footer-info h3 {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gallery-item-large {
        grid-column: auto;
    }
    
    .gallery-title {
        font-size: 1.75rem;
    }
    
    .gallery-description {
        font-size: 1rem;
    }
    
    .hero-split {
        gap: 30px;
        padding: 40px 0;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .about-section {
        padding: 60px 0 0 0;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .benefits-card {
        padding: 20px;
    }
    
    .benefits-card h3 {
        font-size: 1.25rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
}
