/* About Page Styles */

/* Hero Section */

.about-hero {
    background: linear-gradient(135deg, #1a1f35 0%, #0a0e1a 100%);
    text-align: center;
}

.about-hero h1 {
    margin: 44px auto;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Page-specific badge spacing (base styles in main.css) */

.hero-tagline {
    font-size: 22px;
    color: #a0aec0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    margin: 50px auto 0;
    border-radius: 2px;
}

/* Section Title Left Aligned - now in main.css */

/* Origin Story Section */

.story-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* grid-template-columns: 1fr; */
    gap: 80px;
    align-items: start;
}

.story-content {
    max-width: 600px;
}

.story-layout .section-title,
.product-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.story-text p {
    font-size: 18px;
    color: #c7d2e0;
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-text strong {
    color: #f5f5f5;
}

.story-text em {
    color: #00d4ff;
    font-style: normal;
}

/* Timeline Graphic */
.timeline-graphic {
    position: relative;
    padding-left: 30px;
}

.timeline-graphic::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 255, 136, 0.6) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

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

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1a1f35;
    border: 2px solid rgba(0, 212, 255, 0.5);
}

.timeline-item.active .timeline-dot {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-event {
    font-size: 18px;
    color: #c7d2e0;
}

.timeline-item.active .timeline-event {
    color: #00ff88;
    font-weight: 600;
}

/* Founder Section */
.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    align-items: start;
}

.founder-image {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 212, 255, 0.3);
    padding: 40px;
}

.founder-placeholder svg {
    width: 100%;
    height: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    font-size: 16px;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 24px;
}

.founder-bio p {
    font-size: 16px;
    color: #c7d2e0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.founder-links {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.founder-link:hover {
    color: #00d4ff;
}

.founder-link svg {
    opacity: 0.8;
}

.founder-link:hover svg {
    opacity: 1;
}

