:root {
    --primary-pink: #ec4899;
    --pink-dark: #db2777;
    --pink-light: #fdf2f8;
    --primary-green: #10b981;
    --green-dark: #059669;
    --green-light: #ecfdf5;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-light: #9ca3af;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(236, 72, 153, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

/* Header */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border); padding: 15px 0;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-family: 'Outfit', sans-serif; font-size: clamp(20px, 5vw, 26px); font-weight: 900;
    color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--primary-pink); }

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none; border: none; font-size: 28px; color: var(--text-main);
    cursor: pointer; z-index: 102; padding: 8px;
}

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-pink); }

.btn-nav-login {
    background: var(--bg-alt); color: var(--text-main) !important;
    padding: 10px 24px; border-radius: 20px; font-weight: 700;
    border: 1px solid #e5e7eb; transition: all 0.3s;
    display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
}
.btn-nav-login:hover { background: #f3f4f6; }

.btn-nav-join {
    background: linear-gradient(135deg, var(--primary-pink), var(--pink-dark));
    color: #ffffff !important; padding: 10px 24px; border-radius: 20px; font-weight: 700;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3); transition: all 0.3s;
    display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
}
.btn-nav-join:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4); }

/* Hero Section */
.hero-section {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px;
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 1024px) {
    .hero-section { grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 20px; }
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif; font-size: clamp(36px, 8vw, 64px);
    font-weight: 900; line-height: 1.15; margin-bottom: 24px; color: var(--text-main);
    word-break: break-word;
}
.hero-content h1 span { color: var(--primary-pink); }
.hero-desc {
    font-size: clamp(16px, 4vw, 18px); color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions a { width: 100%; text-align: center; }
@media (min-width: 480px) {
    .hero-actions a { width: auto; }
}

.hero-image {
    position: relative; width: 100%; max-width: 500px; margin: 0 auto;
}
.hero-image img {
    width: 100%; height: auto; border-radius: 32px; box-shadow: var(--shadow-hover);
    object-fit: cover;
}
.hero-image::after {
    content: ''; position: absolute; inset: -10px;
    background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
    z-index: -1; border-radius: 50%;
}
@media (min-width: 768px) {
    .hero-image::after { inset: -20px; }
}

/* Manifest / Manifesto */
.manifesto {
    background: var(--pink-light); padding: 60px 20px; text-align: center; width: 100%;
}
.manifesto-inner { max-width: 900px; margin: 0 auto; width: 100%; }
.manifesto h2 {
    font-family: 'Outfit', sans-serif; font-size: clamp(24px, 5vw, 36px); font-weight: 800;
    color: var(--primary-pink); margin-bottom: 20px; word-break: break-word;
}
.manifesto p {
    font-size: clamp(16px, 4vw, 20px); color: var(--text-muted); line-height: 1.6; font-weight: 500;
}

/* How It Works */
.section { max-width: 1200px; margin: 60px auto; padding: 0 20px; width: 100%; }
@media (min-width: 768px) {
    .section { margin: 100px auto; }
}
.section-title { text-align: center; margin-bottom: 40px; }
@media (min-width: 768px) {
    .section-title { margin-bottom: 60px; }
}
.section-title h2 { font-family: 'Outfit', sans-serif; font-size: clamp(28px, 5vw, 36px); font-weight: 800; color: var(--text-main); }
.section-title p { color: var(--text-muted); font-size: clamp(14px, 4vw, 16px); margin-top: 12px; }

.steps-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 600px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.step-card {
    text-align: center; padding: 30px 20px; background: var(--card-bg);
    border-radius: 24px; box-shadow: var(--shadow-soft);
    border: 1px solid var(--card-border); transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-number {
    width: 50px; height: 50px; background: var(--pink-light); color: var(--primary-pink);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; margin: 0 auto 20px;
}
.step-card h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--text-muted); }

