/* -------------------------------------------------------------
 * CaseMapper Custom Design System & Landing Page Styles
 * Color Theme: Professional Minimal White, Red, Black
 * ------------------------------------------------------------- */

/* Custom CSS Variables */
:root {
    --bg-white: #ffffff;
    --bg-offwhite: #fcfcfc;
    --bg-light-gray: #f5f5f5;
    --border-light: #e6e6e6;
    --border-dark: #111111;
    --text-black: #111111;
    --text-darkgray: #3a3a3a;
    --text-lightgray: #777777;
    --accent-red: #d32f2f; /* Premium GIS red */
    --accent-red-hover: #b71c1c;
    --accent-red-light: #ffebee;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-3d-phone: 0 35px 80px -15px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-center-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.text-black { color: var(--text-black); }
.text-darkgray { color: var(--text-darkgray); }
.text-red { color: var(--accent-red); }
.font-mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

/* Subtitles / Badges */
.subtitle-red {
    display: inline-block;
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-red-small {
    background-color: var(--accent-red);
    color: var(--bg-white);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
}

/* Headings */
.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-lead {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-darkgray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background-color: var(--bg-light-gray);
    color: var(--text-black);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: #ededed;
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-black);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background-color: var(--bg-light-gray);
    border-color: var(--text-black);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main-text {
    font-size: 16px;
    font-weight: 700;
}

.btn-sub-text {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
}

.icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Site Header */
#site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
}

.header-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-black);
}

.app-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

#main-navigation {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-darkgray);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-red);
}

.btn-nav-download {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    background-color: var(--text-black);
    color: var(--bg-white);
}

.btn-nav-download:hover {
    background-color: var(--accent-red);
}

/* Mobile Nav Elements */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-black);
    transition: var(--transition-fast);
}

.mobile-drawer {
    display: none;
}

/* Hero Section */
#hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white);
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--bg-light-gray) 1px, transparent 1px), linear-gradient(90deg, var(--bg-light-gray) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    opacity: 0.6;
}

.red-radial-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(213,47,47,0.06) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.badge-accent-red {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}

.badge-outline {
    background-color: transparent;
    color: var(--text-lightgray);
    border: 1px solid var(--border-light);
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-gradient {
    color: var(--accent-red);
}

.hero-lead {
    font-size: 18px;
    color: var(--text-darkgray);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-darkgray);
}

/* 3D Phone Mockup Container */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    position: relative;
}

.interactive-instruction {
    font-size: 12px;
    color: var(--text-lightgray);
    margin-bottom: 16px;
    font-weight: 500;
    background-color: var(--bg-light-gray);
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
    pointer-events: none;
    animation: bounceSlow 3s infinite;
}

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

.mockup-tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    position: relative;
    will-change: transform;
}

.mockup-shadow {
    position: absolute;
    width: 85%;
    height: 15px;
    bottom: -30px;
    left: 7.5%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 80%);
    filter: blur(10px);
    border-radius: 50%;
    pointer-events: none;
    transform: translateZ(-50px);
}

/* Physical Phone Structure */
.phone-frame {
    width: 290px;
    height: 585px;
    background-color: #0b0b0b;
    border-radius: 38px;
    border: 9px solid #1c1c1e;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 4px rgba(255, 255, 255, 0.2);
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Notch & Speaker */
.phone-speaker {
    width: 60px;
    height: 4px;
    background-color: #3a3a3c;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.phone-camera-notch {
    width: 110px;
    height: 22px;
    background-color: #0b0b0b;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

/* Side Buttons */
.phone-side-buttons span {
    position: absolute;
    background-color: #1c1c1e;
    width: 3px;
    border-radius: 2px;
}
.vol-up { top: 120px; left: -12px; height: 50px; }
.vol-down { top: 180px; left: -12px; height: 50px; }
.power { top: 150px; right: -12px; height: 65px; }

/* Phone Inner Screen & Status Bar */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #121212;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-status-bar {
    height: 38px;
    padding: 12px 18px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #111111;
    color: var(--bg-white);
    font-size: 11px;
    font-weight: 600;
    z-index: 90;
    font-family: var(--font-sans);
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-gps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.status-gps-icon svg {
    width: 10px;
    height: 10px;
}

.fill-white {
    fill: #ffffff;
}

.pulse-gps {
    animation: gpsPulse 1.5s infinite;
}

@keyframes gpsPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* App Viewport Container */
.app-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #121212;
}

.sim-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: #121212;
    color: var(--bg-white);
    animation: screenFadeIn 0.3s ease-out;
}

