﻿/* About Page Styles */

/* Theme Color Overrides Only - base.css provides all globals */
:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #a78bfa;
    --accent-color: #06b6d4;
    --card-bg: rgba(15, 23, 42, 0.85);
    --section-bg: rgba(15, 23, 42, 0.5);
    --border-color: rgba(99, 102, 241, 0.15);
    --text-color: #e2e8f0;
    --text-dark: #cbd5e1;
    --text-muted: #94a3b8;
    --white: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #6366f1, #a78bfa);
}

/*  Section spacing  */
.section-padding { padding: 110px 0; }

/*  Section labels  */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/*  Section headings  */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/*  Hero subtitle  */
.about-hero p { color: #f5c842; }

/*  Mission/Vision subtitle  */
#mission .section-subtitle { color: #f5c842; }
#story .section-subtitle { color: #f5c842; }
#values .section-subtitle { color: #f5c842; }
#technology .section-subtitle { color: #f5c842; }

/*  Sub-headings - yellowish accent  */
.mission-card h3 { color: #f5c842; font-weight: 700; }
.vision-card h3  { color: #f5c842; font-weight: 700; }
.timeline-content h4 { color: #f5c842; font-weight: 700; }
.value-card h4   { color: #f5c842; font-weight: 700; }
.tech-feature h6 { color: #f5c842; font-weight: 700; }

/* 
   HERO
 */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 120px;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(168,85,247,0.15) 0%, transparent 60%),
        #020617;
    border-bottom: 1px solid var(--border-color);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.about-hero .container { position: relative; z-index: 2; }

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.35);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.about-hero-badge i { font-size: 0.75rem; color: var(--accent-color); }

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    font-size: 1.2rem;
    color: #f5c842;
    max-width: 580px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* Trust bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 48px;
    border-top: 1px solid rgba(99,102,241,0.1);
    margin-top: 48px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(99,102,241,0.2);
}

/* 
   MISSION & VISION
 */
.mission-vision {
    background: var(--section-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mission-card,
.vision-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    height: 100%;
    transition: all 0.35s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.35);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(167,139,250,0.15));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.8rem;
    color: var(--primary-light);
}

.mission-card h3,
.vision-card h3 {
    color: #f5c842;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mission-card p,
.vision-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

/* 
   STATS
 */
.stats-section {
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(99,102,241,0.08) 0%, transparent 70%),
        #020617;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(99,102,241,0.15);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #f5c842;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* 
   TIMELINE (OUR STORY)
 */
#story {
    background: var(--section-bg);
    border-bottom: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    padding: 40px 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--primary-color) 10%,
        var(--secondary-color) 90%,
        transparent 100%);
}

.timeline-item {
    position: relative;
    padding-left: 76px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid #020617;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.3), 0 0 20px rgba(99,102,241,0.4);
    z-index: 1;
}

.timeline-date {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 32px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 8px 32px rgba(99,102,241,0.15);
    transform: translateX(4px);
}

.timeline-content h4 {
    color: #f5c842;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

/* 
   VALUES
 */
#values {
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(99,102,241,0.07) 0%, transparent 70%),
        #020617;
    border-bottom: 1px solid var(--border-color);
}

.value-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 0 0 16px 16px;
}

.value-card:hover {
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 16px 40px rgba(99,102,241,0.15);
    transform: translateY(-4px);
}

.value-card:hover::after { transform: scaleX(1); }

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(167,139,250,0.12));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.4rem;
    color: var(--primary-light);
}

.value-card h4 {
    color: #f5c842;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

/* 
   TECHNOLOGY
 */
#technology {
    background: var(--section-bg);
    border-bottom: 1px solid var(--border-color);
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(99,102,241,0.08);
}

.tech-feature:last-child { border-bottom: none; }

.tech-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(167,139,250,0.12));
    border: 1px solid rgba(99,102,241,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-light);
}

.tech-feature h6 {
    color: #f5c842;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 4px;
}

.tech-feature small {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

#technology img { max-width: 420px; width: 100%; }

/* 
   CTA
 */
.cta-section {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(99,102,241,0.18) 0%, transparent 70%),
        #020617;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.15rem;
    color: #f5c842;
    margin-bottom: 44px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.btn-white {
    background: white;
    color: #0f172a;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

/* 
   REGULATION
 */
.regulation-section {
    background: var(--section-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#regulation .section-subtitle { color: #f5c842; }

.regulation-card {
    max-width: 820px;
    margin: 0 auto;
}

.regulation-card-inner {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.regulation-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.6;
}

.regulation-card-inner:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

.regulation-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-light);
}

.regulation-body h3 {
    color: #f5c842;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.regulation-body > p {
    color: var(--text-dark);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.regulation-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.regulation-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.5;
}

.regulation-point i.fa-check-circle {
    color: #10b981;
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.regulation-point i.fa-hourglass-half {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 
   RESPONSIVE
 */
@media (max-width: 992px) {
    .about-hero h1 { font-size: 3rem; }
    .trust-bar { gap: 24px; }
    .trust-divider { display: none; }
    .section-title { font-size: 2.2rem; }
    .cta-section h2 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .about-hero { padding: 120px 0 80px; }
    .about-hero h1 { font-size: 2.4rem; }

    .mission-card,
    .vision-card { padding: 36px 28px; }

    .stat-item:not(:last-child)::after { display: none; }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline::before { left: 16px; }
    .timeline-item { padding-left: 52px; }
    .timeline-dot { left: 4px; width: 22px; height: 22px; }
    .timeline-content { padding: 22px 24px; }
    .timeline-content:hover { transform: none; }

    .cta-section h2 { font-size: 2rem; }

    .regulation-card-inner {
        flex-direction: column;
        gap: 20px;
        padding: 32px 24px;
    }

    .regulation-icon-wrap {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 { font-size: 2rem; }
    .trust-bar { gap: 20px; }
    .trust-value { font-size: 1.5rem; }
}