/* Features Grid */
.features-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px; width: 100%;
}
@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-box {
    background: var(--card-bg); padding: 24px; border-radius: 24px;
    box-shadow: var(--shadow-soft); border: 1px solid var(--card-border);
    transition: transform 0.3s; display: flex; gap: 16px; align-items: flex-start;
}
@media (min-width: 768px) {
    .feature-box { padding: 32px; gap: 20px; }
}
.feature-box:hover { transform: translateY(-5px); border-color: rgba(236, 72, 153, 0.2); }
.f-icon {
    font-size: 28px; background: var(--bg-alt); width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center; border-radius: 18px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .f-icon { font-size: 32px; width: 64px; height: 64px; }
}
.feature-box h3 { font-family: 'Outfit', sans-serif; font-size: clamp(18px, 4vw, 20px); font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.feature-box p { font-size: clamp(13px, 3.5vw, 14px); color: var(--text-muted); line-height: 1.6; }

/* Legal Section */
.legal-box {
    background: var(--green-light); border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px; padding: 30px 20px; text-align: center; max-width: 800px; margin: 0 auto 60px;
}
@media (min-width: 768px) {
    .legal-box { padding: 40px; margin: 0 auto 100px; }
}
.legal-box h3 { font-family: 'Outfit', sans-serif; color: var(--green-dark); font-size: clamp(20px, 5vw, 24px); font-weight: 800; margin-bottom: 16px; }
.legal-box p { color: var(--text-main); font-size: clamp(14px, 4vw, 16px); line-height: 1.6; font-weight: 500; margin-bottom: 16px; }
.legal-box .small-note { font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; width: 100%; }
.faq-item {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 16px; margin-bottom: 16px; overflow: hidden;
}
.faq-question {
    padding: 16px 20px; font-family: 'Outfit', sans-serif; font-size: clamp(16px, 4vw, 18px); font-weight: 700;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    color: var(--text-main); background: transparent; border: none; width: 100%; text-align: left;
    min-height: 48px;
}
.faq-answer {
    padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease-out;
    color: var(--text-muted); font-size: clamp(14px, 4vw, 15px); line-height: 1.6;
}
.faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 1000px; }
.faq-icon { font-size: 20px; color: var(--primary-pink); transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Registration Form */
.register-section {
    background: var(--bg-alt); padding: 40px 20px;
}
@media (min-width: 768px) {
    .register-section { padding: 80px 20px; }
}
.form-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 24px; padding: 32px 20px; max-width: 600px; margin: 0 auto;
    box-shadow: var(--shadow-soft); position: relative; overflow: hidden; width: 100%;
}
@media (min-width: 768px) {
    .form-card { padding: 48px; border-radius: 32px; }
}
.form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-green));
}
.form-header { text-align: center; margin-bottom: 32px; }
.form-title { font-family: 'Outfit', sans-serif; font-size: clamp(24px, 6vw, 28px); font-weight: 900; color: var(--text-main); margin-bottom: 8px;}
.form-subtitle { color: var(--text-muted); font-size: 15px; }

.form-group { margin-bottom: 20px; width: 100%; }
.form-group label {
    display: block; font-size: 13px; font-weight: 700; color: var(--text-main);
    margin-bottom: 8px;
}
.form-control {
    width: 100%; background: var(--bg-alt); border: 1px solid #e5e7eb;
    color: var(--text-main); padding: 14px 16px; border-radius: 16px; font-size: 15px;
    font-family: 'Inter', sans-serif; transition: all 0.3s; min-height: 48px;
}
.form-control:focus {
    outline: none; border-color: var(--primary-pink); background: #ffffff;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

.checkbox-group {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px;
}
.checkbox-group input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-pink); flex-shrink: 0; }
.checkbox-group label { font-size: clamp(12px, 3.5vw, 13px); color: var(--text-muted); line-height: 1.5; }
.checkbox-group a { color: var(--primary-pink); font-weight: 600; text-decoration: none; }

.btn-submit {
    width: 100%; background: linear-gradient(135deg, var(--primary-pink), var(--pink-dark));
    color: white; border: none; padding: 16px; border-radius: 16px; font-weight: 800;
    font-size: 16px; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif;
    margin-top: 10px; box-shadow: 0 10px 25px rgba(236, 72, 153, 0.25); min-height: 48px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(236, 72, 153, 0.35); }

/* Footer */
footer {
    background: #111827; color: #ffffff; padding: 60px 20px 24px; width: 100%;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 600px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-col h4 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 16px; word-break: break-word;}
.footer-col p { color: #9ca3af; font-size: 14px; line-height: 1.6; word-break: break-word;}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; text-decoration: none; font-size: 14px; transition: color 0.3s; display: inline-block; padding: 4px 0; min-height: 24px;}
.footer-links a:hover { color: var(--primary-pink); }
.footer-bottom {
    max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: #6b7280; font-size: 13px;
    word-break: break-word;
}

/* Mobile Navigation Overlay */
@media (max-width: 1023px) {
    .mobile-menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.3s ease-in-out; z-index: 101; gap: 32px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 24px; padding: 12px 24px; width: 100%; text-align: center; color: var(--text-main); }
    .nav-links .btn-nav-login, .nav-links .btn-nav-join {
        width: 80%; max-width: 300px; font-size: 20px; color: var(--text-main) !important;
    }
    .nav-links .btn-nav-join { color: #ffffff !important; }
}