/* Product Story Section (Earthfiles) */
.product-story {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.product-section .section-title {
    display: flex;
    flex-direction: column;
}

.product-section .container {
    text-align: center;
}

.product-story {
    text-align: left;
}

/* Page-specific badge spacing (base styles in main.css) */
.product-badge {
    margin-bottom: 20px;
}

.product-content .contents {
    /* max-width: 600px; */
    margin: unset;
}

.product-intro {
    font-size: 20px;
    color: #f5f5f5;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-content p {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-content strong {
    color: #00d4ff;
}

.product-note {
    font-size: 14px;
    font-style: italic;
    color: #6b7280;
    margin-top: 20px;
}

.product-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

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

.product-stat .stat-value {
    font-size: 48px;
    font-weight: 800;
    color: #00ff88;
    line-height: 1;
}

.product-stat .stat-label {
    font-size: 14px;
    color: #a0aec0;
    margin-top: 8px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.product-link:hover {
    color: #f5f5f5;
}

/* Earthfile Preview */
.earthfile-preview {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid #30363d;
    width: unset;
}

.preview-header {
    background: #161b22;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #30363d;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red {
    background: #ff5f56;
}
.preview-dot.yellow {
    background: #ffbd2e;
}
.preview-dot.green {
    background: #27ca40;
}

.preview-title {
    margin-left: 12px;
    font-size: 13px;
    color: #8b949e;
    font-family: var(--font-mono);
}

.preview-code {
    padding: 20px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    font-family: var(--font-mono);
    color: #c9d1d9;
    overflow-x: auto;
}

.preview-code .keyword {
    color: #ff7b72;
}

.preview-code .string {
    color: #a5d6ff;
}

.preview-code .target {
    color: #7ee787;
    font-weight: 600;
}

/* Lunar Story Section */
.lunar-story {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.story-block {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.story-icon {
    margin-bottom: 20px;
}

.story-block h3 {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 16px;
}

.story-block p {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 12px;
}

.story-block p:last-child {
    margin-bottom: 0;
}

.story-block strong {
    color: #f5f5f5;
}

.story-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.story-quote blockquote {
    font-size: 24px;
    font-style: italic;
    color: #f5f5f5;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: center;
    /* padding: 0 40px; */
}

.quote-text {
    position: relative;
    display: inline;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 60px;
    color: rgba(0, 212, 255, 0.3);
    position: absolute;
    font-family: Georgia, serif;
}

.quote-text::before {
    left: -30px;
    top: -30px;
}

.quote-text::after {
    right: -30px;
    bottom: -40px;
}

.story-quote cite {
    font-size: 16px;
    color: #00d4ff;
    font-style: normal;
}

.story-quote cite a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
    transition: all 0.2s ease;
}

.story-quote cite a:hover {
    color: #00ff88;
    border-bottom-color: #00ff88;
}

/* Investors Section */
.investor-svg-desktop,
.investor-svg-tab,
.investor-svg-mobile {
    max-width: 100%;
    margin: 40px auto 0;
}

.investor-svg-desktop img,
.investor-svg-tab img,
.investor-svg-mobile img {
    width: 100%;
}

.investor-svg-tab img {
    max-width: 600px;
    margin: 0 auto;
}

.investor-svg-mobile img {
    max-width: 500px;
    margin: 0 auto;
}

.investor-svg-desktop {
    display: flex;
}

.investor-svg-tab,
.investor-svg-mobile {
    display: none;
}

/* Platform Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-4px);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 255, 136, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.value-card h3 {
    font-size: 20px;
    color: #f5f5f5;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 15px;
    color: #a0aec0;
    line-height: 1.7;
}

/* Non-Values Section */
.non-values-section {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 100, 100, 0.2);
}

.non-values-section h3 {
    font-size: 32px;
    line-height: 45px;
    color: #f5f5f5;
    margin-bottom: 16px;
}

.non-values-intro {
    font-size: 18px;
    color: #a0aec0;
    margin-bottom: 40px;
}

.non-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.non-value-card {
    background: rgba(255, 100, 100, 0.05);
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
}

.non-value-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.non-value-icon {
    font-size: 20px;
}

.non-value-card h4 {
    font-size: 18px;
    color: #ff6464;
}

.non-value-card p {
    font-size: 15px;
    color: #a0aec0;
    line-height: 1.6;
}

/* Careers Section */
.careers-content {
    max-width: 900px;
    margin: 0 auto;
}

.careers-intro {
    text-align: center;
    margin-bottom: 50px;
}

.careers-intro h3 {
    font-size: 28px;
    color: #00d4ff;
    margin-bottom: 16px;
}

.careers-intro p {
    font-size: 18px;
    color: #a0aec0;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.benefit-content strong {
    font-size: 16px;
    color: #f5f5f5;
}

.benefit-content span {
    font-size: 14px;
    color: #a0aec0;
}

.careers-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.careers-cta p {
    font-size: 18px;
    color: #a0aec0;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-hero h1 {
        margin: 32px auto;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-visual {
        display: none;
    }

    .story-text {
        max-width: 600px;
        text-align: center;
        margin: 0 auto;
    }

    .story-content {
        max-width: unset;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-image {
        margin: 0 auto;
    }

    .founder-info {
        max-width: 600px;
        margin: 0 auto;
    }

    .founder-links {
        justify-content: center;
    }

    .product-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .product-content .section-title {
        text-align: center;
    }

    .product-content .contents {
        margin: 0 auto;
        max-width: 600px;
    }

    .product-stats {
        justify-content: center;
    }

    .earthfile-preview {
        max-width: 600px;
        margin: 0 auto;
    }

    .lunar-story {
        grid-template-columns: 1fr 1fr;
    }

    .story-block:last-child {
        grid-column: 1 / -1;
        width: 50%;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .investor-svg-tab {
        display: flex;
    }

    .investor-svg-desktop,
    .investor-svg-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .story-layout {
        grid-template-columns: 1fr;
    }

    .story-layout .section-title {
        text-align: center;
    }

    .story-block:last-child {
        grid-column: unset;
        width: 100%;
    }

    .story-content {
        max-width: 100%;
        text-align: center;
    }

    .timeline-graphic {
        max-width: 275px;
        margin: 0 auto;
    }

    .hero-tagline {
        font-size: 20px;
        max-width: 600px;
    }

    .story-text p {
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto 20px;
    }

    .founder-card {
        padding: 30px;
    }

    .founder-image {
        width: 160px;
        height: 160px;
    }

    .founder-name {
        font-size: 26px;
    }

    .product-stats {
        gap: 30px;
    }

    .product-stat .stat-value {
        font-size: 36px;
    }

    .story-block {
        padding: 30px;
    }

    .story-icon {
        font-size: 36px;
    }

    .story-block h3 {
        font-size: 20px;
    }

    .story-quote blockquote {
        font-size: 20px;
        padding: 0 20px;
    }

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

    .value-card {
        padding: 30px;
    }

    .value-number {
        font-size: 36px;
    }

    .non-values-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .lunar-story {
        grid-template-columns: 1fr;
    }

    .quote-text::after {
        bottom: -44px;
    }

    .investor-svg-mobile {
        display: flex;
    }

    .investor-svg-desktop,
    .investor-svg-tab {
        display: none;
    }
}
