/* ===========================
   PaySuite - Stylesheet
   =========================== */

:root {
    --font-heading: 'Raleway', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --primary: #2a91ec;
    --primary-dark: #01213d;
    --primary-light: #e8f0fe;
    --green: #4caf50;
    --green-dark: #388e3c;
    --green-light: #e8f5e9;
    --purple: #7c3aed;
    --orange: #f59e0b;
    --red: #ef4444;
    --teal: #14b8a6;
    --indigo: #6366f1;
    --pink: #ec4899;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Headings - Codec Pro */
h1, h2, h3, h4, h5, h6,
.nav-logo-text,
.stat-number,
.card-value,
.lang-code,
.step-number,
.price-value,
.price-value-text {
    font-family: var(--font-heading);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility */
.text-green { color: var(--green); }
.text-blue { color: var(--primary); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 14px; white-space: nowrap; }
.btn-block { width: 100%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 20px;
}
.nav-logo-img { height: 36px; width: 36px; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-selector {
    padding: 6px 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--primary-dark);
}
.text-gradient {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: var(--primary);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
.hero-cta .btn {
    flex: 1;
    max-width: 280px;
    text-align: center;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Browser Mockup */
.mockup-browser {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.browser-url {
    flex: 1;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray-500);
}
.browser-content {
    display: flex;
    min-height: 280px;
}
/* Sidebar */
.mock-sidebar {
    width: 56px;
    background: #f0f4ff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
    border-right: 1px solid var(--gray-200);
}
.sidebar-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}
.sidebar-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: center;
}
.sidebar-item {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s;
    cursor: pointer;
}
.sidebar-item svg { width: 18px; height: 18px; }
.sidebar-item.active {
    background: var(--primary);
    color: var(--white);
}

/* Main content */
.mock-main {
    flex: 1;
    padding: 14px 16px;
    background: #f0f4ff;
    overflow: hidden;
}
.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.mock-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
}
.mock-user {
    font-size: 10px;
    color: var(--gray-400);
    background: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
}

/* KPI Cards */
.mock-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.mock-card {
    flex: 1;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mock-card.card-blue { border-top: 3px solid var(--primary); }
.mock-card.card-green { border-top: 3px solid var(--green); }
.mock-card.card-orange { border-top: 3px solid var(--orange); }
.card-label {
    font-size: 9px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.card-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
}
.card-delta {
    font-size: 9px;
    color: var(--gray-400);
}
.card-delta.positive { color: var(--green); }
.card-delta.negative { color: var(--orange); }

/* Data Table */
.mock-table-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.table-header {
    display: flex;
    padding: 8px 12px;
    background: #f0f4ff;
    border-bottom: 1px solid var(--gray-200);
}
.th {
    flex: 1;
    font-size: 9px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.th:nth-child(1) { flex: 1.4; }
.th:nth-child(3), .th:nth-child(4) { text-align: right; }
.th:nth-child(5) { text-align: center; flex: 0.8; }

.table-row {
    display: flex;
    padding: 7px 12px;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}
.table-row:last-child { border-bottom: none; }
.td {
    flex: 1;
    font-size: 10px;
    color: var(--gray-600);
}
.td-name {
    flex: 1.4;
    font-weight: 600;
    color: var(--gray-800);
}
.td-num { text-align: right; font-variant-numeric: tabular-nums; }
.td:nth-child(5) { text-align: center; flex: 0.8; }

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
}
.status-ok {
    background: var(--green-light);
    color: var(--green-dark);
}
.status-pending {
    background: #fef3c7;
    color: #b45309;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 18px;
    color: var(--gray-500);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feature-icon {
    display: none;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.icon-green { background: var(--green-light); color: var(--green); }
.feature-icon.icon-purple { background: #ede9fe; color: var(--purple); }
.feature-icon.icon-orange { background: #fef3c7; color: var(--orange); }
.feature-icon.icon-red { background: #fee2e2; color: var(--red); }
.feature-icon.icon-teal { background: #ccfbf1; color: var(--teal); }
.feature-icon.icon-indigo { background: #e0e7ff; color: var(--indigo); }
.feature-icon.icon-pink { background: #fce7f3; color: var(--pink); }
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}
.feature-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.2s;
}
.feature-more:hover {
    color: var(--primary-dark);
}

/* AI feature card */
.feature-card-ai {
    position: relative;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, #f0f4ff 0%, var(--white) 100%);
}
.feature-new-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: var(--font-heading);
}
.feature-icon.icon-ai {
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    color: var(--primary);
}

/* Platforms */
.platforms {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}
.platforms-showcase {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Platform Item - shared */
.platform-item {
    display: flex;
    align-items: center;
    gap: 48px;
}
.platform-visual {
    flex-shrink: 0;
}
.platform-info h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.platform-info p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}
.platform-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.platform-badge.badge-dark {
    background: var(--primary-dark);
    color: var(--white);
}
.platform-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.platform-features li {
    font-size: 13px;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}
.platform-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
}

/* Desktop Device */
.device-desktop {
    width: 340px;
}
.device-screen {
    background: #f0f4ff;
    border-radius: 12px 12px 0 0;
    border: 2px solid var(--gray-200);
    border-bottom: none;
    overflow: hidden;
}
.screen-topbar {
    display: flex;
    gap: 5px;
    padding: 8px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.screen-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-300);
}
.screen-content {
    display: flex;
    min-height: 180px;
}
.screen-sidebar {
    width: 40px;
    background: var(--primary-dark);
}
.screen-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.screen-line {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
}
.screen-line.w30 { width: 30%; }
.screen-line.w40 { width: 40%; }
.screen-line.w50 { width: 50%; }
.screen-line.w60 { width: 60%; }
.screen-line.w80 { width: 80%; }
.screen-line.w90 { width: 90%; }
.screen-line.w100 { width: 100%; }
.screen-row {
    display: flex;
    gap: 6px;
}
.screen-box {
    flex: 1;
    height: 36px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}
.device-stand {
    width: 120px;
    height: 24px;
    background: var(--gray-200);
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    position: relative;
}
.device-stand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 0 0 4px 4px;
}

/* Phone Device */
.device-phone {
    width: 160px;
    background: var(--white);
    border-radius: 24px;
    border: 2px solid var(--gray-200);
    padding: 8px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.phone-notch {
    width: 60px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin: 0 auto 8px;
}
.device-phone.android .phone-notch { display: none; }
.device-phone.android { border-radius: 20px; padding-top: 22px; }
.phone-screen {
    background: #f0f4ff;
    border-radius: 16px;
    padding: 10px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.phone-status {
    height: 4px;
    width: 40%;
    background: var(--gray-200);
    border-radius: 2px;
    margin: 0 auto 4px;
}
.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
    flex-shrink: 0;
}
.phone-greeting {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.phone-card {
    background: var(--primary);
    border-radius: 12px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.phone-card .screen-line { background: rgba(255,255,255,0.3); }
.phone-card-green { background: var(--green); }
.phone-amount {
    height: 16px;
    width: 60%;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
}
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.phone-list-item {
    height: 28px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-100);
}
.phone-bar {
    width: 50px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 8px auto 4px;
}
.android-bar {
    width: 30px;
}

/* Desktop screen data */
.screen-title-bar {
    margin-bottom: 4px;
}
.st-title {
    font-size: 9px;
    font-weight: 700;
    color: var(--gray-700);
}
.screen-kpi {
    flex: 1;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    padding: 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 2px solid var(--primary);
}
.screen-kpi.kpi-green { border-top-color: var(--green); }
.screen-kpi.kpi-orange { border-top-color: var(--orange); }
.kpi-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-800);
    font-family: var(--font-heading);
}
.kpi-label {
    font-size: 7px;
    color: var(--gray-400);
    text-transform: uppercase;
}
.screen-table {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-top: 2px;
}
.st-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    font-size: 8px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.st-row:last-child { border-bottom: none; }
.st-row.st-header {
    background: #f0f4ff;
    font-weight: 700;
    color: var(--gray-400);
    font-size: 7px;
    text-transform: uppercase;
}
.st-row span { flex: 1; }
.st-row span:not(:first-child) { text-align: right; }

/* Phone data elements */
.phone-data-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}
.pdh-greeting {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-800);
    font-family: var(--font-heading);
}
.pdh-date {
    font-size: 8px;
    color: var(--gray-400);
}
.phone-card-label {
    font-size: 8px;
    color: rgba(255,255,255,0.6);
    display: block;
}
.phone-card-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
    display: block;
    margin: 2px 0;
}
.phone-card-sub {
    font-size: 7px;
    color: rgba(255,255,255,0.5);
    display: block;
}
.phone-data-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.phone-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid var(--gray-100);
}
.pdr-label {
    font-size: 8px;
    color: var(--gray-500);
}
.pdr-value {
    font-size: 9px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Platform Web - full width row */
.platform-web {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 48px;
}

/* Platform Mobile Row */
.platform-mobile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.platform-mobile-row .platform-item {
    flex-direction: column;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
}
.platform-mobile-row .platform-features {
    grid-template-columns: 1fr 1fr;
    text-align: left;
}
.platform-mobile-row .platform-info p {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Section */
.ai-section {
    padding: 100px 0;
    background: var(--gray-50);
}
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ai-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.ai-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.ai-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.ai-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* AI Main card (assistant) - spans full width */
.ai-card-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0;
    overflow: hidden;
}
.ai-card-visual {
    background: var(--primary-dark);
    padding: 28px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.ai-card-info {
    padding: 36px 36px 36px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ai-card-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.ai-card-info p {
    font-size: 15px;
}

/* Chat mockup */
.ai-chat {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ai-msg {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 92%;
}
.ai-msg-user {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.ai-msg-bot {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 10px;
}
.ai-bot-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.ai-bot-icon svg { width: 14px; height: 14px; color: var(--white); }
.ai-bot-content { flex: 1; }
.ai-bot-content span { display: block; margin-bottom: 6px; }
.ai-bot-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ai-bot-content ul li {
    font-size: 11px;
    opacity: 0.7;
    padding-left: 10px;
    position: relative;
}
.ai-bot-content ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
}

/* AI Icon badges */
.ai-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 14px;
}
.ai-icon-badge svg { width: 24px; height: 24px; }
.ai-badge-orange { background: #fef3c7; color: var(--orange); }
.ai-badge-green { background: var(--green-light); color: var(--green); }
.ai-badge-purple { background: #ede9fe; color: var(--purple); }
.ai-badge-teal { background: #ccfbf1; color: var(--teal); }

/* AI Examples */
.ai-example { margin-top: auto; }

.ai-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 10px 12px;
}
.ai-alert-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.ai-alert-icon.warning { background: var(--orange); color: var(--white); }
.ai-alert-text { font-size: 11px; color: var(--gray-600); }

.ai-forecast-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ai-bar {
    height: 22px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 8px;
    transition: width 0.5s;
}
.ai-bar span { font-size: 9px; color: var(--white); font-weight: 600; }
.ai-bar-predicted {
    background: var(--primary);
    opacity: 0.5;
    border: 1px dashed var(--primary);
}

.ai-doc-scan {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
}
.ai-doc-icon { color: var(--gray-400); }
.ai-doc-icon svg { width: 28px; height: 28px; }
.ai-doc-arrow { color: var(--primary); font-size: 20px; }
.ai-doc-result {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    background: var(--green-light);
    padding: 6px 12px;
    border-radius: 6px;
}

.ai-saving {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--green-light);
    border-radius: 8px;
    padding: 12px 14px;
}
.ai-saving-label { font-size: 11px; color: var(--green-dark); }
.ai-saving-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--green-dark);
    font-family: var(--font-heading);
}

/* AI responsive */
@media (max-width: 768px) {
    .ai-section { padding: 60px 0; }
    .ai-grid { grid-template-columns: 1fr; }
    .ai-card-main { grid-template-columns: 1fr; }
    .ai-card-visual { border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 20px; }
    .ai-card-info { padding: 24px; }
    .ai-card-info h3 { font-size: 20px; }
}

/* Languages */
.languages {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.languages-content {
    text-align: center;
}
.languages-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}
.languages-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
}
.languages-icon svg {
    width: 32px;
    height: 32px;
}
.languages-header h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.languages-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.lang-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    transition: all 0.3s;
}
.lang-card:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
.lang-code {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}
.lang-name {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.lang-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 2px;
}
.lang-primary {
    background: rgba(76,175,80,0.25);
    color: #a5d6a7;
    border: 1px solid rgba(76,175,80,0.3);
}