@keyframes screenFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.app-toolbar {
    height: 52px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    flex-shrink: 0;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.toolbar-title-wrap {
    display: flex;
    flex-direction: column;
}

.toolbar-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.toolbar-subtitle {
    font-size: 10px;
    color: #a0a0a0;
    line-height: 1.2;
}

.icon-btn-sim {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: background 0.2s;
}

.icon-btn-sim:hover {
    background-color: rgba(255,255,255,0.1);
}

.icon-btn-sim svg {
    width: 16px;
    height: 16px;
}

.accent-red-text {
    color: var(--accent-red) !important;
}

.screen-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background-color: #121212;
}

.screen-scrollable::-webkit-scrollbar {
    width: 4px;
}
.screen-scrollable::-webkit-scrollbar-thumb {
    background-color: #333333;
    border-radius: 2px;
}

/* Splash Screen Simulator */
.screen-splash {
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.splash-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.splash-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(211,47,47,0.3);
}

.pulse-logo {
    animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.splash-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.splash-subtitle {
    font-size: 12px;
    color: var(--accent-red);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.splash-loading {
    width: 120px;
    height: 3px;
    background-color: #222222;
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    width: 40%;
    height: 100%;
    background-color: var(--accent-red);
    border-radius: 2px;
    animation: simLoading 1.5s infinite linear;
}

@keyframes simLoading {
    from { transform: translateX(-100%); }
    to { transform: translateX(300%); }
}

/* Case List screen simulator */
.cases-summary-card {
    background: linear-gradient(135deg, #1c1c1e 0%, #151515 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-size: 9px;
    color: #8e8e93;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.summary-count {
    font-size: 16px;
    font-weight: 700;
}

.cases-list-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-row-item {
    background-color: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
}

.case-row-item:hover {
    background-color: #2c2c2e;
}

.active-click {
    cursor: pointer;
    border-color: rgba(211,47,47,0.4);
}

.case-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.folder-icon-red {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: rgba(211, 47, 47, 0.15);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-icon-red svg {
    width: 16px;
    height: 16px;
}

.case-row-meta {
    display: flex;
    flex-direction: column;
}

.case-row-title {
    font-size: 12px;
    font-weight: 600;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-row-date {
    font-size: 9px;
    color: #8e8e93;
}

.case-row-badge {
    background-color: #2c2c2e;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    color: #ffffff;
}

/* Floating Action Button inside Phone */
.fab-btn-sim {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
}

.fab-btn-sim:hover {
    transform: scale(1.05);
}

/* Modal Dialog Sim */
.dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 95;
}

.dialog-card {
    background-color: #1c1c1e;
    border: 1px solid #3a3a3c;
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    max-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: dialogScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.dialog-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dialog-desc {
    font-size: 10px;
    color: #8e8e93;
    margin-bottom: 12px;
}

.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    text-align: left;
}

.input-label {
    font-size: 9px;
    color: #a0a0a0;
    font-weight: 600;
}

.input-control {
    background-color: #2c2c2e;
    border: 1px solid #3a3a3c;
    border-radius: 6px;
    padding: 8px 10px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 11px;
    outline: none;
    width: 100%;
}

.input-control:focus {
    border-color: var(--accent-red);
}

.text-area-control {
    resize: none;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-dialog-sec {
    background: none;
    border: none;
    color: #8e8e93;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
}

.btn-dialog-primary {
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
}

/* Case Details Screen Sim */
.point-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.point-card {
    background-color: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.point-thumb-sim {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.river-thumb {
    /* Draw a vector river scene in CSS so we don't need external img links */
    background: linear-gradient(180deg, #1b263b 0%, #0d1b2a 100%);
    position: relative;
}
.river-thumb::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    background-color: #415a77;
    bottom: 20px;
    left: 0;
    transform: skewY(-4deg);
    opacity: 0.7;
}

.bank-thumb {
    background: linear-gradient(180deg, #3d2f26 0%, #211a15 100%);
}
.bank-thumb::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 100%;
    background-color: #5c4033;
    top: 0;
    right: 0;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.gps-watermark {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background-color: rgba(0,0,0,0.6);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
}

.point-card-body {
    padding: 10px;
}

.point-coords-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #2c2c2e;
    padding-bottom: 8px;
}

.coord-box {
    display: flex;
    flex-direction: column;
}

.c-label {
    font-size: 7px;
    color: #8e8e93;
    font-weight: 700;
}

.c-value {
    font-size: 9px;
    color: #ffffff;
}

.point-desc {
    font-size: 10px;
    color: #d1d1d6;
    line-height: 1.3;
    margin-bottom: 8px;
}

.point-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2c2c2e;
    padding-top: 8px;
}

.point-time {
    font-size: 8px;
    color: #8e8e93;
}

.point-actions {
    display: flex;
    gap: 8px;
}

.text-btn {
    background: none;
    border: none;
    font-size: 8px;
    font-weight: 700;
    color: #8e8e93;
    cursor: pointer;
}

.text-btn.text-red {
    color: var(--accent-red);
}

.details-bottom-bar {
    background-color: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    padding: 10px 16px;
    flex-shrink: 0;
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.pad-bottom {
    padding-bottom: 80px !important;
}

/* Add Point Screen Sim (Camera View) */
.camera-viewfinder-sim {
    height: 200px;
    background-color: #000000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #2c2c2e;
}

.viewfinder-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.line-h {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.15);
    top: 33.33%;
}
.line-h::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.15);
    top: 200%;
}
.line-v {
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: rgba(255,255,255,0.15);
    left: 33.33%;
}
.line-v::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: rgba(255,255,255,0.15);
    left: 200%;
}

.viewfinder-crosshairs {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(211,47,47,0.7);
    border-radius: 50%;
}

.gps-viewfinder-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    font-weight: 600;
}

.gps-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #34c759;
}

.camera-shutter-btn-sim {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: rgba(255,255,255,0.3);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.1s;
}
.camera-shutter-btn-sim:active {
    transform: translateX(-50%) scale(0.9);
}

.addpoint-form {
    margin-top: 12px;
}

.gps-readout-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 6px;
    margin-bottom: 12px;
}

