/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-light: #ffffff;
    --text-light: #f3f4f6;
    --text-dark: #1f2937;
    --text-gray: #9ca3af;

    /* BRAND COLORS */
    --primary-main: #72d479;
    --primary-state: #C1F178;
    
    --secondary-main: #49a3f1;
    --secondary-state: #1A73E8;
    
    --dark-main: #42424a;
    --dark-state: #191919;

    /* GRADIENTS */
    --gradient-text: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-state) 100%);
    --gradient-text-blue: linear-gradient(135deg, var(--secondary-main) 0%, var(--secondary-state) 100%);
    
    --gradient-btn-blue: linear-gradient(135deg, var(--secondary-main) 0%, var(--secondary-state) 100%);
    --gradient-btn-green: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-state) 100%);
    
    --card-gradient: linear-gradient(90deg, var(--primary-main) 0%, var(--primary-state) 100%);
    --card-gradient-dark: linear-gradient(135deg, #151515 0%, #1a1a1a 100%);
    
    --icon-gradient: linear-gradient(135deg, var(--dark-main) 0%, var(--dark-state) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark); /* Default dark for light sections */
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

/* Dark Mode Body Override for specific pages handled in HTML class="dark-mode" */
body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: var(--gradient-text-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    color: var(--primary-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-blue {
    background: var(--gradient-btn-blue);
    color: #fff;
}
.btn-blue:hover { box-shadow: 0 5px 15px rgba(73, 163, 241, 0.4); }

.btn-green {
    background: var(--gradient-btn-green);
    color: #1f2937; /* Dark text on bright green */
}
.btn-green:hover { box-shadow: 0 5px 15px rgba(114, 212, 121, 0.4); }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--text-dark); }

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}
.coming-soon-badge i { font-size: 1.2rem; color: var(--primary-main); }

