/* ===== Variables ===== */
:root {
    --bg-dark: #060b14;
    --bg-card: #0d1526;
    --bg-card-hover: #111d33;
    --blue-primary: #3b82f6;
    --blue-light: #60a5fa;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --cyan: #22d3ee;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(59, 130, 246, 0.35);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--blue-glow);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px var(--blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--blue-glow);
}

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

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--blue-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 11, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language switch (BN ←→ EN iOS-style toggle) */
.lang-switch {
    --lang-switch-track-w: 2.75rem;
    --lang-switch-track-h: 1.5rem;
    --lang-switch-knob: 1.125rem;
    --lang-switch-gap: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: var(--lang-switch-gap);
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-switch-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color 0.2s ease;
    line-height: 1;
}

.lang-switch--bn .lang-switch-label--bn,
.lang-switch--en .lang-switch-label--en {
    color: var(--blue-light);
}

.lang-switch-track {
    position: relative;
    flex-shrink: 0;
    width: var(--lang-switch-track-w);
    height: var(--lang-switch-track-h);
    border-radius: 999px;
    background: rgba(13, 21, 38, 0.95);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lang-switch--en .lang-switch-track {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--border-hover);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 12px rgba(59, 130, 246, 0.15);
}

.lang-switch-knob {
    position: absolute;
    top: 50%;
    left: 3px;
    width: var(--lang-switch-knob);
    height: var(--lang-switch-knob);
    border-radius: 50%;
    background: linear-gradient(145deg, #f8fafc 0%, #cbd5e1 100%);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-50%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.lang-switch--en .lang-switch-knob {
    transform: translate(
        calc(var(--lang-switch-track-w) - var(--lang-switch-knob) - 6px),
        -50%
    );
    background: var(--gradient);
    box-shadow: 0 2px 10px var(--blue-glow), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lang-switch:hover .lang-switch-track {
    border-color: var(--border-hover);
}

.lang-switch:hover .lang-switch-knob {
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lang-switch--en:hover .lang-switch-knob {
    box-shadow: 0 3px 14px var(--blue-glow), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lang-switch:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 4px;
    border-radius: 999px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.2;
}

.footer-brand .logo-image {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--blue-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--blue-primary);
    top: -100px;
    right: -100px;
    opacity: 0.25;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    bottom: -50px;
    left: -100px;
    opacity: 0.15;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--blue-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 32px;
    background: rgba(13, 21, 38, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== Section Common ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ===== Services ===== */
.services {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1020 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service-card.featured {
    border-color: var(--blue-primary);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-card) 100%);
}

.featured-badge,
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-primary);
    font-weight: 700;
}

.service-link {
    color: var(--blue-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    color: var(--cyan);
}

/* ===== Pricing ===== */
.pricing {
    background: var(--bg-dark);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.billing-label {
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-label.active {
    color: var(--text-primary);
}

.save-badge {
    padding: 2px 8px;
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.toggle-switch {
    width: 56px;
    height: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
}

.toggle-switch.yearly {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.yearly .toggle-knob {
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card.popular {
    border-color: var(--blue-primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.price {
    margin-bottom: 28px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    margin-bottom: 28px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓ ';
    color: var(--blue-primary);
    font-weight: 700;
}

/* ===== Features ===== */
.features {
    background: linear-gradient(180deg, #0a1020 0%, var(--bg-dark) 100%);
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-text .section-tag {
    margin-bottom: 12px;
}

.features-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.features-text > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1.3rem;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow), var(--shadow-glow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.mockup-header .mockup-title {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-body {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 60px;
    padding: 16px 12px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

.sidebar-item.active {
    background: var(--blue-primary);
}

.mockup-content {
    flex: 1;
    padding: 20px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient);
    border-radius: 6px 6px 0 0;
    opacity: 0.8;
    animation: growBar 1s ease forwards;
}

@keyframes growBar {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.mockup-cards {
    display: flex;
    gap: 12px;
}

.mini-card {
    flex: 1;
    height: 60px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-card footer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Contact ===== */
.contact {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1020 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field-error {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #f87171;
}

.field-error.hidden {
    display: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Footer ===== */
/* ===== Legal pages ===== */
.legal-page {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.legal-page-inner {
    max-width: 760px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-light);
}

.legal-back:hover {
    color: var(--text-primary);
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.legal-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 40px;
}

.legal-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--border);
}

.legal-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.footer {
    padding: 60px 0 30px;
    background: #040810;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
}

.social-link--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.social-link--linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--blue-primary);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-glow);
    z-index: 9999;
    animation: slideIn 0.4s ease;
}

.toast.hide {
    animation: slideOut 0.4s ease forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .features-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        border-left: 1px solid var(--border);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-actions {
        position: fixed;
        top: 20px;
        right: 52px;
        z-index: 1001;
        gap: 10px;
    }

    .pos-page .nav-actions {
        right: 24px;
    }

    .lang-switch {
        --lang-switch-track-w: 2.5rem;
        --lang-switch-track-h: 1.375rem;
        --lang-switch-knob: 1rem;
        --lang-switch-gap: 0.375rem;
    }

    .lang-switch-label {
        font-size: 0.625rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    section {
        padding: 70px 0;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

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

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

/* ===== POS Landing Page ===== */
.pos-page .nav-links,
.pos-page .hamburger {
    display: none;
}

.pos-page .nav-actions {
    margin-left: auto;
}

.pos-hero-simple {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 140px 0 72px;
    overflow: hidden;
}

.pos-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.pos-hero-content .hero-badge {
    animation: fadeInUp 0.6s ease;
}

.pos-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.pos-hero-content .hero-subtitle {
    margin: 0 auto 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.pos-hero-content .hero-actions {
    justify-content: center;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.pos-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pos-trust-centered {
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.pos-trust-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pos-mockup .mockup-title {
    margin-left: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pos-mockup-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.pos-stat-pill {
    flex: 1;
    padding: 10px 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.pos-stat-pill span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pos-stat-pill strong {
    font-size: 0.95rem;
    color: var(--blue-light);
}

/* POS modules section */
.pos-modules {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1020 50%, var(--bg-dark) 100%);
}

.pos-modules .section-header {
    margin-bottom: 48px;
}

.modules-showcase {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 420px;
}

.module-tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border);
}

.module-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

.module-tab span {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    color: var(--text-muted);
}

.module-tab:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-primary);
}

.module-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.module-tab.active span {
    background: var(--blue-primary);
    color: white;
}

.module-panels {
    padding: 28px 32px;
    position: relative;
}

.module-panel {
    display: none;
    animation: moduleFade 0.35s ease;
}

.module-panel.active {
    display: block;
}

.module-panel[hidden] {
    display: none !important;
}

.module-panel-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.module-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
}

.module-list-single {
    grid-template-columns: 1fr;
    max-width: 480px;
}

.module-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
}

.module-list-item:hover {
    border-color: var(--border-hover);
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
}

.module-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 22px;
}

.module-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cat-sales { background: #3b82f6; }
.cat-stock { background: #22d3ee; }
.cat-finance { background: #a78bfa; }
.cat-reports { background: #34d399; }
.cat-team { background: #fbbf24; }

.module-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes moduleFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pos-pain {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1020 100%);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pain-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.pain-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pain-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pos-industries {
    padding: 80px 0;
    background: #0a1020;
}

.industry-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.industry-badge {
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.industry-badge:hover {
    border-color: var(--blue-primary);
    color: var(--text-primary);
}

.pos-testimonials {
    background: linear-gradient(180deg, #0a1020 0%, var(--bg-dark) 100%);
}

.pos-faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item[open] {
    border-color: var(--border-hover);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--blue-light);
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.pos-cta-final {
    padding: 80px 0 120px;
}

.pos-cta-box {
    text-align: center;
    padding: 56px 40px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.12) 0%, var(--bg-card) 100%);
    border: 1px solid var(--blue-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.pos-cta-box h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 12px;
}

.pos-cta-box > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.pos-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pos-cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pos-footer {
    padding: 30px 0;
}

.pos-footer-bottom {
    border-top: none;
    padding-top: 0;
    justify-content: space-between;
}

.pos-footer-bottom p a {
    color: var(--blue-light);
}

.pos-footer-bottom p a:hover {
    text-decoration: underline;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-glow);
    transform: translateY(20px) scale(0.98);
    transition: transform var(--transition);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.modal-header {
    margin-bottom: 24px;
    padding-right: 32px;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 8px 0;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.demo-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-disclaimer {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.modal-success {
    text-align: center;
    padding: 24px 0;
}

.modal-success.hidden,
.hidden {
    display: none !important;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(34, 211, 238, 0.15);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--cyan);
    margin-bottom: 20px;
}

.modal-success h2 {
    margin-bottom: 12px;
}

.modal-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-success .btn {
    margin-bottom: 12px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: rgba(6, 11, 20, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.sticky-cta.visible {
    transform: translateY(0);
}

@media (max-width: 968px) {
    .modules-showcase {
        grid-template-columns: 1fr;
    }

    .module-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .module-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .module-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {
    .pos-hero-simple {
        padding: 120px 0 56px;
    }

    .pos-modules {
        padding: 60px 0 80px;
    }

    .module-panels {
        padding: 20px 16px;
    }

    .demo-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 24px 20px;
        max-height: 95vh;
    }

    .pos-cta-box {
        padding: 40px 24px;
    }

    .pos-cta-final {
        padding-bottom: 100px;
    }
}
