/* =========================
   RAWPEAK MASTER CSS
   Production Final
========================= */

:root{
--bg:#050505;
--heading:#F1EADB;
--body:#D8D1C4;
--muted:#A89F91;
--accent:#D6A04A;
}

/* =========================
   RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
background:var(--bg);
color:var(--heading);
overflow-x:hidden;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}

/* =========================
   NAVIGATION
========================= */

.nav{
position:fixed;
top:0;
left:0;
right:0;
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 6%;
background:rgba(5,5,5,.65);
backdrop-filter:blur(18px);
-webkit-backdrop-filter:blur(18px);
z-index:1000;
}

.nav img{
height:42px;
display:block;
}

.nav-links{
display:flex;
align-items:center;
}

.nav-links a{
color:var(--heading);
margin-left:20px;
font-size:11px;
letter-spacing:1px;
text-decoration:none;
opacity:.75;
transition:.3s ease;
}

.nav-links a:hover{
opacity:1;
color:var(--accent);
}

/* =========================
   HERO
========================= */

.hero-apple{
height:100vh;
background:
linear-gradient(
rgba(0,0,0,.03),
rgba(0,0,0,.40)
),
url('webwallpaper.jpg') center center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
overflow:hidden;
}

.hero-content{
position:relative;
max-width:820px;
padding:0 20px;
z-index:4;
animation:fadeUp 1.2s ease forwards;
opacity:0;
transform:translateY(30px);
}

.hero-content h1{
font-size:74px;
letter-spacing:4px;
color:var(--heading);
}

.hero-content h2{
font-size:26px;
margin-top:10px;
color:var(--heading);
opacity:.95;
}

.hero-content p{
margin-top:18px;
max-width:600px;
margin-left:auto;
margin-right:auto;
font-size:14px;
line-height:1.7;
color:var(--body);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}


/* =========================
   BUTTONS (RAWPEAK FIXED)
========================= */

.btn,
.btn-outline{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 18px;
border-radius:10px;
font-size:11px;
letter-spacing:1px;
text-decoration:none;
transition:.3s ease;
line-height:1;
}

/* PRIMARY BUTTON */
.btn{
background:var(--heading);
color:var(--bg);
border:1px solid rgba(241,234,219,.25);
margin-top:18px;
}

.btn:hover{
background:transparent;
color:var(--heading);
border-color:rgba(241,234,219,.5);
transform:translateY(-2px);
}

/* OUTLINE BUTTON */
.btn-outline{
background:transparent;
border:1px solid var(--heading);
color:var(--heading);
margin-top:18px;
}

.btn-outline:hover{
background:var(--heading);
color:var(--bg);
transform:translateY(-2px);
}
/* =========================
   CTA ROW
========================= */

.cta-row{
margin-top:22px;
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

/* =========================
   INTRO SECTION
========================= */

.section{
padding:90px 8%;
text-align:center;
}

.title{
font-size:28px;
margin-bottom:12px;
color:var(--heading);
}

.section p{
max-width:800px;
margin:auto;
font-size:14px;
line-height:1.7;
color:var(--body);
}

/* =========================
   SPLIT SECTIONS
========================= */

.split{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
padding:40px 8% 100px;
}

.reverse{
flex-direction:row-reverse;
}

.split .text{
flex:1;
}

.split .text h2{
font-size:32px;
margin-bottom:10px;
color:var(--heading);
}

.split .text p{
line-height:1.7;
color:var(--body);
}

.split .image{
flex:1;
height:420px;
border-radius:16px;
background-size:cover;
background-position:center;
box-shadow:0 20px 60px rgba(0,0,0,.5);

position:relative;
overflow:hidden;
}

.split .image::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to bottom,
rgba(0,0,0,0),
rgba(0,0,0,0.30)
);
pointer-events:none;
}

/* =========================
   LOGO STRIP
========================= */

.logo-strip{
display:flex;
justify-content:center;
align-items:center;
gap:50px;
padding:60px 6%;
flex-wrap:wrap;
opacity:.9;

border-top:1px solid rgba(241,234,219,.08);
border-bottom:1px solid rgba(241,234,219,.08);
}

.logo-strip img{
height:120px;
width:auto;
filter:grayscale(100%);
opacity:.85;
transition:.3s ease;
}

.logo-strip img:hover{
filter:grayscale(0%);
opacity:1;
transform:scale(1.08);
}
/* =========================
   SOCIAL ICONS
========================= */

.social-icons{
display:flex;
justify-content:center;
gap:30px;
padding:30px 0;
}

.social-icons a{
font-size:20px;
text-decoration:none;
color:var(--heading);
opacity:.7;
transition:.3s ease;
}

.social-icons a:hover{
opacity:1;
transform:translateY(-3px);
color:var(--accent);
}

/* =========================
   CTA SECTION
========================= */

.cta{
padding:100px 8%;
text-align:center;
background:linear-gradient(
var(--bg),
#0B0B0B
);
}

.cta h2{
font-size:32px;
margin-bottom:10px;
color:var(--heading);
}

.cta p{
margin-bottom:20px;
color:var(--body);
line-height:1.7;
}

/* =========================
   FOOTER
========================= */

.footer{
text-align:center;
padding:30px;
font-size:10px;
color:var(--muted);
border-top:1px solid rgba(241,234,219,.08);
}

