/* === TradeSuite Landing Page === */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #F5F5F5;
    background: #1B222C;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Layout --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: #FFFFFF; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
.text-muted { color: #A0A8B4; }
.text-accent { color: #61CE70; }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: #61CE70; color: #1B222C; }
.btn-primary:hover { background: #4fb85e; }
.btn-outline { border: 2px solid #61CE70; color: #61CE70; background: transparent; }
.btn-outline:hover { background: #61CE70; color: #1B222C; }
.btn-white { background: #FFFFFF; color: #1B222C; }
.btn-white:hover { background: #F0F0F0; }
.btn-text { color: #FFFFFF; font-weight: 500; }
.btn-text:hover { color: #61CE70; }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(27, 34, 44, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { color: #C0C8D4; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: #FFFFFF; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle { display: none; background: none; border: none; color: #FFFFFF; font-size: 1.5rem; cursor: pointer; }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-dark { background: linear-gradient(135deg, #1B222C 0%, #2A3544 100%); color: #F5F5F5; }
.section-darker { background: linear-gradient(135deg, #151B24 0%, #1B222C 100%); color: #F5F5F5; }
.section-light { background: #FFFFFF; color: #1B222C; }
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: #1B222C; }
.section-light p, .section-light li { color: #555555; }
.section-light .text-muted { color: #777777; }
.section-gray { background: #F1F1F1; color: #1B222C; }
.section-gray h1, .section-gray h2, .section-gray h3, .section-gray h4 { color: #1B222C; }
.section-gray p, .section-gray li { color: #555555; }

/* --- Hero --- */
.hero { padding: 100px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block;
    background: rgba(97, 206, 112, 0.15);
    color: #61CE70;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: #A0A8B4; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { border-radius: 12px; }

/* --- Feature List (checkmarks) --- */
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li {
    padding: 8px 0;
    padding-left: 32px;
    position: relative;
    color: #C0C8D4;
}
.feature-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #61CE70;
    font-weight: 700;
    font-size: 1.1rem;
}
.feature-list li strong { color: #FFFFFF; }

/* Feature list in light/gray sections */
.section-light .feature-list li { color: #555555; }
.section-light .feature-list li strong { color: #1B222C; }
.section-light .feature-list li::before { color: #45AA3E; }
.section-gray .feature-list li { color: #555555; }
.section-gray .feature-list li strong { color: #1B222C; }
.section-gray .feature-list li::before { color: #45AA3E; }

/* --- Partner Bar --- */
.partner-bar {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.partner-bar p { color: #A0A8B4; font-weight: 600; margin-bottom: 24px; }
.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
}
.partner-logos img { height: 35px; width: auto; filter: brightness(0) invert(1); }

/* --- Card Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(97, 206, 112, 0.3); }
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(97, 206, 112, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #61CE70;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: #A0A8B4; font-size: 0.95rem; }

/* On light sections */
.section-light .card, .section-gray .card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-light .card p, .section-gray .card p { color: #555555; }

/* --- Two Column --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    margin: 40px 0;
}
.stat-number { font-size: 2.5rem; font-weight: 700; color: #61CE70; }
.stat-label { color: #A0A8B4; font-size: 0.9rem; }

/* --- Testimonials --- */
.testimonial-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    color: #1B222C;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.testimonial-card .stars { color: #F59E0B; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card h4 { color: #1B222C; margin-bottom: 8px; }
.testimonial-card p { color: #555555; font-size: 0.95rem; }

/* --- Expert Section --- */
.expert-card {
    text-align: center;
    padding: 24px;
}
.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}
.expert-card h4 { margin-bottom: 4px; }
.expert-card .role { color: #A0A8B4; font-size: 0.9rem; }

/* --- Coach Feature Blocks (alternating layout) --- */
.coach-feature {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}
.coach-feature:last-child { margin-bottom: 0; }
.coach-feature.reverse { grid-template-columns: 1.2fr 1fr; }
.coach-feature.reverse .coach-feature-img { order: 2; }
.coach-feature.reverse .coach-feature-content { order: 1; }
.coach-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}
.coach-feature-content {
    padding: 40px;
}
.coach-feature-content h3 { font-size: 1.4rem; margin-bottom: 16px; }
.coach-feature-content p { color: #C0C8D4; line-height: 1.7; margin-bottom: 8px; }
.coach-feature-content strong { color: #FFFFFF; }
.coach-name { margin-top: 16px !important; }
.coach-name strong { color: #FFFFFF; font-size: 1rem; }
.coach-role { color: #A0A8B4 !important; font-size: 0.85rem; }
.coach-logo {
    height: 32px !important;
    width: auto !important;
    margin-bottom: 20px;
    opacity: 0.8;
    display: inline-block !important;
    filter: brightness(0) invert(1);
}

/* --- Testimonial Photo + Author --- */
.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px !important;
}
.testimonial-author {
    color: #61CE70 !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px !important;
}

/* --- Video Wrapper --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Newsletter Form --- */
.newsletter-form { margin-top: 24px; }
.newsletter-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: #F5F5F5;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.newsletter-form input::placeholder { color: #A0A8B4; }
.newsletter-form input:focus {
    outline: none;
    border-color: #61CE70;
    background: rgba(255,255,255,0.1);
}

/* --- FAQ Accordion --- */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    color: #1B222C;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: #61CE70;
    font-weight: 700;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: "\2212";
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    padding: 0 24px 18px;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #61CE70 0%, #3AA84A 100%);
    color: #1B222C;
    padding: 80px 0;
}
.cta-section h2 { color: #1B222C; margin-bottom: 16px; }
.cta-section p { color: rgba(27, 34, 44, 0.7); margin-bottom: 32px; font-size: 1.1rem; }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
}
.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comparison-table th { font-weight: 600; color: #FFFFFF; }
.comparison-table .col-ours {
    background: rgba(97, 206, 112, 0.08);
    border-left: 2px solid #61CE70;
}
.comparison-table .col-others { color: #A0A8B4; }

/* Light section table */
.section-light .comparison-table th { color: #1B222C; }
.section-light .comparison-table td { border-color: #E0E0E0; color: #555; }
.section-light .comparison-table .col-ours { background: rgba(97, 206, 112, 0.06); }

/* --- Footer --- */
.site-footer {
    background: #151B24;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: #A0A8B4; margin-top: 16px; font-size: 0.9rem; }
.footer-links h4 { color: #FFFFFF; margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a {
    display: block;
    color: #A0A8B4;
    padding: 4px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #61CE70; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero .container, .two-col, .coach-feature, .coach-feature.reverse { grid-template-columns: 1fr; gap: 24px; }
    .coach-feature.reverse .coach-feature-img { order: 1; }
    .coach-feature.reverse .coach-feature-content { order: 2; }
    .coach-feature-content { padding: 24px; }
    .two-col.reverse { direction: ltr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
    .header-actions { display: none; }
    .mobile-toggle { display: block; }
    .partner-logos { justify-content: center; }
    .card-grid { grid-template-columns: 1fr; }
}
