/* ============================================
   Flow - Trading Platform Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #FF5722;
    --color-primary-dark: #E64A19;
    --color-text: #424242;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-bg: #ffffff;
    --color-bg-alt: #f9f9f9;
    --color-border: #e0e0e0;
    --color-green: #4CAF50;
    --color-red: #F44336;
    --color-blue: #2196F3;
    --color-blue-light: #E3F2FD;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --section-padding: 100px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Text Link */
.text-link {
    color: var(--color-primary);
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--color-bg);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.flow-logo-svg {
    width: 180px;
    height: 108px;
    margin: 0 auto;
    display: block;
}

.hero-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-mobile-text {
    display: flex;
    justify-content: center;
}

/* ============================================
   DASHBOARD SECTION
   ============================================ */
.dashboard-section {
    padding: 20px 0 80px;
    background: var(--color-bg);
}

.dashboard-wrapper {
    display: flex;
    justify-content: center;
}

.dashboard-mock {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.flow-icon-small {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: bold;
}

.topbar-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.topbar-nav a {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.topbar-nav a.active,
.topbar-nav a:hover {
    color: var(--color-primary);
}

.dashboard-body {
    display: flex;
    min-height: 400px;
}

.dashboard-sidebar {
    width: 280px;
    border-right: 1px solid var(--color-border);
    background: #fafafa;
    padding: 16px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.stock-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stock-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 3px;
    transition: background 0.2s;
}

.stock-item:hover {
    background: #f0f0f0;
}

.stock-name {
    font-weight: 600;
    color: var(--color-text);
}

.stock-qty {
    color: var(--color-text-muted);
    font-size: 11px;
}

.stock-change {
    font-size: 11px;
    font-weight: 500;
}

.stock-change.up {
    color: var(--color-green);
}

.stock-change.down {
    color: var(--color-red);
}

.stock-price {
    font-weight: 500;
    color: var(--color-text);
}

.dashboard-main {
    flex: 1;
    padding: 24px;
}

.dashboard-header h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--color-text);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.dash-card {
    padding: 20px;
    background: #fafafa;
    border-radius: 6px;
}

.dash-card-title {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-card-value {
    font-size: 32px;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 4px;
}

.dash-card-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

.holdings-section {
    padding: 20px;
    background: #fafafa;
    border-radius: 6px;
}

.holdings-header {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.holdings-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.pnl-value {
    font-size: 36px;
    font-weight: 300;
    color: var(--color-green);
}

.pnl-percent {
    font-size: 14px;
    color: var(--color-green);
}

.holdings-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red) 30%, var(--color-primary) 30%, var(--color-primary) 50%, var(--color-blue) 50%, var(--color-blue) 70%, var(--color-green) 70%, var(--color-green) 100%);
    border-radius: 4px;
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
}