.footer-divider{
width:80px;
height:1px;
margin:12px auto;
background:rgba(241,234,219,.15);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp{
to{
opacity:1;
transform:translateY(0);
}
}

.fade,
.reveal{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

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

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

.nav-links{
display:flex;
gap:10px;
}

.nav-links a{
margin-left:0;
font-size:10px;
}

.hero-content h1{
font-size:34px;
line-height:1.05;
letter-spacing:1px;
}

.hero-content h2{
font-size:20px;
}

.hero-content p{
font-size:12.5px;
}

.section{
padding:70px 8%;
}

.title{
font-size:22px;
}

.split{
flex-direction:column;
padding:70px 8%;
}

.reverse{
flex-direction:column;
}

.split .image{
height:260px;
width:100%;
}

.split .text h2{
font-size:24px;
}

.cta{
padding:70px 8%;
}

.cta h2{
font-size:24px;
}

.logo-strip{
gap:20px;
}

.logo-strip img{
height:34px;
}
}

/* =========================
   CINEMATIC SCROLL UPGRADE
========================= */

/* Smooth premium scroll */
html {
scroll-behavior: smooth;
}

/* Better GPU rendering for smooth motion */
.hero-apple,
.split .image {
will-change: transform;
transform: translateZ(0);
}

/* =========================
   SOFT PARALLAX BASE
========================= */

.parallax {
transform: translateY(0);
transition: transform 0.1s linear;
}

/* Depth overlay refinement */
.hero-apple::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(
circle at center,
rgba(0,0,0,0.15),
rgba(0,0,0,0.75)
);
pointer-events: none;
}

/* =========================
   CINEMATIC FADE ENHANCEMENT
========================= */

.fade {
opacity: 0;
transform: translateY(40px);
transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade.show {
opacity: 1;
transform: translateY(0);
}

/* stagger feel for sections */
.fade:nth-child(odd) {
transition-delay: 0.05s;
}

.fade:nth-child(even) {
transition-delay: 0.1s;
}

/* =========================
   SPLIT IMAGE DEPTH
========================= */

.split .image {
transform: scale(1.02);
transition: transform 1.5s ease;
}

.split:hover .image {
transform: scale(1.06);
}

/* =========================
   HERO TEXT DEPTH FLOAT
========================= */

.hero-content {
animation: heroFloat 1.4s ease forwards;
}

@keyframes heroFloat {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

.hero-apple{
position:relative;
overflow:hidden;
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

/* =========================
   UPDATE 1
========================= */

.spine-line{
position:absolute;
left:50%;
top:0;
bottom:0;
width:2px;
background:rgba(241,234,219,.10);
transform:translateX(-50%);
overflow:hidden;
}

.spine-line::after{
content:"";
position:absolute;
top:-50%;
left:0;
width:100%;
height:50%;
background:linear-gradient(to bottom, transparent, var(--accent), transparent);
animation:flow 3s linear infinite;
opacity:.6;
}

@keyframes flow{
0%{transform:translateY(0);}
100%{transform:translateY(200%);}
}

.node{
position:relative;
margin:80px 0;
opacity:0.35;
transition:0.6s ease;
}

.node.active{
opacity:1;
transform:scale(1.02);
}

.node .dot{
width:12px;
height:12px;
background:var(--accent);
border-radius:50%;
position:absolute;
left:50%;
transform:translateX(-50%);
top:10px;
box-shadow:0 0 20px var(--accent);
}

.node.active .dot{
box-shadow:0 0 35px var(--accent);
transform:translateX(-50%) scale(1.2);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* =========================
   RAWPEAK MOUNTAIN CARDS
   FINAL SYSTEM (LOJING HUB)
========================= */

.grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:16px;
margin-top:40px;
}

/* CARD BASE */
.card{
position:relative;
border-radius:14px;
overflow:hidden;
display:block;
text-decoration:none;
color:var(--heading);
background:#0c0c0c;
border:1px solid rgba(241,234,219,.08);
transition:.35s ease;
}

/* HOVER EFFECT */
.card:hover{
transform:translateY(-6px);
border-color:rgba(214,160,74,.55);
}

/* IMAGE */
.card img{
width:100%;
height:180px;
object-fit:cover;
display:block;
filter:brightness(.75);
transition:.4s ease;
}

.card:hover img{
transform:scale(1.08);
filter:brightness(1);
}

/* BADGE */
.badge{
position:absolute;
top:12px;
left:12px;
font-size:10px;
padding:6px 8px;
border-radius:8px;
background:rgba(0,0,0,.55);
border:1px solid rgba(241,234,219,.10);
color:var(--muted);
}

/* CONTENT */
.card-content{
padding:14px;
text-align:left;
}

..card .card-content .card-title{
  font-size:11px;
  letter-spacing:1.5px;
  font-weight:500;
  text-transform:uppercase;
  line-height:1.2;
}

.card-sub{
font-size:11px;
color:var(--muted);
margin-top:4px;
line-height:1.4;
}

/* ACCENT LINE */
.card::after{
content:"";
position:absolute;
bottom:0;
left:0;
width:0%;
height:2px;
background:var(--accent);
transition:.3s ease;
}

.card:hover::after{
width:100%;
}

/* MOBILE */
@media(max-width:768px){
.grid{
grid-template-columns:1fr;
}

.card img{
height:160px;
}
}

.grid .card .card-content .card-title{
  font-size:11.5px !important;
  letter-spacing:1.4px !important;
  font-weight:500 !important;
  text-transform:uppercase;
}

/* =========================
   RAWPEAK TOK NENEK MASTER FIX
   STABLE VERSION (MOBILE + HERO + ANIMATION FIX)
========================= */

/* ================= ROOT ================= */
:root{
--bg:#050505;
--text:#F1EADB;
--muted:#B8AE9F;
--accent:#D6A04A;
}

.btn.disabled{
  opacity:0.35;
  pointer-events:none;
  text-transform:uppercase;
  letter-spacing:1.5px;
}

