
/* Sobre Page Specific Styles */

.sobre-page {
    padding-top: 80px; /* Header compensation */
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-sobre {
    min-height: calc(85vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-sobre-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-sobre .eyebrow {
    margin-bottom: 24px;
}

.hero-sobre h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    font-weight: 800;
}

.hero-sobre .hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-sobre .tag-line {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--muted-2);
    text-transform: uppercase;
}

.hero-sobre .tag-line span:after {
    content: "•";
    margin-left: 15px;
    color: var(--accent);
    opacity: 0.5;
}

.hero-sobre .tag-line span:last-child:after {
    display: none;
}

.hero-sobre-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sobre-visual::before {
    content: "M.";
    position: absolute;
    font-size: 400px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.02;
    z-index: 1;
    line-height: 1;
}

.tech-composition {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 400px;
}

.tech-element {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px 12px;
    background: var(--bg-2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    backdrop-filter: blur(4px);
}

.tech-element.build { top: 10%; left: 10%; }
.tech-element.create { bottom: 20%; right: 15%; }
.tech-element.evolve { top: 40%; right: 5%; }

.tech-lines {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, var(--line) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
}

.hero-sobre .lify-mini {
    position: absolute;
    width: clamp(220px, 20vw, 260px); 
    bottom: 0%;
    right: 10%;
    left: auto;
    z-index: 3;
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(139,92,246,0.15));
    object-fit: contain;
}

/* Manifesto Section */
.manifesto {
    padding: 100px 0;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.manifesto-quote {
    padding: 40px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    position: relative;
}

.manifesto-quote blockquote {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 24px 0;
    color: var(--text);
}

.manifesto-quote .quote-id {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
}

/* History Timeline */
.history {
    padding: 100px 0;
}

.history-timeline {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.history-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    opacity: 0.1;
    -webkit-text-stroke: 1px var(--accent);
}

.timeline-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accent);
}

.timeline-step p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* How We Think */
.thinking {
    padding: 100px 0;
    background: var(--bg-2);
}

.thinking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.think-item {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: default;
    background: var(--bg);
}

.think-item:hover {
    border-color: var(--accent-line);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.think-item .num {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted-2);
    margin-bottom: 15px;
    display: block;
    transition: 0.3s;
}

.think-item:hover .num {
    color: var(--accent);
}

.think-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.think-item p {
    font-size: 14px;
    color: var(--muted);
}

/* Structure */
.structure {
    padding: 100px 0;
}

.structure-list {
    margin-top: 50px;
    display: grid;
    gap: 15px;
}

.structure-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.structure-card .card-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.05;
}

.structure-card h3 {
    font-size: 20px;
    margin: 0;
}

.structure-card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    max-width: 400px;
}

/* Lify Mascot Section */
.lify-intro-section {
    padding: 120px 0;
    background: radial-gradient(circle at 70% 50%, rgba(139,92,246,0.03), transparent 50%);
}

.lify-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.lify-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.lify-visual .main-lify {
    width: clamp(280px, 35vw, 440px); 

    z-index: 2;
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
}

.lify-visual .hud-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg);
    border: 1px solid var(--accent-line);
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.lify-visual .hud-label span {
    color: var(--accent);
    margin-left: 10px;
}

.lify-attributes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 32px;
}

.attr-pill {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--muted);
    text-transform: uppercase;
}

/* Vision Section */
.vision {
    padding: 140px 0;
    text-align: center;
    position: relative;
}

.vision::before {
    content: "M.";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 500px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.01;
    z-index: -1;
}

.vision h2 {
    font-size: clamp(32px, 4vw, 54px);
    margin-bottom: 30px;
}

.vision p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.vision-tagline {
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-size: 14px;
}

/* Final CTA */
.cta-sobre {
    padding: 80px 0 120px;
}

.cta-container {
    background: #0b0e0f;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.cta-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(139,92,246,0.05), transparent 60%);
    pointer-events: none;
}

.cta-sobre h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-sobre p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.cta-sobre .hero-actions {
    margin-top: 0;
}

.cta-visual-final {
    display: flex;
    justify-content: center;
    position: relative;
}

.cta-visual-final img {
    width: clamp(200px, 25vw, 320px); 

    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    object-fit: contain;
    transform: translateY(-10px);
}

/* Light Mode Adjustments */
.light-mode .thinking { background: var(--bg-2); }
.light-mode .think-item { background: var(--surface); }
.light-mode .cta-container { background: var(--surface); box-shadow: var(--shadow); }
.light-mode .step-number { opacity: 0.05; }
.light-mode .hero-sobre-visual::before { opacity: 0.015; }
.light-mode .vision::before { opacity: 0.008; }