@media (max-width: 768px) {
    .languages-grid {
        flex-wrap: wrap;
        gap: 12px;
    }
    .lang-card {
        min-width: 100px;
        padding: 16px 20px;
    }
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
}
.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
}
.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.step p {
    font-size: 15px;
    color: var(--gray-500);
}
.step-arrow {
    width: 32px;
    color: var(--gray-300);
    padding-top: 16px;
    flex-shrink: 0;
}
.step-arrow svg { width: 32px; height: 32px; }

/* Tech Stack */
.tech-stack {
    padding: 80px 0;
    background: var(--gray-50);
}
.tech-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.tech-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tech-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}
.tech-desc {
    font-size: 13px;
    color: var(--gray-500);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--white);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}
.price-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}
.price-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.price-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}
.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.price-header { margin-bottom: 24px; }
.price-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.price-desc {
    font-size: 14px;
    color: var(--gray-500);
}
.price-amount {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-height: 58px;
}
.price-currency {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 600;
}
.price-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
}
.price-value-text {
    font-size: 48px;
    line-height: 1;
}
.price-period {
    font-size: 16px;
    color: var(--gray-400);
}
.price-features {
    list-style: none;
    margin-bottom: 32px;
}
.price-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.price-features li::before {
    content: "\2713  ";
    color: var(--green);
    font-weight: 700;
}

