/**
 * JUDÔ360 - Página Sobre
 * Design Neon Futurista - Estilo Historia
 */

/* ===== VARIÁVEIS ===== */
.sobre-page {
    --bg-dark: #0d1117;
    --bg-section: #0f1319;
    --bg-card: #161b22;
    --border-subtle: rgba(123, 167, 204, 0.15);
    --border-glow: rgba(123, 167, 204, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent: #7BA7CC;
    --accent-glow: rgba(123, 167, 204, 0.3);
    --gold: #FFB800;
    --neon-glow: 0 0 20px rgba(123, 167, 204, 0.4), 0 0 40px rgba(123, 167, 204, 0.2);
}

/* ===== BASE ===== */
.sobre-page {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== HERO SECTION - ESTILO NEON ===== */
.sobre-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

/* Pattern de losangos animado */
.sobre-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%237BA7CC' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.06;
    animation: patternMove 20s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.sobre-hero .parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(123, 167, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(123, 167, 204, 0.1) 0%, transparent 50%);
    background-color: var(--bg-dark);
    will-change: transform;
    z-index: 1;
}

.sobre-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(13, 17, 23, 0.2) 0%,
        rgba(13, 17, 23, 0.4) 50%,
        rgba(13, 17, 23, 0.85) 100%
    );
    z-index: 1;
}

/* Floating Kanji Background */
.hero-floating-kanji {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.sobre-hero .floating-kanji {
    position: absolute;
    font-family: 'Noto Sans JP', serif;
    color: var(--accent);
    opacity: 0.04;
}

.sobre-hero .floating-kanji:nth-child(1) {
    font-size: 15rem;
    top: 5%;
    left: 5%;
    animation: kanjiFloatSobre1 8s ease-in-out infinite;
}

.sobre-hero .floating-kanji:nth-child(2) {
    font-size: 12rem;
    top: 50%;
    right: 5%;
    animation: kanjiFloatSobre2 10s ease-in-out infinite;
}

.sobre-hero .floating-kanji:nth-child(3) {
    font-size: 10rem;
    bottom: 10%;
    left: 20%;
    animation: kanjiFloatSobre3 12s ease-in-out infinite;
}

@keyframes kanjiFloatSobre1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(3deg); }
}

@keyframes kanjiFloatSobre2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, 20px) rotate(-2deg); }
}

@keyframes kanjiFloatSobre3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 25px) rotate(2deg); }
}

.sobre-hero .hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

/* Badge com Neon Glow */
.sobre-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(123, 167, 204, 0.15);
    border: 2px solid var(--border-glow);
    padding: 12px 28px;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: var(--neon-glow);
    animation: badgePulseBlue 3s ease-in-out infinite;
}

@keyframes badgePulseBlue {
    0%, 100% { box-shadow: 0 0 20px rgba(123, 167, 204, 0.3), 0 0 40px rgba(123, 167, 204, 0.1); }
    50% { box-shadow: 0 0 30px rgba(123, 167, 204, 0.5), 0 0 60px rgba(123, 167, 204, 0.2); }
}

.sobre-hero .badge-kanji {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
}

.sobre-hero .badge-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

/* Titulo com Neon Glow */
.sobre-hero .hero-title {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 15px;
}

.sobre-hero .title-line {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sobre-hero .title-highlight {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 0.9;
    text-shadow:
        0 0 40px rgba(123, 167, 204, 0.6),
        0 0 80px rgba(123, 167, 204, 0.4),
        0 0 120px rgba(123, 167, 204, 0.2);
}

.sobre-hero .hero-japanese {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 12px;
    text-shadow: 0 0 30px rgba(123, 167, 204, 0.6);
    animation: pulsateGlowBlue 3s ease-in-out infinite;
}

@keyframes pulsateGlowBlue {
    0%, 100% {
        text-shadow: 0 0 20px rgba(123, 167, 204, 0.4), 0 0 40px rgba(123, 167, 204, 0.2);
        opacity: 0.9;
    }
    50% {
        text-shadow: 0 0 30px rgba(123, 167, 204, 0.6), 0 0 60px rgba(123, 167, 204, 0.4);
        opacity: 1;
    }
}

.sobre-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* Hero Stats */
.sobre-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sobre-hero .stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sobre-hero .stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 30px rgba(123, 167, 204, 0.6);
    line-height: 1;
}

