/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    /* Colors */
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #48bb78;
    --accent: #ed8936;
    --danger: #fc8181;
    --success: #68d391;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-dark: #1a202c;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ================================
   Container
   ================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Typography
   ================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.3;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-title .emoji {
    display: inline-block;
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.logo-emoji {
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .emoji {
    -webkit-text-fill-color: initial;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 400px;
    animation: slideInRight 1s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card .card-emoji {
    font-size: 2rem;
}

.floating-card .card-text {
    font-weight: 700;
    color: var(--text-primary);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(2deg);
    }

    75% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* ================================
   Why Section
   ================================ */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--gradient-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   Promises Section
   ================================ */
.promises-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.promises-section .section-title {
    color: white;
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.promise-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.promise-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.promise-item .check {
    color: #68d391;
    font-size: 1.5rem;
    font-weight: bold;
}

.promise-item strong {
    display: block;
    margin-bottom: 5px;
}

/* ================================
   Comparison Section
   ================================ */
.comparison-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-card.bad h3 {
    color: #e53e3e;
}

.comparison-card.good h3 {
    color: #38a169;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-secondary);
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* ================================
   Chart Section
   ================================ */
.chart-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
}

.pie-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.chart-visual {
    aspect-ratio: 1;
    max-width: 300px;
    margin: 0 auto;
}

/* ================================
   Donate Section
   ================================ */
.donate-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    text-align: center;
}

.donate-section .section-title {
    color: white;
}

.donate-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.donate-notice {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.donate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.qr-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.qr-code {
    margin-bottom: 25px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed #ccc;
}

.qr-placeholder span {
    font-size: 4rem;
    margin-bottom: 10px;
}

.qr-placeholder p {
    font-weight: 700;
    color: var(--text-primary);
}

.qr-placeholder small {
    color: var(--text-secondary);
}

.bank-info {
    text-align: left;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.bank-info p {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.copy-btn {
    width: 100%;
}

/* ================================
   Honor Section
   ================================ */
.honor-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.honor-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.coming-soon-badge h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.honor-preview {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    text-align: left;
}

.honor-preview h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.honor-preview ul {
    list-style: none;
}

.honor-preview li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    border-bottom: 1px solid #eee;
}

.honor-preview li:last-child {
    border-bottom: none;
}

.honor-preview .check {
    color: var(--success);
    font-weight: bold;
}

/* ================================
   FAQ Section
   ================================ */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
   Contact Section
   ================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-icon {
    font-size: 1.5rem;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
}

.social-link.tiktok:hover {
    background: #000000;
    color: white;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

/* ================================
   Message Section
   ================================ */
.message-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
}

.message-section .section-title {
    color: white;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-content blockquote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
}

.message-content blockquote p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.message-content .ps {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.inspiration {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 40px 0;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   Back to Top Button
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .header .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .pie-chart {
        grid-template-columns: 1fr;
    }

    .chart-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .promises-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .qr-card {
        padding: 25px;
    }

    .message-content blockquote {
        padding: 25px;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}