/* ==========================================================================
   OROLIUS - MAIN STYLESHEET
   Design Aesthetic: High-Contrast Minimalist, Monochrome Elegance with Vibrant Accents
   ========================================================================== */

:root {
    --color-bg: #ffffff;
    --color-text: #050505;
    --color-muted: #666666;
    --color-card-bg: #f9f9fb;
    --color-card-border: #e8e8ed;
    --color-accent-pink: #ff3b70;
    --color-accent-red: #e63946;
    --color-accent-gold: #d4af37;
    --color-accent-blue: #2563eb;
    --color-accent-purple: #7c3aed;
    --color-accent-green: #10b981;
    --font-main: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-pixel: 'Press Start 2P', cursive;
    --transition-speed: 0.35s;
    --radius-pill: 50px;
    --radius-card: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Header Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
}

.header-left:hover {
    transform: scale(1.03);
}

.mini-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f4;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-back-btn:hover {
    background: #000000;
    color: #ffffff;
}

.active-portal-badge {
    background: #000000;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   View Container Switcher
   -------------------------------------------------------------------------- */
.view-container {
    display: none;
    opacity: 0;
    min-height: 100vh;
    padding-top: 80px;
    transition: opacity var(--transition-speed) ease-in-out;
}

.view-container.active {
    display: flex;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Main Gateway / Landing Page (Matches Provided Image)
   -------------------------------------------------------------------------- */
#landing-gate {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 60px;
}

.hero-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.large-octopus-badge {
    margin-bottom: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.large-octopus-badge:hover {
    transform: rotate(5deg) scale(1.05);
}

.landing-title {
    font-size: 64px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 45px;
    color: #000000;
}

.portal-selector-group {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pill-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 54px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.pill-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    background-color: #1a1a1a;
}

.pill-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Floating Bottom Right Social Buttons */
.floating-social-group {
    position: fixed;
    bottom: 35px;
    right: 40px;
    display: flex;
    gap: 14px;
    z-index: 90;
}

.social-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.social-circle-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* --------------------------------------------------------------------------
   Individual & Business Portal View Layout
   -------------------------------------------------------------------------- */
#individual-portal, #business-portal {
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 80px 20px;
    width: 100%;
}

.portal-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.portal-hero {
    text-align: center;
    margin-bottom: 60px;
}

.portal-tag {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.portal-tag.business-tag {
    background: var(--color-accent-blue);
}

.portal-hero h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.portal-hero p {
    font-size: 18px;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Product Card Styling */
.product-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-card);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #d0d0d8;
}

.product-card.featured-card {
    border: 2px solid var(--color-accent-gold);
    background: linear-gradient(180deg, #fffdf5 0%, #fefcf0 100%);
}

.product-card.featured-business {
    border: 2px solid var(--color-accent-purple);
    background: linear-gradient(180deg, #fbf7ff 0%, #f6f0fe 100%);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.card-badge.pink { background: #ffe4ed; color: var(--color-accent-pink); }
.card-badge.red { background: #ffe3e3; color: var(--color-accent-red); }
.card-badge.gold { background: #fef0c7; color: #b45309; }
.card-badge.blue { background: #dbeafe; color: var(--color-accent-blue); }
.card-badge.purple { background: #ede9fe; color: var(--color-accent-purple); }
.card-badge.green { background: #d1fae5; color: var(--color-accent-green); }

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.card-desc {
    font-size: 15px;
    color: var(--color-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333;
}

.card-footer {
    display: flex;
    gap: 12px;
}

.card-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.card-btn.primary {
    background-color: #000000;
    color: #ffffff;
}

.card-btn.primary:hover {
    background-color: #222222;
    transform: scale(1.02);
}

.card-btn.secondary {
    background-color: #eef0f4;
    color: var(--color-text);
}

.card-btn.secondary:hover {
    background-color: #e0e3ec;
}

/* --------------------------------------------------------------------------
   Modal System & Interactive Demos
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 680px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.modal-close-btn:hover { color: #000; }

.modal-body {
    padding: 36px;
}

/* Demo Container Styling */
.demo-box {
    text-align: center;
}

.demo-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo-sub {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 24px;
}

/* Crush Demo Playground */
.crush-playground {
    background: #fff0f5;
    border: 2px dashed #ffb6c1;
    border-radius: 18px;
    padding: 30px 20px;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.crush-prompt {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #d63384;
}

.crush-btn-group {
    display: flex;
    gap: 20px;
    position: relative;
    min-width: 280px;
    justify-content: center;
}

.btn-yes {
    background: #ff3b70;
    color: white;
    padding: 12px 30px;
    border-radius: 20px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 59, 112, 0.4);
}

.btn-no-evasive {
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border-radius: 20px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: all 0.15s ease;
}

/* GF/BF Counter Demo */
.counter-box {
    background: #111115;
    color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent-pink);
    font-family: var(--font-mono);
}

.time-label {
    font-size: 11px;
    letter-spacing: 1px;
    color: #a0a0ab;
    text-transform: uppercase;
}

/* Rakhi Tying Simulator Demo */
.rakhi-sim-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fdba74;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.rakhi-graphic {
    font-size: 64px;
    margin: 15px 0;
    animation: floatRakhi 3s ease-in-out infinite;
}

@keyframes floatRakhi {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* AI Bot Simulator Demo */
.chat-window {
    background: #0f172a;
    border-radius: 16px;
    padding: 20px;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-msg.bot {
    background: #1e293b;
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: var(--color-accent-blue);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-bar {
    display: flex;
    gap: 10px;
}

.chat-input-bar input {
    flex: 1;
    background: #1e293b;
    border: 1px solid #334155;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    outline: none;
}

.chat-input-bar button {
    background: var(--color-accent-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Digital Loyalty Card Stamp Demo */
.loyalty-card-demo {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(4, 120, 87, 0.3);
}

.stamps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.stamp-slot {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.15);
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.stamp-slot.stamped {
    background: #ffffff;
    color: #047857;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Order / Customization Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #d0d0d8;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #000000;
}

.submit-order-btn {
    background: #000000;
    color: #ffffff;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.submit-order-btn:hover {
    background: #222222;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }
    
    .landing-title {
        font-size: 42px;
        margin-bottom: 30px;
    }

    .large-octopus-badge svg {
        width: 120px;
        height: 120px;
    }

    .portal-selector-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .pill-btn {
        width: 100%;
        padding: 16px 30px;
    }

    .floating-social-group {
        bottom: 20px;
        right: 20px;
    }

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