:root {
    --primary: #FF7E3D; /* Derived from logo.png */
    --primary-light: #FFA67D;
    --primary-dark: #E16326;
    --secondary: #2C8162; /* Complementary to primary */
    --text-dark: #1D293F;
    --text-light: #687693;
    --background: #FFFCF8;
    --white: #FFFFFF;
    --gray-100: #F4F6F9;
    --gray-200: #E9ECF2;
    --accent: #3D83FF;
    --shadow-sm: 0 2px 8px rgba(29, 41, 63, 0.08);
    --shadow-md: 0 4px 16px rgba(29, 41, 63, 0.12);
    --shadow-lg: 0 8px 30px rgba(29, 41, 63, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
    box-shadow: 0 4px 16px rgba(255, 126, 61, 0.25);
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 61, 0.35);
}

.btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.13) 77%,
        rgba(255,255,255,0.5) 92%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.btn:hover:after {
    opacity: 1;
    left: 0;
    top: 0;
    transform: rotate(0deg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 61, 0.35);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background) 0%, rgba(255, 252, 248, 0.9) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-direction: row;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary);
    display: inline-block;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: rgba(255, 126, 61, 0.15);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.1));
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Why Section - Cards */
.cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(255, 126, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 24px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* Join Section */
.join-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #F8FAFC, #F4F6F9);
    position: relative;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.join-container {
    max-width: 800px;
    margin: 0 auto;
}

.join-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.join-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 126, 61, 0.2);
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    font-size: 16px;
    background-color: var(--white);
    padding: 0 4px;
}

.form-control:focus + .form-label, 
.form-control:not(:placeholder-shown) + .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.9);
    color: var(--primary);
}

.join-cta {
    margin-top: 24px;
}

.join-cta .btn {
    min-width: 220px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
}

.footer-links {
    flex: 1;
    min-width: 160px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Key points features */
.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.key-point {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.key-point:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.key-point-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(255, 126, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.key-point-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.key-point-text {
    color: var(--text-light);
    font-size: 15px;
}

/* Manifesto section */
.manifesto {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    margin: 40px 0;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8Y2lyY2xlIGN4PSIxIiBjeT0iMSIgcj0iMSIgZmlsbD0icmdiYSgyNTUsIDEyNiwgNjEsIDAuMDUpIiAvPgogICAgPC9wYXR0ZXJuPgogIDwvZGVmcz4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiAvPgo8L3N2Zz4=);
}

.manifesto-title {
    font-size: 2rem;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
}

.manifesto-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.manifesto-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.manifesto-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.manifesto-point-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.manifesto-point-text {
    flex: 1;
}

/* Animation classes */
.has-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
                transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-600 {
    transition-delay: 0.6s;
}

.delay-700 {
    transition-delay: 0.7s;
}

.highlight-text {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background-color: rgba(255, 126, 61, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: height 0.3s ease;
}

.highlight-text:hover::after {
    height: 100%;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 5s ease-in-out infinite;
}

/* Bounce effect for stats */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-stats:hover .stat {
    animation: bounce 1s;
}

/* Responsive styles */
@media (max-width: 992px) {
    /* Keep the hero container in row form for tablets down to 768px */
    .hero-container {
        flex-direction: row;
    }
    
    .hero-content {
        max-width: 60%;
        padding-right: 20px;
    }
    
    .hero-image {
        max-width: 40%;
    }
    
    .section-title, 
    .join-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 0;
    }
    
    /* Now stack the hero on mobile */
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto 30px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 16px 24px;
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cards {
        flex-direction: column;
    }
    
    .card {
        min-width: 100%;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .manifesto {
        padding: 30px 24px;
    }

    .faq-item {
        margin-bottom: 12px;
    }

    .faq-question h3 {
        font-size: 16px;
    }
}

/* FAQ Section Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    border-bottom-color: var(--gray-200);
    background: var(--gray-100);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-dark);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
}

.faq-answer a:hover {
    text-decoration-color: var(--primary);
    color: var(--primary-dark);
}

/* FAQ Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
        padding-right: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p,
    .faq-answer ul,
    .faq-answer ol {
        font-size: 15px;
    }
}
