/* =========================================================
GLOBAL RESET
========================================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}



/* =========================================================
BASE DOCUMENT SETTINGS
========================================================= */

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:#0b0b0b;
color:white;
line-height:1.6;
animation:pageFade 0.6s ease forwards;
}



/* =========================================================
SECTION OFFSET
========================================================= */

section{
scroll-margin-top:80px;
}



/* =========================================================
NAVIGATION BAR
========================================================= */

.navbar{

position:fixed;
top:0;
width:100%;

display:flex;
justify-content:space-between;
align-items:center;

padding:20px 40px;

background:rgba(0,0,0,.5);
backdrop-filter:blur(10px);

z-index:1000;

}

.navbar.scrolled{
background:rgba(0,0,0,.85);
padding:14px 40px;
}

.navbar ul{
display:flex;
gap:25px;
list-style:none;
}

.navbar a{
text-decoration:none;
color:white;
opacity:.85;
}

.navbar a:hover{
opacity:1;
}



/* =========================================================
HAMBURGER MENU
========================================================= */

.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
gap:5px;
}

.hamburger span{
width:25px;
height:3px;
background:white;
}



/* =========================================================
HERO SECTION
========================================================= */

.hero{

height:100vh;

background:
radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 60%),
linear-gradient(120deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
url("images/hero.webp") center/cover no-repeat;

background-size:cover, 200% 200%, cover;

animation:heroGradient 18s ease infinite;

display:flex;
align-items:center;
justify-content:center;

text-align:center;

position:relative;

}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
}

.hero-content{

position:relative;
z-index:2;

max-width:800px;
padding:20px;

opacity:0;
transform:translateY(40px);
animation:heroFade 1s ease forwards;

}

.hero h1{
font-size:clamp(36px, 8vw, 64px);
}

.hero p{
font-size:clamp(16px, 3vw, 22px);
}



/* =========================================================
CONTENT SECTIONS
========================================================= */

.section{
padding:100px 40px;
max-width:1200px;
margin:auto;
}

.section.dark{
background:#060606;
}

.section h2{
font-size:36px;
margin-bottom:40px;
text-align:center;
}



/* =========================================================
CARD GRID
========================================================= */

.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.card{

background:rgba(255,255,255,.05);
padding:30px;

border-radius:14px;

border:1px solid rgba(255,255,255,.07);

transition:all .3s;

}

.card:hover{
transform:translateY(-6px);
background:rgba(255,255,255,.08);
}

.card h3{
margin-bottom:10px;
font-size:20px;
}

.card p{
opacity:.75;
}



/* =========================================================
LOGO GRID
========================================================= */

.logo-grid{

display:flex;
justify-content:center;
gap:60px;

flex-wrap:wrap;

margin-top:40px;

}

.logo-grid img{

height:60px;

opacity:.8;
transition:.3s;

}

.logo-grid img:hover{
opacity:1;
}



/* =========================================================
SCROLL REVEAL
========================================================= */

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}



/* =========================================================
SCROLL STORY SECTION
========================================================= */

.scroll-story{

height:320vh;
position:relative;

background-position:center;
background-size:cover;
background-repeat:no-repeat;

transition:
background-image 2s ease,
filter 2s ease,
transform 1.5s ease;

}

.scroll-story::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:100%;

background:
linear-gradient(
to bottom,
rgba(0,0,0,.7) 0%,
rgba(0,0,0,.35) 40%,
rgba(0,0,0,.7) 100%
);

pointer-events:none;
z-index:1;

}

.scroll-story.step-1{
filter:brightness(0.95);
background-image:url("images/story-land.webp");
}

.scroll-story.step-2{
filter:brightness(1);
background-image:url("images/story-systems.webp");
}

.scroll-story.step-3{
filter:brightness(0.92);
background-image:url("images/story-income.webp");
}



/* =========================================================
STORY PANEL
========================================================= */

.story-panel{

position:sticky;
top:0;

height:100vh;

display:flex;
align-items:center;
justify-content:center;

text-align:center;

z-index:2;

}



/* =========================================================
STORY TEXT
========================================================= */

.story-step{

position:absolute;

top:50%;
left:50%;

transform:translate(-50%, -50%) translateY(60px) scale(.96);

font-size:clamp(32px,6vw,56px);

opacity:0;

transition:
opacity 1s cubic-bezier(.22,.61,.36,1),
transform 1s cubic-bezier(.22,.61,.36,1);

z-index:3;

}

.story-step.active{

opacity:1;

transform:translate(-50%, -50%) translateY(0) scale(1);

text-shadow:
0 0 10px rgba(255,255,255,0.25),
0 0 20px rgba(255,255,255,0.15),
0 0 40px rgba(0,0,0,0.6);

background:rgba(0,0,0,0.15);

padding:20px 30px;

border-radius:12px;

backdrop-filter:blur(6px);

}


/* =========================================================
STORY CONTENT SECTION
========================================================= */

.story-section{

min-height:120vh;

display:flex;
align-items:center;

padding:120px 40px;

}

.story-container{

max-width:1200px;
margin:auto;

display:grid;
grid-template-columns:1fr 1fr;

gap:80px;

align-items:center;

}

.story-image img{

width:100%;
border-radius:12px;

transform:scale(.9);
transition:1s;

}

.story-image.active img{
transform:scale(1);
}

/* =========================================================
PARTICLES
========================================================= */

#particles{

position:absolute;

width:100%;
height:100%;

top:0;
left:0;

z-index:0;

}

#story-particles{

position:absolute;
top:0;
left:0;

width:100%;
height:100%;

z-index:1;
pointer-events:none;

}


/* =========================================================
IMAGES
========================================================= */

img{
max-width:100%;
height:auto;
}



/* =========================================================
CONTACT FORM
========================================================= */

form{
max-width:600px;
margin:40px auto;
display:flex;
flex-direction:column;
gap:20px;
}

.form-group{
display:flex;
flex-direction:column;
gap:6px;
}

input, select, textarea{
padding:12px;
border-radius:6px;
border:none;
font-family:'Inter',sans-serif;
}

button{
padding:14px;
border:none;
background:#ffffff;
color:#000;
font-weight:600;
cursor:pointer;
border-radius:6px;
}

button:hover{
opacity:0.9;
}



/* =========================================================
FOOTER
========================================================= */

footer{
text-align:center;
padding:40px;
opacity:.6;
font-size:14px;
}



/* =========================================================
MOBILE
========================================================= */

@media (max-width:768px){

.section{
padding:80px 20px;
}

.hero{
padding:0 20px;
text-align:center;
}

.card{
padding:24px;
}

.story-container{
grid-template-columns:1fr;
gap:40px;
text-align:center;
}

.hamburger{
display:flex;
}

.nav-links{

position:fixed;

top:0;
right:-100%;

height:100vh;
width:260px;

background:#0b0b0b;

flex-direction:column;

padding-top:120px;

gap:30px;

align-items:center;

transition:0.3s;

}

.nav-links.active{
right:0;
}

.nav-links li{
list-style:none;
}

}



/* =========================================================
ANIMATIONS
========================================================= */

@keyframes pageFade{

from{opacity:0;}

to{opacity:1;}

}

@keyframes heroFade{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

@keyframes heroGradient{

0%{
background-position:center, 0% 50%, center;
}

50%{
background-position:center, 100% 50%, center;
}

100%{
background-position:center, 0% 50%, center;
}

}