.strip-val {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #2a2a2a;
}
.strip-val:last-child {
    border-right: none;
}
.strip-val span {
    font-size: 6px;
    color: #8e8e93;
}
.strip-val strong {
    font-size: 9px;
    font-family: var(--font-mono);
}

.btn-block {
    width: 100%;
}

/* Export Flow Screen Sim */
.export-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.export-box {
    background-color: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.export-file-label {
    font-size: 8px;
    color: #8e8e93;
    font-weight: 700;
}

.export-file-name {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
}

.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-item {
    background-color: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-item.active {
    border-color: var(--accent-red);
    background-color: rgba(211,47,47,0.03);
}

.toggle-label-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: 190px;
}

.toggle-label-wrap strong {
    font-size: 11px;
    font-weight: 700;
}

.toggle-label-wrap span {
    font-size: 8px;
    color: #8e8e93;
}

.toggle-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-red);
    border: 2px solid var(--accent-red);
}

.toggle-bullet.outline {
    background-color: transparent;
    border-color: #555555;
}

.export-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 600;
}

.progress-bar-container {
    height: 4px;
    background-color: #2c2c2e;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 100%;
    background-color: #34c759;
}

.progress-subtext {
    font-size: 8px;
    color: #8e8e93;
    text-align: left;
}

.export-actions {
    margin-top: auto;
}

