/* ============================================
   QrControl - Site Institucional v0.1
   ============================================ */

:root {
    --primary: #2d3a8c;
    --primary-dark: #1e2a6e;
    --primary-light: #4361ee;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { color: var(--gray); }

.highlight {
    color: var(--primary-light);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.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);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.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 transparent;
    transition: all 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--light);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Nav Right - Language Selector + CTA */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--light);
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--white);
    border-color: var(--gray-light);
}

.lang-flag {
    font-size: 16px;
}

.lang-code {
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    text-align: left;
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--light);
}

.lang-option.active {
    background: var(--primary);
    color: var(--white);
}

.lang-option span {
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 14px;
    color: var(--gray-light);
}

/* Hero Visual / Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.mockup-screen {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.mockup-qr {
    text-align: center;
    color: var(--white);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: var(--radius);
    background-image:
        linear-gradient(45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(-45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--dark) 75%),
        linear-gradient(-45deg, transparent 75%, var(--dark) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.qr-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    display: block;
}

.mockup-qr p {
    color: var(--gray-light);
    font-size: 14px;
}

.mockup-phone {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    background: var(--dark);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 3px solid #333;
}

.phone-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.phone-screen {
    padding: 12px;
}

.phone-header {
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    margin: -12px -12px 12px -12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.phone-auth {
    text-align: center;
}

.auth-icon {
    font-size: 32px;
}

.phone-auth p {
    font-size: 11px;
    color: var(--dark);
    margin: 8px 0;
}

.auth-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.auth-buttons span {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.btn-allow {
    background: var(--secondary);
    color: var(--white);
}

.btn-deny {
    background: var(--light);
    color: var(--gray);
}

/* ============================================
   Problem Section
   ============================================ */

.problem-section {
    padding: 60px 0;
    background: var(--dark);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    text-align: center;
    padding: 24px;
}

.problem-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.problem-card h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
}

.problem-card p {
    color: var(--gray-light);
    font-size: 14px;
}

/* ============================================
   Solution / Steps Section
   ============================================ */

.solution-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
}

/* ============================================
   Product Section
   ============================================ */

.product-section {
    padding: 100px 0;
}

