/* ============================================
   MAIN STYLESHEET - JD Fund Website
   ============================================ */

:root {
    --primary-color: #049669;
    --primary-light-color: #1fa87e;
    --secondary-color: #0a7352;
    --accent-color: #2daa8f;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f0fdf4;
    --bg-white: #ffffff;
    --border-color: #b8d4c7;
    --success-color: #049669;
    --error-color: #ef4444;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-color);
}

ul, ol {
    margin-left: var(--spacing-md);
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */

.btn-primary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
    color: var(--bg-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    transition: var(--transition);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.stat-item {
    border-left: 4px solid var(--accent-color);
    padding-left: var(--spacing-lg);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    top: 50px;
    right: 0;
}

.sphere-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    bottom: 100px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

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

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.about-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   STRATEGIES SECTION
   ============================================ */

.strategies {
    background: var(--bg-white);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.strategy-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.strategy-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.strategy-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.strategy-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.strategy-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.strategy-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.strategy-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.strategy-return {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--secondary-color);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--bg-light);
}

.services-list {
    display: grid;
    gap: var(--spacing-xl);
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team {
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.team-member {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.member-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   PERFORMANCE SECTION
   ============================================ */

.performance {
    background: var(--bg-light);
}

.performance-table {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    color: white;
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
}

table td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

table tbody tr:hover {
    background: var(--bg-light);
}

table tbody tr:last-child td {
    border-bottom: none;
}

.positive {
    color: var(--success-color);
    font-weight: 600;
}

.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.1);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1rem;
    font-style: normal;
    margin-bottom: var(--spacing-md);
    color: #0f172a;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

.testimonial-card {
    background: #f4fdf5;
    color: #0f172a;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #049669, var(--secondary-color));
    color: white;
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--bg-light);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-email {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.contact-email h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-email p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* ============================================
    FOOTER
   ============================================ */

.footer {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.py-xl {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