/* Simulated Android Share Sheet Drawer */
.android-share-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1c1c1e;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top: 1px solid #3a3a3c;
    padding: 12px 16px 20px 16px;
    z-index: 120;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.5);
    animation: slideUpShare 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpShare {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.share-sheet-handle {
    width: 32px;
    height: 4px;
    background-color: #48484a;
    border-radius: 2px;
    margin: 0 auto 12px auto;
}

.share-sheet-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.share-title {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.share-size {
    font-size: 8px;
    color: #8e8e93;
}

.share-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.share-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.share-app span {
    font-size: 8px;
    color: #8e8e93;
}

.app-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ge-color { background-color: #4285f4; }
.wa-color { background-color: #25d366; }
.drive-color { background-color: #ffba00; }
.gmail-color { background-color: #ea4335; }

/* Interactive Showcase Tabs */
.showcase-tabs-nav {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-offwhite);
}

.tab-scroller {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.tab-scroller::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    min-width: 600px;
    padding: 8px 0;
}

.showcase-tab {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.showcase-tab:hover {
    border-color: var(--accent-red);
}

.showcase-tab.active {
    border-color: var(--text-black);
    background-color: var(--text-black);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.tab-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
}

.showcase-tab.active .tab-num {
    color: var(--accent-red);
    opacity: 1;
}

.tab-label {
    font-size: 14px;
    font-weight: 600;
}

/* Features Section Layout */
.features-layout {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-black);
    box-shadow: var(--shadow-md);
}

.feat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--bg-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feat-icon-box {
    background-color: var(--accent-red-light);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-darkgray);
    line-height: 1.6;
}

/* Usage Section Layout */
.usage-layout {
    padding: 100px 0;
    background-color: var(--bg-offwhite);
    border-bottom: 1px solid var(--border-light);
}

.usage-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.usage-step-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.usage-step-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

.step-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light-gray);
    color: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-mono);
    transition: var(--transition-fast);
}

.usage-step-card:hover .step-badge {
    background-color: var(--accent-red);
    color: var(--bg-white);
}

.step-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--bg-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.usage-step-card:hover .step-icon-box {
    background-color: var(--accent-red-light);
}

.usage-step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text-black);
}

.usage-step-card p {
    font-size: 14.5px;
    color: var(--text-darkgray);
    line-height: 1.6;
}

.usage-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px dashed var(--border-light);
}

.usage-cta-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-darkgray);
}

/* Call to Action Banner */
.cta-layout {
    padding: 80px 0 100px 0;
}

.cta-inner-card {
    background-color: var(--text-black);
    border-radius: 16px;
    padding: 64px;
    color: var(--bg-white);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-inner-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(213,47,47,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 550px;
}

.download-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.installation-steps-strip {
    font-size: 12px;
    opacity: 0.6;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.cta-logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    background-color: #151515;
    padding: 10px;
    border: 1px solid #222222;
}

/* Site Footer */
#site-footer {
    background-color: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
    padding: 64px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-lightgray);
    line-height: 1.5;
}

.footer-links-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-black);
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    text-decoration: none;
    font-size: 13px;
    color: var(--text-lightgray);
    transition: var(--transition-fast);
}

.footer-links-column a:hover {
    color: var(--accent-red);
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-darkgray);
}

.sec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-lightgray);
}

.footer-security-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-darkgray);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features-list {
        width: 100%;
        max-width: 600px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usage-steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    #main-navigation {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Drawer */
    .mobile-drawer.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        padding: 32px 24px;
        gap: 24px;
        z-index: 999;
        border-top: 1px solid var(--border-light);
        animation: drawerFade 0.25s ease-out;
    }
    
    @keyframes drawerFade {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-nav-link {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-black);
        text-decoration: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Removed specs-meta-cards query */
    
    .cta-inner-card {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
        gap: 32px;
    }
    
    .cta-content {
        align-items: center;
    }
    
    .download-grid {
        width: 100%;
    }
    
    .download-grid .btn {
        width: 100%;
    }
    
    .cta-branding {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Compliance & Verification Hub Styles */
.compliance-layout {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.compliance-tabs-wrapper {
    max-width: 1000px;
    margin: 48px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.compliance-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    background-color: var(--bg-light-gray);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.compliance-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-darkgray);
    transition: var(--transition-fast);
}

.compliance-tab .icon-svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.compliance-tab:hover {
    color: var(--text-black);
    background-color: rgba(0, 0, 0, 0.03);
}

.compliance-tab.active {
    background-color: var(--bg-white);
    color: var(--accent-red);
    box-shadow: var(--shadow-sm);
}

.compliance-tab.active .icon-svg {
    color: var(--accent-red);
}

.compliance-panes {
    position: relative;
    background-color: var(--bg-offwhite);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    min-height: 380px;
    overflow: hidden;
}

.compliance-pane {
    display: none;
    padding: 48px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compliance-pane.active {
    display: block;
    opacity: 1;
}

.pane-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: center;
}

.pane-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pane-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    letter-spacing: -0.01em;
}

.pane-text p {
    font-size: 15px;
    color: var(--text-darkgray);
    line-height: 1.6;
}

.feature-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-darkgray);
    line-height: 1.4;
}

.check-item .icon-svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pane-action-box {
    margin-top: 16px;
}