/* --- HEADER & NAV --- */
header {
    background-color: var(--bg-dark);
    padding: 20px 0;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #1a1a1a;
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #fff; font-size: 0.9rem; font-weight: 500; text-transform: uppercase; }
.nav-links a:hover { color: var(--primary-main); }

/* --- HOME: HERO SLIDER --- */
.hero {
    background-color: var(--bg-dark);
    color: #fff;
    position: relative;
    background-image: radial-gradient(circle at 80% 50%, #1a1a1a 0%, #0a0a0a 60%);
    overflow: hidden;
    height: 700px;
    display: flex;
    align-items: center;
}

.slider-wrapper { position: relative; width: 100%; height: 100%; }

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex; align-items: center;
}
.slide.active { opacity: 1; visibility: visible; }

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.hero-text { z-index: 2; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text h1 span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: #ccc; font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; }

.hero-image { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hero-image img { max-width: 100%; max-height: 450px; object-fit: contain; }

.slider-dots {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 15px; z-index: 10;
}
.dot { width: 12px; height: 12px; background-color: #fff; border-radius: 50%; cursor: pointer; opacity: 0.5; transition: 0.3s; }
.dot:hover { opacity: 1; }
.dot.active { background-color: var(--primary-main); opacity: 1; transform: scale(1.2); }

/* --- HOME: FEATURES SECTION --- */
.features { background-color: var(--bg-light); padding: 100px 0; }
.features-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.features-text h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: #333; }
.features-text p { color: #666; margin-bottom: 30px; }

.feature-cards { display: flex; flex-direction: column; gap: 20px; }
.card {
    background: var(--card-gradient);
    padding: 30px;
    border-radius: 12px;
    display: flex; align-items: flex-start; gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.card:hover { transform: translateX(10px); }

.card-icon {
    background: var(--icon-gradient);
    width: 60px; height: 60px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.5rem; color: #ffffff;
}
.card-content h3 { font-size: 1.2rem; margin-bottom: 5px; color: #1f2937; }
.card-content p { font-size: 0.9rem; color: #374151; line-height: 1.5; }


/* --- HOME: NEWS SECTION --- */
.home-news {
    background-color: var(--bg-dark);
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
}

.home-news-header {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 50px;
}
.home-news h2 { color: #fff; font-size: 2.5rem; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #111; border-radius: 12px; overflow: hidden; border: 1px solid #333; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); border-color: var(--primary-main); }
.news-img { width: 100%; height: 200px; object-fit: cover; opacity: 0.9; }
.news-body { padding: 25px; }
.news-meta { color: var(--text-gray); font-size: 0.8rem; margin-bottom: 15px; display: flex; justify-content: space-between; }
.news-cat { color: var(--primary-main); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.news-title { font-size: 1.25rem; margin-bottom: 15px; color: #fff; line-height: 1.3; }
.read-btn { color: var(--secondary-main); font-weight: 600; font-size: 0.9rem; display: inline-block; }
.read-btn:hover { text-decoration: underline; color: #fff; }


/* --- PAGES: GENERAL (Features, Investors) --- */
.page-hero {
    text-align: center;
    padding: 100px 0 60px;
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #0a0a0a 70%);
}
.page-hero h1 { font-size: 3rem; margin-bottom: 20px; color: #fff; }
.page-hero p { color: var(--text-gray); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* --- FEATURES PAGE SPECIFIC --- */
.feature-block { padding: 100px 0; border-top: 1px solid #1a1a1a; }
.feature-block:nth-child(odd) { background-color: var(--bg-dark); }
.feature-block:nth-child(even) { background-color: var(--bg-darker); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-grid.reverse .content { order: 2; }
.feature-grid.reverse .image { order: 1; }
.feature-grid .content h2 { color: #fff; font-size: 2.5rem; margin-bottom: 15px; }
.feature-grid .content h3 { color: var(--text-gray); font-weight: 400; font-size: 1.1rem; margin-bottom: 30px; }

.feature-list li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 1rem; color: #d1d5db; }
.feature-list li i { color: var(--primary-main); margin-right: 15px; margin-top: 5px; }
.feature-grid .image img { width: 100%; max-width: 500px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid #333; }

/* --- INVESTORS PAGE SPECIFIC --- */
.investor-hero { padding: 120px 0 80px; text-align: center; background: radial-gradient(circle at 50% -20%, #111 0%, #0a0a0a 60%); }
.investor-hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; color: #fff; }
.investor-hero p { color: var(--text-gray); font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; }

.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; margin-bottom: 100px; position: relative; z-index: 10; }
.stat-card { background: #111; border: 1px solid #333; padding: 30px 20px; border-radius: 12px; text-align: center; transition: 0.3s; }
.stat-card:hover { border-color: var(--primary-main); transform: translateY(-5px); }
.stat-number { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; }

.split-section { padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; color: #fff;}
.highlight-box { border-left: 3px solid var(--secondary-main); padding-left: 20px; margin: 20px 0; font-style: italic; color: #d1d5db; }
.split-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.split-section p { color: #d1d5db; font-size: 1.1rem; }
.split-section img { border-radius: 12px; border: 1px solid #333; }

.team-section { padding: 100px 0; background-color: var(--bg-darker); text-align: center; }
.team-section h2 { color: #fff; font-size: 2.5rem; margin-bottom: 15px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 60px auto 0; }
.team-card { background: var(--card-gradient-dark); padding: 40px; border-radius: 16px; border: 1px solid #222; text-align: left; position: relative; overflow: hidden; }
.team-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-btn-blue); }
.team-name { font-size: 1.8rem; margin-bottom: 15px; color: #fff; }
.team-role { color: var(--secondary-main); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 10px; display: block; }

.cta-section { padding: 100px 0; text-align: center; background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%); }
.cta-box { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); border: 1px solid #333; max-width: 800px; margin: 0 auto; padding: 60px; border-radius: 20px; color: #fff; }
.cta-box h2 { font-size: 2.5rem; }

/* --- FOOTER --- */
footer { background-color: var(--bg-dark); color: #fff; padding: 80px 0 20px; border-top: 1px solid #1a1a1a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid #1a1a1a; padding-bottom: 40px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: #fff; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #999; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--primary-main); }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 35px; height: 35px; background: #fff; color: var(--bg-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--primary-main); color: #000; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; }
.footer-bottom-links a { margin-left: 20px; color: #666; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero { height: auto; padding: 60px 0; }
    .slide { position: relative; opacity: 1; visibility: visible; display: none; }
    .slide.active { display: block; }
    .slide-content, .features-wrapper, .feature-grid, .split-section { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .slider-dots { display: none; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .stats-bar { grid-template-columns: 1fr 1fr; margin-top: 0; }
    
    .split-section.reverse .text-col { order: 1; }
    .split-section.reverse .img-col { order: 2; }
    .feature-grid.reverse .content { order: 1; }
    .feature-grid.reverse .image { order: 2; }
    
    .feature-list li { justify-content: center; text-align: left; }
    .team-grid { grid-template-columns: 1fr; }
    .highlight-box { text-align: left; }
    
    .card { flex-direction: column; align-items: center; text-align: center; }
    .card-icon { margin-bottom: 15px; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-text h1, .page-hero h1, .investor-hero h1 { font-size: 2.2rem; }
}