/* Crypto Real Estates - Modern Theme 
    Style: Glassmorphism / Dark Mode / Cyber Blue
*/

@charset "utf-8";

:root {
    --bg-dark: #020205;
    --bg-panel: #0a0a0f;
    --primary-blue: #0044cc;
    --cyan-accent: #00d4ff;
    --text-white: #ffffff;
    --text-gray: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(0, 212, 255, 0.4);
    --font-main: 'Outfit', 'Arial', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

nav.scrolled { padding: 15px 40px; }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px var(--cyan-accent));
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-text .thin { font-weight: 300; opacity: 0.8; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--cyan-accent);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-blue), #002266);
    border: 1px solid var(--cyan-accent);
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-cta:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--primary-blue);
    top: -100px; left: -100px;
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.orb-2 {
    width: 300px; height: 300px;
    background: var(--cyan-accent);
    bottom: -50px; right: -50px;
    opacity: 0.2;
    animation: float 8s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan-accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--cyan-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    padding: 16px 40px;
    background: var(--cyan-accent);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    box-shadow: var(--glow);
    background: #fff;
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: var(--cyan-accent);
    color: var(--cyan-accent);
}

.hero-grid-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.grid-stat {
    display: flex;
    flex-direction: column;
}

.grid-stat .num { font-size: 24px; font-weight: 700; color: #fff; }
.grid-stat .lbl { font-size: 12px; color: var(--cyan-accent); text-transform: uppercase; letter-spacing: 1px; }

/* Scroll Mouse */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.mouse {
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px; height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* --- Vision Section (Glass Cards) --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.subtitle { color: var(--cyan-accent); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; display: block; margin-bottom: 10px; }
.title { font-size: 40px; color: white; margin: 0; }

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-accent);
    box-shadow: var(--glow);
}

.featured-glass {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(0, 68, 204, 0.05));
    border-color: rgba(0, 212, 255, 0.2);
}

.card-icon { font-size: 40px; margin-bottom: 20px; }
.glass-card h3 { font-size: 22px; margin-bottom: 15px; }
.glass-card p { color: var(--text-gray); font-size: 15px; }

/* --- Process Section (Timeline) --- */
.process { background: #050508; }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-info .title { margin-bottom: 20px; text-align: left; }
.process-info p { color: var(--text-gray); margin-bottom: 30px; font-size: 16px; }
.btn-text { color: var(--cyan-accent); text-decoration: none; font-weight: 700; font-size: 18px; transition: 0.3s; }
.btn-text:hover { margin-left: 10px; }

.timeline { border-left: 2px solid var(--glass-border); padding-left: 40px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-number {
    position: absolute;
    left: -61px;
    width: 40px; height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--cyan-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan-accent);
    font-weight: 700;
    font-size: 14px;
}

.timeline-content h4 { font-size: 20px; margin-bottom: 5px; color: white; }
.timeline-content p { color: var(--text-gray); font-size: 14px; }

/* --- Services Section (Horizontal Boxes) --- */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.service-box {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    group: pointer;
}

.service-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 68, 204, 0.3), transparent);
    transition: 0.5s;
    opacity: 0.5;
}

.service-box:hover .service-bg { transform: scale(1.5); opacity: 0.8; }

.service-content { position: relative; z-index: 2; padding: 30px; }
.service-content h3 { font-size: 28px; margin-bottom: 10px; }
.service-content .code { color: var(--cyan-accent); font-family: monospace; margin-bottom: 15px; font-size: 12px; }
.service-content p { color: var(--text-gray); }

/* --- Contact Section --- */
.contact { position: relative; overflow: hidden; }
.contact-bg {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1), transparent 50%);
    z-index: -1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-list { margin-top: 40px; }
.info-row { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.icon { font-size: 24px; filter: grayscale(1); transition: 0.3s; }
.info-row:hover .icon { filter: grayscale(0); transform: scale(1.2); }
.info-row strong { color: white; display: block; margin-bottom: 5px; }
.info-row p { color: var(--text-gray); font-size: 14px; }

.contact-form-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(20px);
}

.input-group { position: relative; margin-bottom: 30px; }
.input-group input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}
.input-group label {
    position: absolute;
    top: 15px; left: 0;
    color: #666;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus, .input-group input:valid { border-bottom-color: var(--cyan-accent); }
.input-group input:focus ~ label, .input-group input:valid ~ label {
    top: -10px; font-size: 12px; color: var(--cyan-accent);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.submit-btn:hover { background: var(--cyan-accent); color: black; box-shadow: var(--glow); }

/* --- Footer --- */
footer { border-top: 1px solid var(--glass-border); padding: 40px 0; background: #000; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand h3 { font-size: 18px; margin-bottom: 5px; }
.footer-brand p { color: #555; font-size: 12px; }
.footer-copy p { color: #555; font-size: 13px; }

/* --- Mobile --- */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 30px; height: 2px; background: white; }
.mobile-nav { 
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; 
    background: #000; z-index: 999; transition: 0.4s; display: flex; align-items: center; justify-content: center; 
}
.mobile-nav.active { right: 0; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-nav-links a { display: block; font-size: 30px; margin: 20px 0; text-decoration: none; color: white; font-weight: 700; }

@media (max-width: 900px) {
    .split-layout, .contact-wrapper { grid-template-columns: 1fr; }
    .process-info { text-align: center; } .process-info .title { text-align: center; }
    .timeline { margin-left: 20px; margin-top: 40px; }
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 40px; }
}
/* --- NEW: Scroll Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for cards (so they pop up one by one) */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.5s; }

/* --- NEW: Photo Background Styles --- */
/* This ensures the photos cover the box perfectly with a blue tint */
.photo-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
    filter: brightness(0.6) contrast(1.2);
}

/* Hover effect: Photo zooms in and brightens */
.service-box:hover .photo-bg {
    transform: scale(1.1);
    filter: brightness(0.8) contrast(1.1);
}

/* Gradient overlay so text remains readable over photos */
.overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, #000 0%, rgba(0, 68, 204, 0.4) 50%, rgba(0, 212, 255, 0.1) 100%);
    z-index: 2;
}

/* Hero Background Photo */
/* --- UPDATED: Moving Background Animation --- */
@keyframes panAndZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(-2%, 1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Hero Background Photo */
.hero-photo {
    position: absolute;
    width: 100%; 
    height: 100%;
    /* High-quality building/skyline image */
    background: url('https://images.unsplash.com/photo-1512453979798-5ea936a2d15e?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.5;
    z-index: -2;
    /* Apply the moving animation */
    animation: panAndZoom 25s infinite ease-in-out;
    will-change: transform;
}

/* Nav Link Active State (Ensure this stands out) */
.nav-link.active {
    color: var(--cyan-accent) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan-accent);
    box-shadow: 0 0 10px var(--cyan-accent);
}