.pane-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spec-stat-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.visual-large-icon {
    width: 64px;
    height: 64px;
}

/* Privacy Policy Nested Classes */
.policy-details-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.policy-block h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 6px;
}

.policy-block p {
    font-size: 13.5px;
    line-height: 1.5;
}

/* Originality Grid */
.originality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 12px;
}

.orig-item strong {
    font-size: 14.5px;
    color: var(--text-black);
    display: block;
    margin-bottom: 6px;
}

.orig-item p {
    font-size: 13px;
    line-height: 1.5;
}

.originality-grid .orig-item:last-child {
    grid-column: span 2;
}

/* Traffic List */
.traffic-standards-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.traffic-standards-list li {
    font-size: 14px;
    color: var(--text-darkgray);
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.traffic-standards-list li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-red);
}

.traffic-standards-list li strong {
    color: var(--text-black);
}

/* AdMob Grid */
.admob-rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 12px;
}

.admob-rule-item strong {
    font-size: 14px;
    color: var(--text-black);
    display: block;
    margin-bottom: 6px;
}

.admob-rule-item p {
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive Media Queries for Compliance Section */
@media (max-width: 800px) {
    .compliance-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .compliance-tab {
        flex: 0 0 auto;
        min-width: 120px;
    }
    .pane-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pane-visual {
        order: -1;
    }
    .spec-stat-card {
        max-width: 100%;
        aspect-ratio: auto;
        padding: 24px;
    }
    .compliance-pane {
        padding: 32px 24px;
    }
    .originality-grid {
        grid-template-columns: 1fr;
    }
    .originality-grid .orig-item:last-child {
        grid-column: span 1;
    }
    .admob-rules-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
 * CaseMapper Compliance Portal & New Sections
 * ------------------------------------------------------------- */

.safety-layout {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.safety-card {
    background-color: var(--bg-offwhite);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.safety-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-black);
    display: flex;
    align-items: center;
    gap: 12px;
}

.safety-card h3 svg {
    color: var(--accent-red);
}

.perm-list, .safety-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.perm-item, .safety-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.perm-icon-wrapper, .safety-icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perm-info h4, .safety-info h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-black);
}

.perm-info p, .safety-info p {
    font-size: 14px;
    color: var(--text-darkgray);
    line-height: 1.5;
}

/* Developer & About Section */
.dev-layout {
    padding: 100px 0;
    background-color: var(--bg-offwhite);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.dev-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.dev-card-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.dev-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-red);
}

.dev-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.dev-avatar-fallback {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--text-black);
    color: var(--bg-white);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-title-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-black);
}

.dev-title-info p {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dev-credentials {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.dev-credentials li {
    font-size: 14px;
    color: var(--text-darkgray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-credentials li svg {
    color: var(--accent-red);
}

.dev-btn {
    width: 100%;
    text-align: center;
}

/* Compliance Hub Portal */
.portal-layout {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

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

.portal-card {
    background-color: var(--bg-offwhite);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portal-card-top h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-card-top h3 svg {
    color: var(--accent-red);
}

.portal-card-top p {
    font-size: 14px;
    color: var(--text-lightgray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.portal-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.portal-links-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-darkgray);
    padding: 10px 14px;
    border-radius: 8px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.portal-links-list li a:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateX(4px);
}

.compliance-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-info-list li {
    font-size: 13.5px;
    color: var(--text-darkgray);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.compliance-info-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent-red);
}

.compliance-info-list li strong {
    color: var(--text-black);
}

.release-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.release-info-table tr {
    border-bottom: 1px solid var(--border-light);
}

.release-info-table tr:last-child {
    border-bottom: none;
}

.release-info-table td {
    padding: 8px 0;
    color: var(--text-darkgray);
}

.release-info-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--text-black);
}

.disclaimer-alert-box {
    background-color: #fff9e6;
    border: 1px solid #ffe599;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon-wrapper {
    color: #b78103;
    flex-shrink: 0;
}

.disclaimer-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #7f5f01;
    margin-bottom: 6px;
}

.disclaimer-text p {
    font-size: 13.5px;
    color: #5c4501;
    line-height: 1.5;
}

/* Responsive updates for new sections */
@media (max-width: 992px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 800px) {
    .safety-grid, .dev-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .safety-card, .dev-card-wrapper {
        padding: 24px;
    }
}

