/* ==========================================================================
   CONNECTING REMOTE DESKTOP - CLEAN WHITE & TEAL MODERN DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* PURE WHITE & LIGHT SLATE PALETTE */
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.85);
    
    /* TEAL / CYAN BRAND COLORS */
    --cyan-primary: #00acc1;
    --cyan-dark: #00838f;
    --cyan-light: #e0f7fa;
    --cyan-glow: rgba(0, 172, 193, 0.25);
    
    /* TYPOGRAPHY COLORS */
    --text-primary: #0f172a;    /* Slate 900 */
    --text-muted: #475569;      /* Slate 600 */
    --text-light: #64748b;      /* Slate 500 */
    
    /* BORDERS & SHADOWS */
    --border-color: #e2e8f0;    /* Slate 200 */
    --border-hover: #cbd5e1;    /* Slate 300 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-cyan: 0 10px 25px rgba(0, 172, 193, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   NAVBAR (GLASSMORPHISM WHITE)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--cyan-light);
    border: 2px solid var(--cyan-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--cyan-dark);
    stroke-width: 2;
    fill: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-select {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-select:hover {
    border-color: var(--cyan-primary);
}

.btn-nav {
    background: var(--cyan-primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px var(--cyan-glow);
}

.btn-nav:hover {
    background: var(--cyan-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--cyan-glow);
}

/* ==========================================================================
   HERO SECTION (CLEAN LUMINANCE)
   ========================================================================== */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.badge-open-source {
    display: inline-block;
    padding: 8px 20px;
    background: var(--cyan-light);
    border: 1px solid var(--cyan-primary);
    color: var(--cyan-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-dark) 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-cyan);
    transition: all 0.25s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 172, 193, 0.4);
}

.btn-hero svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================================================
   HERO DEMO MOCKUP CARD (WHITE APP MOCKUP)
   ========================================================================== */
.hero-mockup {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    text-align: left;
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

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

.mockup-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #ffffff;
}

.card-demo {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.status-indicator {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 800;

}

.id-display {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan-dark);
    margin: 8px 0;
}

.psk-tag {
    color: #e11d48;
    font-weight: 700;
    font-size: 0.95rem;
}

.demo-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: #ffffff;
}

.btn-demo-connect {
    width: 100%;
    padding: 14px;
    background: var(--cyan-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

/* ==========================================================================
   COMPARISON MATRIX TABLE (WHITE & TEAL HIGH CONTRAST)
   ========================================================================== */
.section-comparison {
    padding: 90px 24px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-subtitle {
    color: var(--cyan-dark);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.table-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, 
.comparison-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    background: #f1f5f9;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: var(--cyan-light) !important;
    color: var(--cyan-dark) !important;
    font-weight: 800 !important;
    border-left: 2px solid var(--cyan-primary);
    border-right: 2px solid var(--cyan-primary);
}

.check-yes {
    color: #059669;
    font-weight: 700;
}

.check-no {
    color: #dc2626;
    font-weight: 500;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.section {
    padding: 90px 24px;
    background: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px;
    transition: all 0.25s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--cyan-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--cyan-dark);
    stroke-width: 2;
    fill: none;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 40px 24px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-title { font-size: 2.4rem; }
    .mockup-body { grid-template-columns: 1fr; }
    .hero-actions { width: 100%; }
    .btn-hero { width: 100%; justify-content: center; }
}
