/* WPS Creative Series B - Cream & Orange Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-cream: #FFF8F0;
    --bg-surface: #FFFFFF;
    --wps-red: #E63946;
    --wps-orange: #F4A261;
    --wps-yellow: #E9C46A;
    --wps-teal: #2A9D8F;
    --text-main: #1D3557;
    --text-light: #6D7D8B;
    --shadow-soft: 0 20px 40px rgba(29, 53, 87, 0.08);
    --radius-lg: 32px;
    --radius-md: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* Floating Navbar */
.nav-container {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none; /* Let clicks pass through around the nav */
}

.floating-nav {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 12px 32px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.5);
}

.nav-logo {
    font-weight: 800;
    font-size: 20px;
    color: var(--wps-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 600;
    font-size: 14px;
}

.nav-link {
    color: var(--text-main);
    transition: color 0.2s;
}

.nav-link:hover { color: var(--wps-red); }

.nav-btn {
    background: var(--wps-red);
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s;
}

.nav-btn:hover { transform: scale(1.05); }

/* Hero Section */
.hero {
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: blob-float 10s infinite alternate;
}

.blob-1 { top: -100px; left: -100px; width: 600px; height: 600px; background: #FFDDD2; }
.blob-2 { bottom: -100px; right: -100px; width: 500px; height: 500px; background: #D8E2DC; }

@keyframes blob-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--wps-red) 0%, var(--wps-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Bento Grid */
.bento-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-lg { grid-column: span 2; grid-row: span 2; background: #fff; }
.card-wide { grid-column: span 2; background: #FDFCDC; }
.card-tall { grid-row: span 2; background: #EDF6F9; }
.card-sm { background: #FFEDD8; }

.bento-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
}

.bento-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

/* Feature: Animated Typewriter in Bento */
.typewriter-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    font-family: monospace;
    font-size: 14px;
    color: #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cursor { display: inline-block; width: 2px; height: 14px; background: var(--wps-red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Section Headers */
.section-header {
    text-align: center;
    margin: 100px 0 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--wps-orange);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
}

/* Interactive/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    height: 240px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
    font-weight: 600;
}

/* Security Shield */
.security-viz {
    max-width: 1000px;
    margin: 100px auto;
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: var(--shadow-soft);
}

.shield-icon {
    font-size: 120px;
    color: var(--wps-teal);
    position: relative;
}

.shield-icon::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 40px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Global Stats */
.stats-row {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 60px auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--wps-orange);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
}

/* Feature Sections */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-img {
    flex: 1;
    height: 400px;
    background: #fff;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.feature-img:hover {
    transform: scale(1.02);
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #E0F2F1;
    color: var(--wps-teal);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    width: 600px;
    max-width: 90%;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-close:hover {
    color: var(--wps-red);
}

/* Scroll Section */
.scroll-showcase {
    background: var(--text-main);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.scroll-item {
    width: 300px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Download Split Layout */
.split-layout {
    display: flex;
    min-height: 100vh;
}

.split-left {
    flex: 1;
    background: #FDFCDC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.split-right {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.device-stack {
    position: relative;
    width: 400px;
    height: 400px;
}

.device-card {
    position: absolute;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-main);
    transition: 0.5s;
}

.d-desktop { width: 360px; height: 240px; top: 0; left: 20px; z-index: 1; }
.d-tablet { width: 200px; height: 260px; top: 80px; right: -20px; z-index: 2; background: #EDF6F9; }
.d-mobile { width: 120px; height: 220px; bottom: -40px; left: 40px; z-index: 3; background: #FFDDD2; }

.split-left:hover .d-desktop { transform: translateY(-20px); }
.split-left:hover .d-tablet { transform: translateX(20px); }
.split-left:hover .d-mobile { transform: translateY(20px); }

/* Footer */
.footer-creative {
    background: #fff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 40px 40px 0 0;
}

.footer-link {
    margin: 0 15px;
    font-weight: 600;
    color: var(--text-main);
}
