/* =========================
   RAWPEAK MASTER CSS
   CLEAN PRODUCTION FINAL (1:1 STRUCTURE SAFE)
========================= */

/* =========================
   ROOT
========================= */
:root{
--bg:#050505;
--heading:#F1EADB;
--body:#D8D1C4;
--muted:#A89F91;
--accent:#D6A04A;

--text:#F1EADB;
--accent-soft:#D9B47A;
}

/* =========================
   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/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;
opacity:0;
transform:translateY(30px);
animation:heroFloat 1.4s ease forwards;
}

.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
========================= */
.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;
}

.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);
}

.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{
margin-top:22px;
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

/* =========================
   SECTIONS
========================= */
.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
========================= */
.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);
overflow:hidden;
position:relative;
}

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

/* =========================
   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;
filter:grayscale(100%);
opacity:.85;
transition:.3s ease;
}

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

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

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

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

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

.cta h2{
font-size:32px;
margin-bottom:10px;
}

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

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

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp{
to{opacity:1;transform:translateY(0);}
}

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

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

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

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

.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:.35;
transition:.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%;
top:10px;
transform:translateX(-50%);
box-shadow:0 0 20px var(--accent);
}

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

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

.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;
}

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

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

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

.card-content{
padding:14px;
}

.card-title{
font-size:11.5px;
letter-spacing:1.4px;
text-transform:uppercase;
}

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

.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){

.nav-links{gap:10px;}

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

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

.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%;
gap:16px;
}

.split .image{
height:260px;
}

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

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

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

.card img{
height:160px;
}
}

/* =========================
   BUTTON DISABLED FIX
========================= */
.btn.disabled{
opacity:.35;
pointer-events:none;
}