.desktop-product {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.desktop-product .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-badge.secondary {
    background: var(--light);
    color: var(--primary);
}

.desktop-product h2 {
    color: var(--white);
    margin-bottom: 8px;
}

.desktop-product .product-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.feature strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.feature p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

.product-cta {
    margin-top: 32px;
}

.desktop-product .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.desktop-product .btn-primary:hover {
    background: var(--light);
}

/* Product Visual / Demo */
.desktop-demo {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.demo-header {
    background: var(--dark-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red { background: #ef4444; }
.demo-dot.yellow { background: #f59e0b; }
.demo-dot.green { background: #22c55e; }

.demo-title {
    color: var(--gray-light);
    font-size: 13px;
    margin-left: 8px;
}

.demo-content {
    padding: 60px 40px;
    text-align: center;
}

.demo-qr {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    background: var(--white);
    border-radius: var(--radius);
    background-image:
        linear-gradient(45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(-45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--dark) 75%),
        linear-gradient(-45deg, transparent 75%, var(--dark) 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.demo-text {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.demo-user {
    color: var(--gray-light);
    font-size: 13px;
    background: var(--dark-light);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Web Product */
.web-product {
    background: var(--light);
}

.web-product .container {
    max-width: 800px;
}

.web-product h2 {
    color: var(--dark);
    margin-bottom: 8px;
}

.web-product .product-tagline {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.product-desc {
    margin-bottom: 24px;
}

.web-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.web-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 500;
}

.web-feature span {
    color: var(--secondary);
    font-weight: 700;
}

/* ============================================
   Daily Section (Seu dia a dia)
   ============================================ */

.daily-section {
    padding: 100px 0;
    background: var(--light);
}

/* Visual Flow with Images */
.flow-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.flow-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 200px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.flow-card.success {
    border: 2px solid var(--secondary);
}

.flow-image {
    width: 160px;
    height: 280px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
}

.flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.flow-content {
    text-align: center;
    margin-top: auto;
    padding-top: 12px;
}

.flow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.flow-number.check {
    background: var(--secondary);
    font-size: 20px;
}

.flow-content h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
}

.flow-content p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

.flow-arrow-big {
    font-size: 32px;
    color: var(--primary);
    align-self: center;
}

/* Exit Note */
.exit-note {
    margin-top: 48px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.exit-note h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

.exit-note p {
    color: var(--gray);
    margin: 0;
}

.exit-note p.small {
    font-size: 14px;
    margin-top: 12px;
    color: var(--gray-light);
}

/* Legacy daily styles (keep for compatibility) */
.daily-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.daily-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.daily-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light);
}

.daily-emoji {
    font-size: 32px;
}

.daily-header h3 {
    margin: 0;
    color: var(--dark);
}

.daily-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.daily-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.daily-step p {
    margin: 0;
    color: var(--dark);
    font-size: 16px;
}

.daily-step.highlight-step {
    background: var(--secondary);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 8px;
}

.daily-step.highlight-step p {
    color: var(--white);
}

.step-check {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.daily-note {
    margin-top: 24px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
}

.daily-note p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
}

/* ============================================
   Install Section
   ============================================ */

.install-section {
    padding: 100px 0;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.install-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--light);
    transition: all 0.3s;
}

.install-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.install-card.user-card { border-top-color: var(--primary); }
.install-card.pc-card { border-top-color: var(--secondary); }
.install-card.admin-card { border-top-color: var(--accent); }

.install-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light);
}

.install-emoji {
    font-size: 28px;
}

.install-header h3 {
    margin: 0;
    flex: 1;
    color: var(--dark);
}

.install-time {
    font-size: 13px;
    color: var(--gray);
    background: var(--light);
    padding: 4px 10px;
    border-radius: 20px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.install-step > div {
    flex: 1;
}

.install-step p {
    margin: 0;
    color: var(--dark);
    font-size: 15px;
}

.step-note {
    display: block;
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 4px;
}

.install-step.highlight-step {
    background: var(--secondary);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 8px;
}

.install-step.highlight-step p {
    color: var(--white);
}

.install-step.highlight-step .step-check {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits-section {
    padding: 100px 0;
    background: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.benefit-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 14px;
    margin: 0;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================
   Use Cases Section
   ============================================ */

.usecases-section {
    padding: 100px 0;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    transition: all 0.3s;
}

.usecase-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.usecase-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.usecase-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

.usecase-card p {
    font-size: 14px;
}

/* ============================================
   Security Section
   ============================================ */

.security-section {
    padding: 100px 0;
    background: var(--dark);
}

.security-section .section-header h2 {
    color: var(--white);
}

.security-section .section-header p {
    color: var(--gray-light);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.security-card {
    padding: 32px;
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.security-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.security-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 18px;
}

.security-card p {
    color: var(--gray-light);
    font-size: 14px;
}

.security-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
}

.security-note h3 {
    color: var(--secondary);
    margin-bottom: 12px;
}

.security-note p {
    color: var(--gray-light);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--light);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--light);
}

.pricing-header h3 {
    color: var(--dark);
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 14px;
}

.pricing-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price {
    text-align: center;
    margin-bottom: 32px;
}

.currency {
    font-size: 20px;
    color: var(--gray);
    vertical-align: top;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.period {
    color: var(--gray);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
    color: var(--dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features span {
    color: var(--secondary);
    font-weight: 700;
}

.pricing-pilot {
    text-align: center;
    padding: 48px;
    background: var(--light);
    border-radius: var(--radius-xl);
}

.pricing-pilot h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

.pricing-pilot p {
    margin-bottom: 24px;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.faq-item h3 {
    color: var(--dark);
    font-size: 16px;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
}

/* ============================================
   CTA / Contact Section
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: left;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-alternatives {
    color: rgba(255,255,255,0.8);
}

.contact-alternatives p {
    color: inherit;
    margin: 4px 0;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--dark);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-light);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

.site-version {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   Product Pages (Desktop/WebLogin)
   ============================================ */

.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.weblogin-hero {
    background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.page-badge.secondary {
    background: rgba(255,255,255,0.2);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 32px;
}

.page-hero .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.page-hero .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* Detail Section */
.detail-section {
    padding: 100px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.detail-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--light);
    transition: all 0.3s;
}

.detail-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.detail-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.detail-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
}

.detail-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Features Section for Pages */
.features-section {
    padding: 100px 0;
    background: var(--light);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-emoji {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* Usecases Detail */
.usecases-detail {
    padding: 100px 0;
}

/* Requirements Section */
.requirements-section {
    padding: 100px 0;
    background: var(--light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.requirement-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.requirement-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--light);
}

.requirement-card li:last-child {
    border-bottom: none;
}

/* What Is Grid (Web Login) */
.what-is-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.what-is-content .lead {
    font-size: 18px;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--dark);
    font-size: 16px;
}

.check-list li span {
    color: var(--secondary);
    font-weight: 700;
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.flow-step {
    text-align: center;
    padding: 16px;
}

.flow-num {
    display: block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    margin: 0 auto 8px;
}

.flow-step p {
    font-size: 13px;
    color: var(--dark);
    margin: 0;
    max-width: 100px;
}

.flow-arrow {
    color: var(--gray-light);
    font-size: 24px;
}

/* Integration Section */
.integration-section {
    padding: 100px 0;
    background: var(--dark);
}

.integration-section .section-header h2 {
    color: var(--white);
}

.integration-section .section-header p {
    color: var(--gray-light);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.integration-card {
    background: var(--dark-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.integration-icon {
    font-size: 32px;
}

.integration-header h3 {
    color: var(--white);
    flex: 1;
}

.integration-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.integration-badge.easy {
    background: var(--secondary);
    color: var(--white);
}

.integration-badge.flex {
    background: var(--accent);
    color: var(--white);
}

.integration-card > p {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.code-example {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
}

.code-example code {
    color: var(--secondary);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.integration-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.integration-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    padding: 8px 0;
}

.integration-features li span {
    color: var(--secondary);
}

/* Who Section */
.who-section {
    padding: 100px 0;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.who-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    transition: all 0.3s;
}

.who-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.who-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
}

.who-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-mockup {
        max-width: 350px;
    }

    .desktop-product .container {
        grid-template-columns: 1fr;
    }

    .product-visual {
        order: -1;
    }

    .desktop-demo {
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* New sections */
    .flow-visual {
        flex-direction: column;
        align-items: center;
    }

    .flow-card {
        width: 100%;
        max-width: 280px;
    }

    .flow-arrow-big {
        transform: rotate(90deg);
        margin: 0;
    }

    .daily-grid {
        grid-template-columns: 1fr;
    }

    .install-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .integration-grid {
        grid-template-columns: 1fr;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .what-is-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--light);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-right .btn {
        display: none;
    }

    .nav-right {
        gap: 8px;
    }

    .lang-btn {
        padding: 6px 10px;
    }

    .steps-grid,
    .problem-grid,
    .security-grid,
    .usecases-grid,
    .faq-grid,
    .pricing-grid,
    .web-features,
    .benefits-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section-header,
    .solution-section,
    .product-section,
    .usecases-section,
    .security-section,
    .pricing-section,
    .faq-section,
    .cta-section,
    .daily-section,
    .install-section,
    .benefits-section,
    .detail-section,
    .features-section,
    .requirements-section,
    .integration-section,
    .who-section,
    .usecases-detail {
        padding: 60px 0;
    }

    .page-hero {
        padding: 120px 0 60px;
    }
}

/* ============================================
   RTL Support (Hebrew)
   ============================================ */

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-option {
    text-align: right;
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero .container {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-cta {
    justify-content: flex-start;
}

html[dir="rtl"] .step-card,
html[dir="rtl"] .problem-card,
html[dir="rtl"] .security-card,
html[dir="rtl"] .usecase-card {
    text-align: right;
}

html[dir="rtl"] .feature {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .feature-check {
    margin-right: 0;
    margin-left: 16px;
}

html[dir="rtl"] .web-feature {
    flex-direction: row-reverse;
}

html[dir="rtl"] .web-feature span:first-child {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .pricing-features li {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .pricing-features li span {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .faq-item {
    text-align: right;
}

html[dir="rtl"] .contact-form label {
    text-align: right;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
}

html[dir="rtl"] .footer-content {
    direction: rtl;
}

html[dir="rtl"] .footer-brand {
    text-align: right;
}

html[dir="rtl"] .footer-column {
    text-align: right;
}

html[dir="rtl"] .product-content {
    text-align: right;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

html[dir="rtl"] .security-note {
    text-align: right;
}

/* RTL Mobile Fixes */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-links {
        text-align: right;
    }

    html[dir="rtl"] .nav-links a {
        text-align: right;
    }
}