/* Feature Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-overlay.active {
    display: flex;
}
.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.2s;
}
.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.modal-icon {
    display: none;
}
.modal-icon svg { width: 26px; height: 26px; }
.modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
}
.modal-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0 8px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modal-body ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}
.modal-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}
.modal-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .modal { padding: 28px 20px; max-height: 90vh; }
    .modal-header h2 { font-size: 20px; }
    .modal-icon { width: 44px; height: 44px; }
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row {
    display: flex;
    gap: 16px;
}
.form-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.5); }
.form-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}
.form-input option { color: var(--gray-800); }
.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    margin-top: 8px;
}
.cta .btn-primary:hover {
    background: var(--gray-100);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
    color: var(--gray-400);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-logo-img {
    height: 32px;
    width: 32px;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
    object-fit: contain;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}
.footer-login {
    margin-top: 56px;
    display: inline-block;
}
.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.footer-techcorp {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-techcorp:hover { color: var(--primary); }

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    animation: cookieSlideUp 0.4s ease-out;
}
.cookie-banner.active { display: block; }
@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-text p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}
.cookie-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 48px; }
    .hero-content { gap: 40px; }
    .device-desktop { width: 280px; }
    .platform-web { padding: 36px; gap: 32px; }
    .platform-item { gap: 32px; }
    .pricing-grid { gap: 20px; }
    .lang-card { min-width: 100px; padding: 16px 20px; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    .nav-logo { font-size: 18px; }

    /* Hero */
    .hero { padding: 90px 0 50px; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 36px; line-height: 1.1; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { max-width: 100%; }
    .hero-visual { order: -1; }

    /* Mockup */
    .mockup-browser { border-radius: 12px; }
    .mock-sidebar { width: 44px; padding: 8px 0; }
    .sidebar-logo { width: 28px; height: 28px; margin-bottom: 8px; }
    .sidebar-item { width: 30px; height: 30px; }
    .sidebar-item svg { width: 14px; height: 14px; }
    .mock-main { padding: 10px 12px; }
    .mock-topbar { margin-bottom: 10px; }
    .mock-title { font-size: 11px; }
    .mock-user { font-size: 8px; padding: 2px 6px; }
    .mock-cards { gap: 6px; margin-bottom: 10px; }
    .mock-card { padding: 8px 8px; }
    .card-label { font-size: 7px; }
    .card-value { font-size: 12px; }
    .card-delta { font-size: 7px; }
    .table-header { padding: 6px 8px; }
    .th { font-size: 7px; }
    .table-row { padding: 5px 8px; }
    .td { font-size: 8px; }
    .status-badge { font-size: 7px; padding: 1px 5px; }

    /* Sections */
    .section-header h2 { font-size: 28px; }
    .section-header p { font-size: 16px; }
    .section-header { margin-bottom: 40px; }

    /* Features */
    .features { padding: 60px 0; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px; }

    /* Platforms */
    .platforms { padding: 56px 0; }
    .platform-web {
        flex-direction: column;
        padding: 24px 18px;
        gap: 24px;
        align-items: stretch;
    }
    .platform-web .platform-visual { display: flex; justify-content: center; }
    .device-desktop { width: 100%; max-width: 340px; margin: 0 auto; }
    .platform-web .platform-info { text-align: center; }
    .platform-web .platform-info .platform-features { text-align: left; }

    .platform-mobile-row { grid-template-columns: 1fr; gap: 18px; }
    .platform-mobile-row .platform-item { padding: 28px 20px; gap: 20px; }
    .device-phone { width: 170px; }

    /* Larger, more readable phone content on mobile */
    .phone-screen { min-height: 260px; padding: 12px; gap: 10px; }
    .pdh-greeting { font-size: 13px; }
    .pdh-date { font-size: 10px; }
    .phone-card { padding: 14px 14px; }
    .phone-card-label { font-size: 10px; }
    .phone-card-amount { font-size: 20px; }
    .phone-card-sub { font-size: 9px; }
    .phone-data-row { padding: 9px 11px; }
    .pdr-label { font-size: 10px; }
    .pdr-value { font-size: 11px; }

    /* Larger desktop mockup internals for mobile readability */
    .screen-content { min-height: 200px; }
    .st-title { font-size: 11px; }
    .kpi-num { font-size: 13px; }
    .kpi-label { font-size: 8px; }
    .st-row { font-size: 9px; padding: 5px 10px; }
    .st-row.st-header { font-size: 8px; }

    .platform-info h3 { font-size: 22px; }
    .platform-info p { font-size: 14px; line-height: 1.6; }
    .platform-features { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
    .platform-features li { font-size: 12px; }
    .platform-mobile-row .platform-features { grid-template-columns: 1fr 1fr; }

    /* Languages */
    .languages { padding: 40px 0; }
    .languages-header { margin-bottom: 24px; }
    .languages-header h3 { font-size: 18px; }
    .languages-grid { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .lang-card { min-width: 0; flex: 1; min-width: 80px; padding: 14px 12px; }
    .lang-code { font-size: 20px; }
    .lang-name { font-size: 12px; }

    /* How it works */
    .how-it-works { padding: 60px 0; }
    .steps { flex-direction: column; align-items: center; gap: 16px; }
    .step { max-width: 100%; }
    .step-arrow { transform: rotate(90deg); padding: 0; }
    .step-number { width: 44px; height: 44px; font-size: 20px; }

    /* Pricing */
    .pricing { padding: 60px 0; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .price-card { padding: 32px 24px; }
    .price-card-featured { transform: none; }
    .price-value { font-size: 40px; }
    .price-value-text { font-size: 40px; }

    /* CTA */
    .cta { padding: 60px 0; }
    .cta h2 { font-size: 28px; }
    .cta p { font-size: 16px; margin-bottom: 28px; }
    .form-row { flex-direction: column; }

    /* Footer */
    .footer { padding: 40px 0 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .hero { padding: 80px 0 40px; }
    .container { padding: 0 16px; }

    .languages-grid { gap: 8px; }
    .lang-card { min-width: 60px; padding: 10px 8px; }
    .lang-code { font-size: 18px; }
    .lang-name { font-size: 10px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .mock-sidebar { display: none; }
    .browser-content { min-height: 220px; }

    /* Platforms on small phones */
    .platform-web { padding: 22px 14px; }
    .device-desktop { max-width: 300px; }
    .platform-mobile-row .platform-item { padding: 22px 16px; }
    .device-phone { width: 150px; }
    .platform-info h3 { font-size: 20px; }
    .platform-info p { font-size: 13px; }
    .platform-features { grid-template-columns: 1fr; }
    .platform-mobile-row .platform-features { grid-template-columns: 1fr; }
    .screen-kpi { padding: 6px 4px; }
    .kpi-num { font-size: 11px; }

    .btn, .btn-lg { white-space: normal; word-break: break-word; }
}
