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

/* CSS Custom Properties - Design System */
:root {
    /* Lineum Brand Colors */
    --background: hsl(0, 0%, 6.7%); /* #111111 */
    --foreground: hsl(0, 0%, 95%);
    
    --card: hsl(0, 0%, 8%);
    --card-foreground: hsl(0, 0%, 95%);
    
    --primary: hsl(12, 100%, 60%); /* #FF5C31 - Donation button color */
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(0, 0%, 15%);
    --secondary-foreground: hsl(0, 0%, 95%);
    
    --muted: hsl(0, 0%, 20%);
    --muted-foreground: hsl(0, 0%, 70%);
    
    --accent: hsl(162, 65%, 55%); /* #4CC9A7 - Positive/highlight color */
    --accent-foreground: hsl(0, 0%, 10%);
    
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    
    --border: hsl(0, 0%, 20%);
    --input: hsl(0, 0%, 15%);
    --ring: hsl(12, 100%, 60%);
    
    --radius: 0.75rem;
    
    /* Custom design tokens */
    --gradient-hero: linear-gradient(135deg, hsl(12, 100%, 60%, 0.1), hsl(162, 65%, 55%, 0.1));
    --gradient-accent: linear-gradient(90deg, hsl(12, 100%, 60%), hsl(12, 100%, 70%));
    --shadow-glow: 0 0 40px hsl(12, 100%, 60%, 0.3);
    --shadow-accent-glow: 0 0 30px hsl(162, 65%, 55%, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

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

.container-custom {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(90deg, hsl(12, 100%, 70%), hsl(162, 65%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 0;
    }
}

.bg-background {
    background-color: var(--background);
}

.bg-muted {
    background-color: var(--muted);
    background-color: hsl(0, 0%, 20%, 0.2);
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: inline-flex;
}

@media (min-width: 640px) {
    .desktop-only {
        display: inline-flex;
    }
    
    .mobile-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .nav-donate .mobile-only {
        display: none;
    }
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: var(--transition-smooth);
    background: transparent;
}

.nav.scrolled {
    background: hsla(0, 0%, 6.7%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    position: relative;
}

@media (min-width: 1024px) {
    .nav-content {
        height: 5rem;
    }
}

.nav-logo .logo-img {
    height: 2rem;
    width: auto;
}

@media (min-width: 1024px) {
    .nav-logo .logo-img {
        height: 2.5rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

.nav-link {
    color: hsl(0, 0%, 95%, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

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

.nav-donate {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 60;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    margin: 2px 0;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    background: hsla(0, 0%, 6.7%, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 0;
    text-align: center;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-donate-btn {
    margin-top: 2rem;
    width: 100%;
    max-width: 280px;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Button Sizes */
.btn {
    height: 2.5rem;
    padding: 0 1rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-xl {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
}

/* Button Variants */
.btn-donation {
    background: var(--gradient-accent);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}

.btn-donation:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 10px 25px hsl(12, 100%, 60%, 0.4);
}

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

.btn-hero:hover {
    background: hsl(0, 0%, 100%, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

/* Card Styles */
.card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background-color: hsl(0, 0%, 8%, 0.5);
    color: var(--card-foreground);
    box-shadow: 0 1px 3px 0 hsl(0, 0%, 0%, 0.1), 0 1px 2px 0 hsl(0, 0%, 0%, 0.06);
}

.card-content {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .card-content {
        padding: 2rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-text {
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(0, 0%, 95%, 0.8);
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-note {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsl(0, 0%, 95%, 0.4);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: hsl(0, 0%, 95%, 0.4);
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(0, 0%, 95%, 0.8);
    max-width: 48rem;
    margin: 0 auto;
}

/* Vision Section */
.vision-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .vision-grid {
        gap: 4rem;
    }
}

.vision-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.vision-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.problem-icon {
    background: hsl(0, 84.2%, 60.2%, 0.2);
}

.solution-icon {
    background: hsl(162, 65%, 55%, 0.2);
}

.icon {
    width: 2rem;
    height: 2rem;
}

.problem-icon .icon {
    color: var(--destructive);
}

.solution-icon .icon {
    color: var(--accent);
}

.vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.problem-title {
    color: var(--destructive);
}

.solution-title {
    color: var(--accent);
}

.vision-description {
    font-size: 1.125rem;
    color: hsl(0, 0%, 95%, 0.8);
    line-height: 1.6;
}

/* Hackathon Section */
.hackathon-content {
    max-width: 64rem;
    margin: 0 auto;
}

.breakdown-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.breakdown-items {
    margin-bottom: 2rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .breakdown-item {
        flex-direction: row;
        align-items: center;
    }
}

.breakdown-percentage {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .breakdown-percentage {
        width: 5rem;
    }
}

.percentage-text {
    font-size: 1.875rem;
    font-weight: 700;
    display: block;
}

@media (min-width: 640px) {
    .percentage-text {
        font-size: 2.25rem;
    }
}

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

.primary-color {
    color: var(--primary);
}

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

.breakdown-bar {
    flex: 1;
}

@media (min-width: 640px) {
    .breakdown-bar {
        margin: 0 1.5rem;
    }
}

.bar-bg {
    width: 100%;
    background: var(--muted);
    border-radius: 0.375rem;
    height: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .bar-bg {
        margin-bottom: 0;
    }
}

.bar-fill {
    height: 0.75rem;
    border-radius: 0.375rem;
    transition: width 1s ease-out;
}

.accent-bar {
    background: var(--accent);
}

.primary-bar {
    background: var(--primary);
}

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

.breakdown-label {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .breakdown-label {
        max-width: 18rem;
    }
}

.breakdown-text {
    font-size: 0.875rem;
    color: hsl(0, 0%, 95%, 0.8);
}

@media (min-width: 640px) {
    .breakdown-text {
        font-size: 1rem;
    }
}

.transparency-notice {
    text-align: center;
}

.notice-content {
    display: inline-flex;
    align-items: center;
    background: hsl(162, 65%, 55%, 0.1);
    border: 1px solid hsl(162, 65%, 55%, 0.2);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}

.notice-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    margin-right: 0.75rem;
}

.notice-text {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
}

/* Donation Ticker */
.ticker-content {
    max-width: 48rem;
    margin: 0 auto;
}

.ticker-amount {
    text-align: center;
    margin-bottom: 2rem;
}

.amount-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

@media (min-width: 768px) {
    .amount-value {
        font-size: 4rem;
    }
}

.amount-goal {
    font-size: 1.125rem;
    color: hsl(0, 0%, 95%, 0.7);
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    background: var(--muted);
    border-radius: 0.375rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 0.375rem;
    transition: width 1s ease-out;
}

.donors-section {
    text-align: center;
}

.donors-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.donors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.donor-name {
    background: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Impact Section */
.impact-content {
    max-width: 64rem;
    margin: 0 auto;
}

.ecosystem-card {
    margin-bottom: 3rem;
}

.ecosystem-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ecosystem-icon .icon {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
}

.ecosystem-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.ecosystem-description {
    font-size: 1.125rem;
    color: hsl(0, 0%, 95%, 0.8);
    text-align: center;
    line-height: 1.6;
}

.rewards-grid {
    display: grid;
    gap: 1.5rem;
}

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

.reward-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.reward-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent);
}

.reward-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
}

.reward-description {
    color: hsl(0, 0%, 95%, 0.8);
    text-align: center;
    line-height: 1.6;
}

/* FAQ Section */
.faq-content {
    max-width: 64rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: var(--radius);
}

.faq-question:hover {
    background: hsl(0, 0%, 100%, 0.05);
}

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

.faq-title {
    font-size: 1.125rem;
    font-weight: 600;
    padding-right: 1rem;
}

.faq-icon {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    border-top: 1px solid hsl(0, 0%, 20%, 0.5);
}

.faq-text {
    color: hsl(0, 0%, 95%, 0.8);
    line-height: 1.6;
    padding-top: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-cta {
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 2.5rem;
    }
}

.footer-brand {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.brand-tagline {
    color: hsl(0, 0%, 95%, 0.7);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--muted);
    border-radius: 50%;
    color: hsl(0, 0%, 95%, 0.7);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-copyright {
    color: hsl(0, 0%, 95%, 0.6);
    font-size: 0.875rem;
}

/* Responsive Utilities */
@media (max-width: 767px) {
    .card-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
      }