.sobre-hero .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Scroll CTA */
.sobre-hero .scroll-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin-top: 40px;
}

.sobre-hero .scroll-cta:hover {
    opacity: 1;
}

.sobre-hero .scroll-cta span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sobre-hero .scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { height: 60px; opacity: 1; }
    50% { height: 80px; opacity: 0.5; }
}

/* ===== SECTIONS BASE ===== */
.sobre-section {
    padding: 100px 20px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-label.center {
    display: block;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

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

.section-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== MISSÃO SECTION ===== */
.missao-section {
    background: var(--bg-section);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.visual-card:hover {
    border-color: rgba(0, 217, 163, 0.3);
    transform: translateX(10px);
}

.visual-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), rgba(0, 217, 163, 0.5));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visual-card .card-icon i {
    font-size: 1.3rem;
    color: var(--bg-dark);
}

.visual-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

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

/* ===== PARALLAX DIVIDERS ===== */
.parallax-divider {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-divider .parallax-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 1;
}

.parallax-bg.divider-1 {
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 217, 163, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 184, 0, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 100%);
}

.parallax-bg.divider-2 {
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 217, 163, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 20% 70%, rgba(255, 184, 0, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, #0d1117 0%, var(--bg-section) 100%);
}

.parallax-bg.divider-3 {
    background:
        radial-gradient(circle at 70% 40%, rgba(0, 217, 163, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(255, 184, 0, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, var(--bg-section) 0%, var(--bg-dark) 100%);
}

.divider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, 0.5);
    z-index: 2;
}

.divider-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.kanji-large {
    font-family: 'Noto Sans JP', serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(0, 217, 163, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
    margin-bottom: 15px;
}

.divider-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(0, 217, 163, 0.2);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 217, 163, 0.08);
    line-height: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.15), rgba(0, 217, 163, 0.05));
    border: 1px solid rgba(0, 217, 163, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== DESENVOLVEDOR SECTION ===== */
.dev-section {
    background: var(--bg-section);
}

.dev-profile {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.dev-avatar {
    position: relative;
    display: flex;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateRing 10s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-subtle);
}

.avatar-initials {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dev-info {
    padding-top: 10px;
}

.dev-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dev-role {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 30px;
}

.dev-bio p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.dev-bio strong {
    color: var(--accent);
    font-weight: 600;
}

.dev-conclusion {
    padding: 20px 25px;
    background: rgba(0, 217, 163, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    margin-top: 30px;
    font-style: italic;
}

.dev-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.skill-tag i {
    font-size: 1rem;
}

/* ===== CONTRIBUA SECTION ===== */
.contribua-section {
    background: var(--bg-dark);
}

.contribua-content {
    max-width: 900px;
    margin: 0 auto;
}

.contribua-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.contribua-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contribua-card:hover {
    border-color: rgba(0, 217, 163, 0.3);
    transform: translateY(-5px);
}

.contribua-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.contribua-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contribua-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), #00b386);
    color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 163, 0.3);
    color: var(--bg-dark);
}

/* ===== FOOTER QUOTE ===== */
.sobre-footer {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050709 100%);
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-kanji {
    font-family: 'Noto Sans JP', serif;
    font-size: 6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.footer-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.footer-author {
    font-size: 1rem;
    color: var(--accent);
    font-style: normal;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.feature-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.feature-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .dev-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dev-avatar {
        margin-bottom: 20px;
    }

    .dev-bio p {
        text-align: left;
    }

    .dev-skills {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .sobre-hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .contribua-cards {
        grid-template-columns: 1fr;
    }

    .parallax-divider {
        height: 300px;
    }

    .kanji-large {
        font-size: 4rem;
    }

    .sobre-section {
        padding: 60px 20px;
    }

    .avatar-placeholder {
        width: 150px;
        height: 150px;
    }

    .avatar-ring {
        width: 170px;
        height: 170px;
    }

    .avatar-initials {
        font-size: 3rem;
    }

    .dev-name {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 6px 15px;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .visual-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .footer-quote {
        font-size: 1.2rem;
    }
}

/* ===== DISABLE PARALLAX ON MOBILE FOR PERFORMANCE ===== */
@media (max-width: 768px) {
    .parallax-bg {
        transform: none !important;
    }
}