/* Responsive */
@media (max-width: 991px) {
    .hero-sobre-grid, .manifesto-grid, .thinking-grid, .lify-grid, .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-sobre { min-height: auto; }
    .hero-sobre .hero-desc, .manifesto p, .vision p { margin-left: auto; margin-right: auto; }
    .hero-sobre .tag-line { justify-content: center; }
    .history-timeline {
        grid-template-columns: 1fr;
        padding-left: 30px;
    }
    .history-timeline::before {
        width: 1px;
        height: 100%;
        left: 0;
        top: 0;
    }
    .timeline-step {
        padding-top: 0;
        padding-bottom: 40px;
    }
    .timeline-step:last-child { padding-bottom: 0; }
    .structure-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    .structure-card p { margin: 0 auto; }
    .lify-attributes { justify-content: center; }
    .cta-visual-final { order: -1; }
}

@media (max-width: 620px) {
    .hero-sobre h1 { font-size: 38px; }
    .manifesto-quote blockquote { font-size: 18px; }
    .hero-sobre .tag-line { flex-wrap: wrap; }
    .hero-sobre .tag-line span:after { display: none; }
}

/* =========================================================================
   SOBRE 2.0 — editorial rebuild: section rhythm + de-HUD-ified visuals
   ========================================================================= */
.hero-sobre{ background:var(--ink,#0a0a0a); color:#f4f4f1; min-height:calc(100vh - 80px); }
.hero-sobre .eyebrow{ background:none; border-color:rgba(255,255,255,.2); color:#9aa89a; }
.hero-sobre .eyebrow-dot{ background:var(--accent); }
.hero-sobre h1{ font-size:clamp(46px,6.6vw,92px); }
.hero-sobre .accent{ color:var(--accent); }
.hero-sobre .hero-desc{ color:#a9afa6; }
.hero-sobre .tag-line{ color:#767c76; border-color:rgba(255,255,255,.12); }

/* de-HUD the composition: one clean cropped mascot, no floating chip UI */
.tech-lines{ display:none; }
.tech-element{ display:none; }
.hero-sobre-visual::before{ display:none; }
.hero-sobre .lify-mini{ position:relative; width:clamp(260px,26vw,380px); right:auto; margin:0 auto; opacity:1; filter:drop-shadow(0 25px 50px rgba(0,0,0,.5)); }
.tech-composition{ display:flex; align-items:center; justify-content:center; height:auto; }

.manifesto{ background:var(--paper,#f3f1ec); color:#111; }
.manifesto .muted, .manifesto p{ color:#5a5a54 !important; }
.manifesto h2{ font-size:clamp(30px,4vw,50px); }
.manifesto-quote{ background:transparent; border-left-color:var(--accent); }
.manifesto-quote blockquote{ color:#111; }

.history{ background:var(--graphite,#17181a); color:#f2f2ef; }
.history .section-kicker{ color:var(--accent); }
.history h2{ font-size:clamp(30px,4vw,50px); }
.timeline-step p{ color:#9aa09a; }

.thinking{ background:var(--ink,#0a0a0a); color:#f4f4f1; }
.thinking h2{ font-size:clamp(30px,4vw,50px); }
.thinking p{ color:#9aa09a; }
.think-item{ background:transparent; border-color:rgba(255,255,255,.1); }

.structure{ background:var(--paper,#f3f1ec); color:#111; }
.structure h2{ font-size:clamp(30px,4vw,50px); }
.structure-card{ background:#fff; border-color:rgba(10,10,10,.1); }
.structure-card p{ color:#5a5a54; }

.lify-intro-section{ background:var(--graphite,#17181a); color:#f2f2ef; }
.lify-intro-section h2{ font-size:clamp(30px,4vw,50px); }
.lify-intro-section p{ color:#9aa09a !important; }
.lify-visual .hud-label{ display:none; }
.attr-pill{ border-color:rgba(255,255,255,.14); color:#9aa09a; }

.vision{ background:var(--ink,#0a0a0a); color:#f4f4f1; }
.vision::before{ display:none; }
.vision h2{ font-size:clamp(34px,4.6vw,58px); }
.vision p{ color:#9aa09a; }

.social-block-sobre{ background:var(--paper,#f3f1ec) !important; border:0; }
.social-text h2{ color:#111; }
.social-text p{ color:#5a5a54; }

.cta-sobre{ background:var(--ink,#0a0a0a); }
.cta-container{ background:transparent; border:0; box-shadow:none; }
.cta-sobre h2{ font-size:clamp(34px,4.6vw,58px); color:#f4f4f1; }
.cta-sobre p{ color:#9aa09a; }
