/* 
 * Qbitcoin About Page Styling
 * Dark theme with blue gradients matching home page
 * Created: May 24, 2025
 */

/* Inherits base styles from home.css - this file contains about-specific styles */

/* === ABOUT PAGE ELEMENTS === */
.about-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 3rem 0;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-header {
    background-color: var(--darker-bg);
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.05), rgba(0, 176, 255, 0.05));
    z-index: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* About content sections */
.about-section {
    padding: 5rem 0;
    position: relative;
}

.about-section:nth-child(odd) {
    background-color: rgba(10, 25, 41, 0.5);
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    align-items: center;
    margin: 4rem 0;
}

.about-text {
    grid-column: span 7;
    animation: fadeIn 1s ease-out;
}

.about-image {
    grid-column: span 5;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite, fadeIn 1s ease-out;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0.2;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-text,
.about-grid.reverse .about-image {
    direction: ltr;
}

/* Developer profile section */
.developer-profile {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto 5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    animation: fadeIn 1s ease-out;
}

.profile-header {
    background: var(--gradient-blue);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.profile-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.profile-social a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.profile-content {
    padding: 2.5rem;
}

.profile-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.profile-skills {
    margin-top: 2rem;
}

.profile-skills h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(25, 118, 210, 0.15);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.skill-tag i {
    margin-right: 8px;
}

/* Tokenomics section */
.tokenomics {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: var(--box-shadow);
    animation: slideInUp 1s ease-out;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tokenomics-card {
    background-color: rgba(15, 35, 60, 0.7);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    background-color: rgba(25, 118, 210, 0.15);
}

.tokenomics-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.tokenomics-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tokenomics-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Technology section */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.technology-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out;
}

.technology-card:hover {
    transform: translateY(-5px);
    background-color: rgba(25, 118, 210, 0.15);
}

.tech-icon {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(0, 176, 255, 0.1));
    font-size: 3rem;
    color: var(--accent-blue);
}

.tech-content {
    padding: 1.5rem;
}

.tech-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.tech-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline section */
.timeline-section {
    position: relative;
    margin: 5rem 0;
    padding-left: 2rem;
}

.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-blue);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 2rem;
    animation: fadeIn 1s ease-out;
}

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

.timeline-dot {
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--highlight-blue);
}

.timeline-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: inline-block;
}

/* Quotes section */
.quotes-section {
    background: linear-gradient(135deg, rgba(15, 35, 60, 0.8), rgba(10, 25, 41, 0.9));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quotes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.05) 0%, rgba(5, 16, 31, 0) 70%);
}

.quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    opacity: 0.3;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Falcon-512 explainer section */
.explainer-section {
    padding: 5rem 0;
    position: relative;
}

.explainer-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 4rem 0;
    animation: fadeIn 1s ease-out;
}

.explainer-header {
    background: var(--gradient-blue);
    padding: 2rem;
    position: relative;
}

.explainer-header h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.explainer-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

.explainer-content {
    padding: 2.5rem;
}

.explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.info-block {
    margin-bottom: 2rem;
}

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

.info-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.info-block h3 i {
    margin-right: 10px;
    color: var(--accent-blue);
}

.code-block {
    background-color: #05101f;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: monospace;
    color: #e0e0e0;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    border-left: 3px solid var(--primary-blue);
}

/* Open Source section */
.open-source-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.open-source-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.source-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.source-link {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.source-link:hover {
    transform: translateY(-5px);
    background-color: rgba(25, 118, 210, 0.2);
}

.source-link i {
    font-size: 1.8rem;
    margin-right: 1rem;
    color: var(--accent-blue);
}

.source-link-text {
    text-align: left;
}

.source-link-text h4 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.source-link-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .about-grid {
        gap: 2rem;
    }
}

@media screen and (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-text, .about-image {
        grid-column: span 12;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto 0;
    }
    
    .explainer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-header {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .timeline-section {
        padding-left: 0;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 576px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
    
    .source-links {
        flex-direction: column;
    }
}