.feature-section.alt-bg {
    background: var(--color-bg-alt);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.feature-visual {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

/* ============================================
   SEARCH MOCK
   ============================================ */
.search-mock {
    width: 100%;
    max-width: 420px;
}

.search-input-mock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.search-results {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.search-result-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 18px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-name {
    font-weight: 600;
    color: var(--color-green);
    font-size: 14px;
}

.result-tag {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-change {
    font-weight: 500;
    font-size: 13px;
}

.result-change.up {
    color: var(--color-green);
}

.result-change.down {
    color: var(--color-red);
}

.result-price {
    font-weight: 500;
    color: var(--color-text);
    min-width: 70px;
    text-align: right;
}

/* ============================================
   UI MOCK
   ============================================ */
.ui-mock {
    width: 100%;
    max-width: 400px;
}

.ui-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.ui-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.ui-tabs {
    display: flex;
    gap: 20px;
}

.ui-tab {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.ui-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.ui-card-body {
    padding: 24px;
}

.ui-metric-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.ui-metric-value {
    font-size: 28px;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 20px;
}

.ui-chart-placeholder {
    height: 80px;
}

.mini-chart {
    width: 100%;
    height: 100%;
}

/* ============================================
   DEPTH MOCK
   ============================================ */
.depth-mock {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.depth-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.depth-stock {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-green);
}

.depth-change {
    font-size: 14px;
    font-weight: 500;
}

.depth-change.up {
    color: var(--color-green);
}

.depth-price {
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.depth-table {
    padding: 12px 16px;
}

.depth-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 6px 4px;
    font-size: 12px;
    align-items: center;
    text-align: center;
}

.depth-row.header {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.depth-row .bid {
    color: var(--color-blue);
    font-weight: 500;
}

.depth-row .bid-qty {
    background: var(--color-blue-light);
    color: var(--color-blue);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.depth-row .offer-qty {
    background: #FFEBEE;
    color: var(--color-red);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

/* ============================================
   CHART MOCK (BUY CARD)
   ============================================ */
.chart-mock {
    width: 100%;
    max-width: 380px;
    position: relative;
}

.chart-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.chart-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.chart-price {
    font-weight: 400;
    opacity: 0.9;
}

.toggle-switch {
    margin-left: auto;
    width: 36px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    right: 2px;
}

.chart-card-body {
    padding: 20px;
}

.order-type-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.radio::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: inline-block;
}

.radio.active::before {
    border-color: var(--color-blue);
    background: var(--color-blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.input-val {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.chart-buttons {
    display: flex;
    gap: 12px;
}

.btn-buy {
    flex: 1;
    padding: 12px;
    background: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ============================================
   GTT MOCK
   ============================================ */
.gtt-mock {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.gtt-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.gtt-stock {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.gtt-tag {
    font-size: 10px;
    background: var(--color-blue-light);
    color: var(--color-blue);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.gtt-price {
    margin-left: auto;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

.gtt-body {
    padding: 20px;
}

.gtt-section {
    margin-bottom: 20px;
}

.gtt-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

.gtt-options {
    display: flex;
    gap: 20px;
}

.gtt-opt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.gtt-opt::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: inline-block;
}

.gtt-opt.active::before {
    border-color: var(--color-blue);
    background: var(--color-blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.gtt-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.gtt-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.gtt-input-group label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.gtt-input-val {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--color-text);
    background: #fafafa;
}

/* ============================================
   BASKET MOCK
   ============================================ */
.basket-mock {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.basket-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-blue);
}

.basket-icon {
    font-size: 14px;
}

.basket-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin: 12px 16px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.basket-table {
    padding: 0 16px;
}

.basket-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0.8fr 1fr 1.5fr;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.basket-row.header {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.basket-row small {
    font-size: 10px;
    color: var(--color-text-muted);
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 4px;
}

.badge.buy {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.badge.limit {
    background: #FFEBEE;
    color: var(--color-red);
}

.badge.cnc {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.basket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    margin-top: 8px;
}

.basket-total {
    display: flex;
    flex-direction: column;
}

.basket-total span:first-child {
    font-size: 11px;
    color: var(--color-text-muted);
}

.total-val {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.basket-actions {
    display: flex;
    gap: 10px;
}

.btn-execute {
    padding: 10px 20px;
    background: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.btn-close {
    padding: 10px 20px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/* ============================================
   ALERT MOCK
   ============================================ */
.alert-mock {
    width: 100%;
    max-width: 320px;
}

.alert-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    font-weight: 500;
}

.alert-bell {
    font-size: 18px;
}

.alert-body {
    padding: 20px;
}

.alert-input {
    margin-bottom: 16px;
}

.alert-input label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.alert-val {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--color-text);
    background: #fafafa;
}

.alert-type {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.alert-opt {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.alert-opt.active {
    border-color: var(--color-blue);
    color: var(--color-blue);
    background: var(--color-blue-light);
}

.btn-create-alert {
    width: 100%;
    padding: 12px;
    background: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ============================================
   NUDGE MOCK
   ============================================ */
.nudge-mock {
    width: 100%;
    max-width: 380px;
    position: relative;
}

.nudge-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: relative;
    padding: 20px;
}

.nudge-chart-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.3;
}

.nudge-chart-svg {
    width: 120px;
    height: 60px;
}

.nudge-overlay {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nudge-stock {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.nudge-price {
    font-size: 15px;
    color: var(--color-blue);
    margin-bottom: 12px;
}

.nudge-line-chart {
    width: 100%;
    height: 50px;
}

/* ============================================
   IPO MOCK
   ============================================ */
.ipo-mock {
    width: 100%;
    max-width: 340px;
}

.ipo-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.ipo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    font-weight: 500;
}

.ipo-icon {
    font-size: 20px;
}

.ipo-body {
    padding: 20px;
}

.ipo-company {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ipo-logo {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.ipo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.ipo-price {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.ipo-input {
    margin-bottom: 16px;
}

.ipo-input label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.ipo-val {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--color-text);
    background: #fafafa;
}

.btn-apply {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
}

/* ============================================
   P&L MOCK
   ============================================ */
.pnl-mock {
    width: 100%;
    max-width: 340px;
}

.pnl-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.pnl-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    font-weight: 500;
}

.pnl-body {
    padding: 20px;
}

.pnl-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.pnl-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.pnl-value {
    font-size: 18px;
    font-weight: 600;
}

.pnl-value.up {
    color: var(--color-green);
}

.pnl-divider {
    height: 1px;
    background: var(--color-border);
    margin: 8px 0;
}

/* ============================================
   MOBILE SECTION
   ============================================ */
.mobile-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.mobile-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.mobile-text {
    flex: 1;
}

.mobile-text h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
}

.mobile-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-text);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn:hover {
    background: #333;
    color: #fff;
}

.store-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mock {
    width: 260px;
    height: 520px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.phone-logo {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: bold;
}

.phone-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 10px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.phone-list {
    flex: 1;
    padding: 0 12px;
}

.phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.phone-name {
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

.phone-change {
    font-size: 12px;
    font-weight: 500;
    margin-right: 12px;
}

.phone-change.up {
    color: var(--color-green);
}

.phone-change.down {
    color: var(--color-red);
}

.phone-price {
    font-weight: 500;
    color: var(--color-text);
}

.phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    font-size: 18px;
}

.phone-nav span {
    opacity: 0.4;
    cursor: pointer;
}

.phone-nav span.active {
    opacity: 1;
    color: var(--color-primary);
}

/* ============================================
   EXTENSIBILITY SECTION
   ============================================ */
.ext-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg);
    text-align: center;
}

.ext-content {
    max-width: 700px;
    margin: 0 auto;
}

.ext-content h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
}

.ext-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    :root {
        --section-padding: 70px;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 50px;
    }

    .feature-text,
    .feature-visual {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-text {
        text-align: center;
    }

    .mobile-content {
        flex-direction: column;
        gap: 50px;
    }

    .mobile-text {
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }

    .dashboard-body {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

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

    .hero-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero-logo svg {
        width: 140px;
        height: 84px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .feature-text h2,
    .mobile-text h2,
    .ext-content h2 {
        font-size: 24px;
    }

    .feature-text p,
    .mobile-text p,
    .ext-content p {
        font-size: 15px;
    }

    .topbar-nav {
        gap: 14px;
    }

    .topbar-nav a {
        font-size: 11px;
    }

    .dashboard-main {
        padding: 16px;
    }

    .dash-card-value {
        font-size: 24px;
    }

    /* .pnl-value {
        font-size: 28px;
    } */

    .depth-row {
        font-size: 10px;
    }

    .basket-row {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 6px;
    }

    .basket-row.header {
        display: none;
    }

    .basket-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .gtt-inputs {
        grid-template-columns: 1fr;
    }

    .phone-mock {
        width: 220px;
        height: 440px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .feature-row.reverse {
        flex-direction: column-reverse;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }

    .feature-text h2,
    .mobile-text h2,
    .ext-content h2 {
        font-size: 22px;
    }

    .dashboard-topbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .topbar-nav {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .stock-item {
        grid-template-columns: 1fr auto auto;
    }

    .stock-qty {
        display: none;
    }
}