/* ============================================================
   Halodek - Premium Pages Light Theme Styling (Awwwards-Tier)
   Aligns perfectly with the landing page design tokens:
   White body, subtle blue-grey tints, azure accents, and
   soft ambient light shadows.
   ============================================================ */

:root {
    --premium-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --mono-font: 'JetBrains Mono', monospace;
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
    
    /* Light Theme Color Palette */
    --p-page: #ffffff;
    --p-page-2: #f4f7fc;
    --p-page-3: #eef3fb;
    
    --p-ink: #0f1417;
    --p-ink-2: #2b333b;
    --p-soft: #5b6772;
    --p-line: #e4e9f0;
    --p-line-2: #cdd6e1;
    
    --p-accent: #0a84ff;
    --p-accent-2: #0056b3;
    --p-wash: rgba(10, 132, 255, 0.06);
    --p-wash-2: rgba(10, 132, 255, 0.12);
    
    --p-shadow-soft: 0 10px 30px -15px rgba(15, 30, 60, 0.08);
    --p-shadow-card: 0 20px 40px -20px rgba(15, 30, 60, 0.12);
    --p-shadow-lift: 0 30px 60px -25px rgba(10, 60, 130, 0.15);
}

.landing main {
    background:
        radial-gradient(50vw 35vh at 85% -5%, rgba(10, 132, 255, 0.08), transparent 70%),
        radial-gradient(40vw 30vh at 15% 10%, rgba(10, 132, 255, 0.04), transparent 75%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    color: var(--p-ink);
}

.bg-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.05) 0%, rgba(10, 132, 255, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}
.bg-orb-1 {
    top: -100px;
    left: -100px;
}
.bg-orb-2 {
    bottom: -100px;
    right: -100px;
}

/* ============================================================
   1. Typography & Hierarchy (Airy & Luxurious)
   ============================================================ */
.premium-title {
    font-family: var(--premium-font);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--p-ink);
    margin-bottom: 20px;
}

.premium-subtitle {
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
    line-height: 1.55;
    color: var(--p-soft);
    max-width: 68ch;
    margin-inline: auto;
}

.section-spacer {
    padding-top: clamp(4rem, 8vw, 8rem);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

/* ============================================================
   2. Double-Bezel Enclosure (Doppelrand) - Light Theme
   ============================================================ */
.db-outer {
    background: rgba(15, 30, 60, 0.02);
    border: 1px solid rgba(15, 30, 60, 0.04);
    padding: 8px;
    border-radius: 24px;
    box-shadow: var(--p-shadow-soft);
    transition: transform 0.6s var(--ease-spring), border-color 0.6s var(--ease-spring), box-shadow 0.6s var(--ease-spring);
}

.db-inner {
    background: #ffffff;
    border: 1px solid var(--p-line);
    box-shadow: inset 0 1px 1px #ffffff;
    border-radius: calc(24px - 8px);
    padding: 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--p-ink);
    text-align: left;
}

.db-outer:hover {
    border-color: rgba(10, 132, 255, 0.25);
    box-shadow: var(--p-shadow-card);
}

/* ============================================================
   3. Bento Grid & Asymmetric Layouts
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

@media (max-width: 992px) {
    .col-8, .col-6, .col-4, .col-3 {
        grid-column: span 12;
    }
}

/* ============================================================
   4. Nested Button/CTA Architecture (Island Button)
   ============================================================ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--p-accent);
    color: #ffffff;
    padding: 6px 6px 6px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(10, 132, 255, 0.4);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), background-color 0.3s;
}

.btn-premium .btn-icon-circle {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s var(--ease-spring), background-color 0.3s;
}

.btn-premium .btn-icon-circle svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
    transition: transform 0.3s var(--ease-spring);
}

.btn-premium:hover {
    background-color: var(--p-accent-2);
    transform: scale(1.02);
    box-shadow: 0 15px 30px -8px rgba(10, 132, 255, 0.5);
}

.btn-premium:hover .btn-icon-circle svg {
    transform: translate(2px, -2px);
}

.btn-premium:active {
    transform: scale(0.98);
}

/* Secondary Button Style */
.btn-premium-sec {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--p-line);
    color: var(--p-ink);
    padding: 11px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: var(--p-shadow-soft);
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-premium-sec:hover {
    background: var(--p-page-2);
    border-color: var(--p-line-2);
    transform: translateY(-2px);
    box-shadow: var(--p-shadow-card);
}

/* ============================================================
   5. Defensive Sizing for Icon Lists (Fix Stretched SVGs)
   ============================================================ */
.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--p-soft);
    line-height: 1.5;
    text-align: left;
}

/* Strictly sizing the SVGs so they never stretch */
.premium-list li svg,
.db-inner svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.premium-list li svg {
    color: #2ec28a !important; /* Premium emerald green */
    margin-top: 3px;
}

/* ============================================================
   6. Custom Interactive & Mockup Components
   ============================================================ */
/* Live Chat Simulator */
.chat-sim-container {
    background: #ffffff;
    border: 1px solid var(--p-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px;
    box-shadow: var(--p-shadow-soft);
}

.chat-sim-header {
    background: var(--p-page-2);
    border-bottom: 1px solid var(--p-line);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-sim-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-msg {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

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

.sim-msg.op {
    align-self: flex-start;
    background: var(--p-page-2);
    color: var(--p-ink);
    border-bottom-left-radius: 2px;
}

.sim-msg.internal {
    align-self: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-radius: 8px;
    width: 90%;
    font-size: 11.5px;
    font-family: var(--mono-font);
}

/* Image Stretch Protection */
.premium-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--p-line);
    background: var(--p-page-2);
    aspect-ratio: 16 / 10;
}

.premium-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-spring);
}

.premium-img-wrap:hover img {
    transform: scale(1.02);
}

/* Micro-Pill Eyebrow (Sleek Tech-Monochrome Tag) */
.micro-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--premium-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--p-accent);
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 2px solid var(--p-accent);
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.micro-pill .indicator-dot {
    display: none !important;
}

.micro-pill::before {
    display: none !important;
}

/* Hide micro-pills inside grid content / cards to maintain high-end clean layout */
.db-inner .micro-pill,
.bento-grid .micro-pill,
.lp-timeline .micro-pill,
.lp-stage .micro-pill {
    display: none !important;
}

/* Workflow Flowchart Diagram Styling */
.workflow-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--p-page-2);
    border: 1px solid var(--p-line);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.workflow-node {
    background: #ffffff;
    border: 1px solid var(--p-line);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--p-ink);
    box-shadow: var(--p-shadow-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.workflow-arrow {
    color: var(--p-line-2);
    font-weight: 800;
    font-size: 16px;
}

@media (max-width: 768px) {
    .workflow-path {
        flex-direction: column;
        align-items: stretch;
    }
    .workflow-arrow {
        text-align: center;
        transform: rotate(90deg);
        margin: 4px 0;
    }
}
