/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- BACKGROUND ANIMATION (Money/Growth Theme) --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: floatFullPage linear infinite;
    color: #2E7D32;
    font-size: 30px;
}

.bg-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 25s;
    content: '$';
    font-size: 24px;
}

.bg-shape:nth-child(2) {
    top: 25%;
    right: 12%;
    font-size: 60px;
    animation-duration: 35s;
    animation-delay: -5s;
    color: #FFD700;
    opacity: 0.05;
}

.bg-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
    color: #1E88E5;
}

.bg-shape:nth-child(4) {
    bottom: 35%;
    right: 8%;
    animation-duration: 32s;
    color: #FF6A00;
    opacity: 0.04;
}

@keyframes floatFullPage {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 40px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- HEADER STYLES --- */
.header {
    background: #F8EBD6;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    animation: slideDown 0.8s ease forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn-login {
    padding: 8px 24px;
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
}

.auth-buttons .btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #bbb;
}

.auth-buttons .btn-signup {
    background: #FF6A00;
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 106, 0, 0.2);
}

.auth-buttons .btn-signup:hover {
    background: #e05c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.3);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    margin-left: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* --- CROWDFUNDING HERO --- */
.cf-hero {
    position: relative;
    padding: 120px 0;
    background-color: #004D40;
    /* Dark Teal */
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.cf-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, #00695C, #004D40);
    z-index: 0;
}

.cf-hero-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.cf-hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.cf-hero h1 span {
    color: #FFD700;
    /* Gold */
    position: relative;
}

.cf-hero p {
    font-size: 18px;
    color: #B2DFDB;
    max-width: 600px;
    margin-bottom: 35px;
}

.btn-gold {
    background: #FFD700;
    color: #004D40;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    background: #FFC107;
}

/* Visual: Funding Gauge */
.funding-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-bg {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 20px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gauge-fill {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 20px solid transparent;
    border-top-color: #FFD700;
    border-right-color: #FFD700;
    transform: rotate(-45deg);
    animation: fillGauge 2s ease-out forwards;
}

.gauge-text {
    text-align: center;
    color: white;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.gauge-text h3 {
    font-size: 48px;
    margin: 0;
    line-height: 1;
}

.gauge-text span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #B2DFDB;
}

@keyframes fillGauge {
    0% {
        transform: rotate(-225deg);
    }

    100% {
        transform: rotate(-45deg);
    }
}

/* --- SERVICES GRID --- */
.cf-services {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #004D40;
}

.cfs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cfs-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cfs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #FFD700;
    transform: scaleY(0);
    transition: 0.3s;
    transform-origin: bottom;
}

.cfs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.cfs-card:hover::before {
    transform: scaleY(1);
}

.cfs-icon {
    width: 60px;
    height: 60px;
    background: #E0F2F1;
    color: #004D40;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cfs-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.cfs-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* --- REG CF EXPLAINER --- */
.reg-cf {
    padding: 100px 0;
    background: #f4fcfb;
}

.reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reg-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.reg-content ul {
    list-style: none;
    margin-top: 20px;
}

.reg-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reg-content li i {
    color: #FF6A00;
    font-size: 20px;
    margin-top: 2px;
}

.reg-visual {
    position: relative;
}

.reg-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.reg-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #FF6A00;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

/* --- CAMPAIGN ROADMAP --- */
.roadmap {
    padding: 100px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.roadmap-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.roadmap-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #333;
    z-index: 1;
}

.rm-step {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.rm-circle {
    width: 80px;
    height: 80px;
    background: #222;
    border: 2px solid #FFD700;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #FFD700;
    transition: 0.3s;
}

.rm-step:hover .rm-circle {
    background: #FFD700;
    color: #1a1a1a;
    transform: scale(1.1);
}

.rm-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.rm-step p {
    font-size: 14px;
    color: #888;
}

/* --- FOOTER STYLES (Identical) --- */
.footer {
    background: #f9f9f9;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.footer-logo h3 span {
    display: block;
    font-size: 14px;
    color: #FF6A00;
    font-weight: 500;
}

.footer-logo p {
    color: #777;
    margin: 10px 0;
}

.tagline {
    font-weight: 600;
    color: #FF6A00 !important;
    font-size: 18px;
    margin: 15px 0 30px;
}

.footer-links a {
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF6A00;
}

.footer-copyright {
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

/* --- ANIMATIONS --- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-hidden {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate-hidden {
    transform: translateY(40px);
}

.fade-right.animate-hidden {
    transform: translateX(-40px);
}

.fade-left.animate-hidden {
    transform: translateX(40px);
}

.animate-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.stagger-children.animate-active>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.animate-active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.animate-active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.animate-active>*:nth-child(3) {
    transition-delay: 0.3s;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .cf-hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 100px;
    }

    .funding-visual {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 50px;
        width: 300px;
        height: 300px;
    }

    .gauge-bg,
    .gauge-fill {
        width: 250px;
        height: 250px;
    }

    .cfs-grid {
        grid-template-columns: 1fr;
    }

    .reg-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-steps {
        flex-direction: column;
        gap: 40px;
    }

    .roadmap-line {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
    }
}