:root {
    --bg: #F9F9F9;           /* Off-white / Snow */
    --primary: #2C3E50;      /* Midnight Blue / Granite */
    --accent: #E67E22;       /* Terracotta / Sunset */
    --secondary: #27AE60;    /* Pine Green */
    --text: #1A1A1A;
    --light-text: #555555;
    --white: #ffffff;
    --shadow-soft: 0 20px 50px rgba(0,0,0,0.05);
    --shadow-heavy: 0 30px 80px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--text); 
    line-height: 1.7; 
    background-color: var(--bg);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* REVEAL ANIMATION */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
nav { 
    padding: 30px 0; 
    position: fixed; 
    width: 100%; 
    z-index: 1000; 
    transition: var(--transition);
}
nav.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.6rem; 
    color: var(--primary); 
    font-weight: 700; 
    letter-spacing: -0.5px;
}

.nav-links a { 
    margin-left: 35px; 
    color: var(--primary); 
    font-weight: 500; 
    font-size: 0.9rem; 
    opacity: 0.7; 
}
.nav-links a:hover { opacity: 1; color: var(--accent); }

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: 4px;
    opacity: 1 !important;
}

/* HERO */
.hero { 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #f3f4f6 100%);
}

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

.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 5rem; 
    line-height: 1.1; 
    margin-bottom: 25px; 
    color: var(--primary); 
}
.hero h1 span { color: var(--accent); font-style: italic; }

.hero p { font-size: 1.2rem; color: var(--light-text); margin-bottom: 40px; font-weight: 300; max-width: 500px; }

.hero-actions { display: flex; align-items: center; gap: 25px; }

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 18px 35px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(44,62,80,0.2); }

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    transition: var(--transition);
    display: inline-block;
}

.btn-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.btn-large { font-size: 1.1rem; padding: 20px 45px; }

.hero-visual { position: relative; }

.mockup-container {
    position: relative;
    border-radius: 12px;
    perspective: 1000px;
}

.hero-img-main {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    transform: rotateY(-5deg);
}

.dashboard-mockup {
    position: absolute;
    top: 15%;
    left: -15%;
    width: 80%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateZ(50px);
}

.mockup-header { height: 30px; background: #f1f5f9; display: flex; gap: 6px; padding: 10px; }
.mockup-header span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }

.mockup-body { padding: 20px; display: grid; grid-template-columns: 40px 1fr; gap: 15px; }
.mock-sidebar { height: 150px; background: #f8fafc; border-radius: 4px; }
.mock-stat { height: 40px; background: #eff6ff; border-radius: 4px; margin-bottom: 10px; }
.mock-chart { height: 80px; background: linear-gradient(to right, #e0f2fe, #dcfce7); border-radius: 4px; }

/* TRUST BAR */
.trust-bar { padding: 40px 0; background: white; border-bottom: 1px solid #eee; }
.flex-center { display: flex; justify-content: center; align-items: center; gap: 40px; }
.trust-bar span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; }
.partner-logos { display: flex; gap: 40px; font-size: 1.8rem; color: #cbd5e1; }

/* FEATURES */
.features { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--primary); margin-bottom: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.feat-card { 
    background: white; padding: 50px; border-radius: 12px; border: 1px solid #f1f5f9;
    transition: var(--transition);
}
.feat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); border-color: var(--accent); }

.feat-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 30px; }
.feat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 15px; }
.feat-card p { color: var(--light-text); font-weight: 300; }

/* TEMPLATES */
.template-showcase { padding: 120px 0; background: #1A252F; color: white; }
.template-showcase h2 { color: white; font-size: 3.5rem; margin-bottom: 30px; }
.template-showcase .badge { background: rgba(230, 126, 34, 0.2); color: var(--accent); }

.theme-selector-mock { display: flex; gap: 15px; margin-top: 40px; }
.theme-btn { 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); 
    color: white; padding: 12px 25px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.theme-btn.active { background: var(--accent); border-color: var(--accent); }

.theme-preview-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.theme-preview-card img { width: 100%; display: block; filter: brightness(0.8); }
.preview-overlay { position: absolute; bottom: 30px; left: 30px; background: white; color: black; padding: 10px 20px; font-weight: 700; font-size: 0.7rem; letter-spacing: 2px; }

/* NUMBERS */
.numbers-section { padding: 100px 0; background: white; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.num-item .val { font-size: 3.5rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display'; }
.num-item p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: #94a3b8; margin-top: 10px; }

/* CONTACT */
.contact { padding: 120px 0; }
.contact-box { background: var(--primary); padding: 100px; border-radius: 20px; text-align: center; color: white; }
.contact-box h2 { font-family: 'Playfair Display'; font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.contact-box p { font-size: 1.2rem; opacity: 0.7; margin-bottom: 50px; font-weight: 300; }
.contact-links { margin-top: 40px; font-size: 1.2rem; }
.contact-links a { color: white; opacity: 0.6; }

/* FOOTER */
footer { padding: 100px 0 50px; background: white; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
.footer-brand .footer-logo { font-size: 1.8rem; font-family: 'Playfair Display'; font-weight: 700; margin-bottom: 20px; }
.footer-brand p { max-width: 300px; color: #94a3b8; }
.footer-links h4 { margin-bottom: 25px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: var(--primary); }
.footer-links a { display: block; margin-bottom: 15px; color: #64748b; font-size: 0.9rem; }
.footer-bottom { text-align: center; margin-top: 80px; padding-top: 30px; border-top: 1px solid #f1f5f9; color: #cbd5e1; font-size: 0.8rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
    .mockup-container { max-width: 600px; margin: 0 auto; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
}
