/* Light Mode (Default) */
:root {
    --bg-color: #f5f7fa;
    --bg-secondary: #ffffff;
    --text-color: #1a1a2e;
    --text-muted: rgba(26, 26, 46, 0.6);
    --primary-color: #5a7eff;
    --secondary-color: #e8ecf4;
    --accent-color: #8b5cf6;

    --header-bg: #ffffff;
    --header-border: rgba(0, 0, 0, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);

    --btn-bg: rgba(0, 0, 0, 0.05);
    --btn-border: rgba(0, 0, 0, 0.1);
    --btn-text: #1a1a2e;
    --btn-primary: #5a7eff;

    --card-bg: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Mockup colors (keep dark for preview) */
    --overlay-rgb: 12, 40, 120;
    --overlay-secondary-rgb: 12, 32, 64;
    --overlay-alpha: 0.65;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-speed: 0.3s;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-color: #080810;
    --bg-secondary: #12121a;
    --text-color: #e0e0e0;
    --text-muted: rgba(255, 255, 255, 0.55);
    --primary-color: #5a7eff;
    --secondary-color: #1e1e24;
    --accent-color: #8b5cf6;

    --header-bg: #0d0d14;
    --header-border: rgba(255, 255, 255, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);

    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-border: rgba(255, 255, 255, 0.16);
    --btn-text: rgba(255, 255, 255, 0.95);
    --btn-primary: rgba(90, 126, 255, 0.85);

    --card-bg: #12121a;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    /* Anti-copy protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Parallax SVG Shapes */
.parallax-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.parallax-shape {
    position: absolute;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: -5%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 10%;
}

.shape-4 {
    width: 180px;
    height: 180px;
    top: 80%;
    left: 5%;
}

.shape-5 {
    width: 220px;
    height: 220px;
    top: 45%;
    left: 15%;
}

.shape-6 {
    width: 280px;
    height: 280px;
    top: 10%;
    right: 20%;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

header.scrolled {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
}

.logo-img-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-toggle:hover svg {
    color: white;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(90, 126, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(90, 126, 255, 0.45);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: 14px;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(var(--overlay-rgb), 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(var(--overlay-secondary-rgb), 0.25) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 4.5rem;
    line-height: 1.08;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 45px;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.75;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Live Mockup Styles */
.visual-content {
    flex: 1.4;
    perspective: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-window-3d {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16/10;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(6deg);
    transition: transform 0.15s ease-out;
}

.app-mockup-overlay {
    width: 100%;
    height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--overlay-rgb), 0.85), transparent),
        linear-gradient(135deg, rgba(var(--overlay-secondary-rgb), var(--overlay-alpha)), rgba(var(--overlay-secondary-rgb), var(--overlay-alpha)));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    display: flex;
    flex-direction: column;
    padding: 20px 28px;
    overflow: hidden;
    position: relative;
    color: #fff;
}

/* Mockup Components */
.m-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.m-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-icon-button {
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 5px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.m-icon-button svg {
    width: 14px;
    height: 14px;
}

.m-icon-button.danger {
    border-color: rgba(239, 68, 68, 0.3);
    color: rgba(239, 68, 68, 0.9);
}

.m-nav-pills {
    display: flex;
    gap: 6px;
    margin-left: 10px;
}

.m-pill-button {
    border: 1px solid var(--btn-border);
    background: transparent;
    color: var(--btn-text);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.m-pill-button.active {
    background: rgba(255, 255, 255, 0.1);
}

.m-user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(var(--overlay-rgb), 0.24);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.m-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.m-user-info {
    text-align: left;
}

.m-user-name {
    font-size: 11px;
    font-weight: 600;
}

.m-user-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.m-user-role {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
}

.m-user-service {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.m-main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.m-time-section {
    flex: 1;
}

.m-greeting {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
    margin-bottom: 6px;
}

.m-time {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.m-date {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 8px;
}

.m-dashboard-card {
    background: rgba(var(--overlay-secondary-rgb), 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px;
    margin-top: 16px;
}

.m-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.m-card-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.m-count-pill {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

.m-whiteboard-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.m-whiteboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.m-whiteboard-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.08);
}

.m-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.m-events-section {
    flex: 1;
    max-width: 280px;
}

.m-event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.m-event-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.m-event-time {
    min-width: 40px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 6px;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.m-event-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.m-event-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-event-meta {
    font-size: 10px;
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-event-status {
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.m-event-status.open {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
}

.m-event-status.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.35);
}

.m-footer {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 14px;
    display: flex;
    justify-content: flex-end;
}

.m-footer-version {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* Section Header */
#features {
    padding: 120px 0 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 0;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

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

/* FULL-WIDTH FEATURE SECTIONS */
.feature-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

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

.feature-text {
    flex: 1;
    max-width: 560px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px rgba(90, 126, 255, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Feature Section Backgrounds */
.feature-section--1 {
    background: linear-gradient(180deg, transparent 0%, rgba(var(--overlay-rgb), 0.08) 50%, transparent 100%);
}

.feature-section--2 {
    background: radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.feature-section--3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
}

.feature-section--4 {
    background: radial-gradient(ellipse at 20% 50%, rgba(var(--overlay-rgb), 0.1) 0%, transparent 60%);
}

.feature-section--5 {
    background: linear-gradient(180deg, transparent 0%, rgba(var(--overlay-secondary-rgb), 0.15) 50%, transparent 100%);
}

.feature-section--6 {
    background: radial-gradient(ellipse at 70% 60%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

/* Feature Visual Elements */
.feature-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.metric-value {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 60px rgba(90, 126, 255, 0.4);
}

.metric-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.color-palette {
    display: flex;
    gap: 20px;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1) rotate(5deg);
}

.shield-icon-anim {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shieldPulse 3s ease-in-out infinite;
}

.shield-icon-anim svg {
    width: 60px;
    height: 60px;
    color: #34d399;
}

@keyframes shieldPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px 10px rgba(52, 211, 153, 0.15);
    }
}

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

.key {
    font-size: 2.5rem;
    font-weight: 800;
    padding: 30px 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3), 0 12px 20px rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.15s ease;
}

.key:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), 0 6px 10px rgba(0, 0, 0, 0.2);
}

.realtime-clock {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 40px rgba(90, 126, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

.users-visual {
    display: flex;
    gap: -15px;
}

.user-bubble {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    border: 3px solid var(--bg-color);
    margin-left: -15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.user-bubble:first-child {
    margin-left: 0;
}

/* Event Visual */
.event-visual {
    display: flex;
    justify-content: center;
}

.event-card-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    background: rgba(var(--overlay-secondary-rgb), 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-time-preview {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 8px 14px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 10px;
    color: #a5b4fc;
}

.event-title-preview {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

/* API Status Visual */
.api-status-visual {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 12px #34d399;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.status-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34d399;
}

/* Keyboard Visual (multi-key) */
.keyboard-visual {
    display: flex;
    align-items: center;
    gap: 10px;
}

.key {
    font-size: 1.8rem;
    font-weight: 800;
    padding: 20px 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.15s ease;
}

.key:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.2);
}

.key-plus {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* Tech Section */
#tech {
    padding: 140px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--overlay-secondary-rgb), 0.2) 50%, transparent 100%);
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 80px;
}

.tech-text {
    flex: 1.2;
}

.tech-text h2 {
    font-size: 3rem;
    margin-bottom: 28px;
    font-weight: 800;
}

.tech-text p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.85;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.tech-list li svg {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tech-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.electron-logo-anim {
    position: relative;
    width: 200px;
    height: 200px;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #9FEAF9;
    border-radius: 50%;
    box-shadow: 0 0 50px #9FEAF9, 0 0 100px rgba(159, 234, 249, 0.35);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 60px;
    border: 2px solid rgba(159, 234, 249, 0.5);
    border-radius: 50%;
    animation: rotateOrbit 5s linear infinite;
}

.orbit.inverse {
    width: 60px;
    height: 100%;
    animation: rotateOrbitInverse 5s linear infinite;
}

@keyframes rotateOrbit {
    from {
        transform: translate(-50%, -50%) rotateZ(0deg) rotateY(70deg);
    }

    to {
        transform: translate(-50%, -50%) rotateZ(360deg) rotateY(70deg);
    }
}

@keyframes rotateOrbitInverse {
    from {
        transform: translate(-50%, -50%) rotateZ(0deg) rotateX(70deg);
    }

    to {
        transform: translate(-50%, -50%) rotateZ(-360deg) rotateX(70deg);
    }
}

/* Download */
#download {
    padding: 140px 0;
    text-align: center;
}

.download-card {
    background: linear-gradient(135deg, rgba(90, 126, 255, 0.1), rgba(139, 92, 246, 0.06));
    border: 1px solid var(--glass-border);
    padding: 100px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(90, 126, 255, 0.1) 0%, transparent 60%);
    animation: downloadGlow 10s ease-in-out infinite;
}

@keyframes downloadGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15%, 15%);
    }
}

.download-card h2 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.download-card>p {
    margin-bottom: 40px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
}

.download-card .btn {
    position: relative;
    z-index: 1;
}

.version-info {
    margin-top: 28px;
    font-size: 0.95rem;
    opacity: 0.45;
    position: relative;
    z-index: 1;
}

/* FAQ */
#faq {
    padding: 140px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 30px 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.toggle {
    transition: transform 0.3s;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-answer p {
    padding-bottom: 30px;
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: #555;
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-right a {
    color: #777;
    margin-left: 30px;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-right a:hover {
    color: var(--text-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    opacity: 0.5;
    transition: opacity 0.4s;
}

.scroll-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 1;
    }
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--overlay-rgb), 0.06) 50%, transparent 100%);
    position: relative;
}

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(var(--overlay-rgb), 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about-badge svg {
    width: 18px;
    height: 18px;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.about-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 60px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

[data-theme="dark"] .highlight-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.highlight-card svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   GUIDE / ANLEITUNG SECTION
============================================ */
.guide-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

.guide-section .section-header {
    margin-bottom: 50px;
}

.guide-block {
    margin-bottom: 60px;
}

.guide-block:last-child {
    margin-bottom: 0;
}

.guide-block-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.guide-block-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 12px auto 0;
    border-radius: 2px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.guide-step {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
}

.guide-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(90, 126, 255, 0.2);
    border-color: var(--primary-color);
}

[data-theme="dark"] .guide-step:hover {
    box-shadow: 0 25px 60px rgba(90, 126, 255, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 20px rgba(90, 126, 255, 0.4);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 20px auto 24px;
    background: rgba(var(--overlay-rgb), 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.guide-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   WORKFLOW SECTION
============================================ */
.workflow-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--overlay-secondary-rgb), 0.12) 50%, transparent 100%);
}

.workflow-content {
    display: flex;
    align-items: center;
    gap: 80px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 70px 80px;
    box-shadow: var(--card-shadow);
}

.workflow-text {
    flex: 1;
}

.workflow-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.workflow-text>p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.workflow-list {
    list-style: none;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: var(--text-color);
}

.workflow-list li svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
    flex-shrink: 0;
}

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

.workflow-diagram {
    display: flex;
    align-items: center;
    gap: 20px;
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: rgba(var(--overlay-rgb), 0.05);
    transition: all 0.3s ease;
    min-width: 100px;
}

.workflow-node:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.workflow-node svg {
    width: 36px;
    height: 36px;
}

.workflow-node span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-node svg {
    color: var(--primary-color);
}

.api-node svg {
    color: var(--accent-color);
}

.org-node svg {
    color: #10b981;
}

.workflow-arrow {
    display: flex;
    align-items: center;
}

.workflow-arrow svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .text-content h1 {
        font-size: 3.8rem;
    }

    .app-window-3d {
        max-width: 600px;
    }
}

@media (max-width: 1000px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .text-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .visual-content {
        width: 100%;
        margin-top: 20px;
    }

    .app-window-3d {
        transform: rotateY(-5deg) rotateX(4deg);
        max-width: 100%;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .feature-text {
        max-width: 100%;
    }

    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

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

    .nav-links {
        display: none;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .feature-text h3 {
        font-size: 2rem;
    }

    .download-card {
        padding: 60px 40px;
    }

    .download-card h2 {
        font-size: 2.5rem;
    }

    /* About Section */
    .about-title {
        font-size: 2.5rem;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .highlight-card {
        padding: 32px 24px;
    }

    /* Guide Section */
    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    /* Workflow Section */
    .workflow-content {
        flex-direction: column;
        padding: 50px;
        gap: 50px;
        text-align: center;
    }

    .workflow-text h2 {
        font-size: 2.2rem;
    }

    .workflow-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .workflow-diagram {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hide some parallax shapes on tablet */
    .shape-3,
    .shape-5 {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 16px 0;
    }

    header.scrolled {
        padding: 12px 0;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    #hero {
        padding-top: 80px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .text-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Mockup adjustments */
    .app-mockup-overlay {
        padding: 14px 18px;
    }

    .m-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .m-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .m-nav-pills {
        margin-left: 0;
    }

    .m-pill-button {
        padding: 4px 8px;
        font-size: 9px;
    }

    .m-user-profile {
        width: 100%;
    }

    .m-time {
        font-size: 48px;
    }

    .m-date {
        font-size: 12px;
    }

    .m-greeting {
        font-size: 12px;
    }

    .m-main {
        flex-direction: column;
        gap: 16px;
    }

    .m-events-section {
        max-width: 100%;
    }

    .m-dashboard-card {
        padding: 12px;
    }

    .m-footer-version {
        font-size: 10px;
        padding: 4px 8px;
    }

    /* Features */
    #features {
        padding: 80px 0 40px;
    }

    .feature-section {
        min-height: auto;
        padding: 60px 0;
    }

    .feature-row {
        gap: 30px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-text h3 {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .feature-text p {
        font-size: 1rem;
    }

    /* Feature visuals */
    .metric-value {
        font-size: 3.5rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .color-swatch {
        width: 60px;
        height: 60px;
    }

    .key {
        font-size: 1.4rem;
        padding: 14px 20px;
    }

    .key-plus {
        font-size: 1.5rem;
    }

    .realtime-clock {
        font-size: 3.5rem;
    }

    .user-bubble {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-left: -10px;
    }

    .shield-icon-anim {
        width: 90px;
        height: 90px;
    }

    .shield-icon-anim svg {
        width: 44px;
        height: 44px;
    }

    /* Tech */
    #tech {
        padding: 80px 0;
    }

    .tech-content {
        padding: 40px 30px;
        border-radius: 24px;
    }

    .tech-text h2 {
        font-size: 2rem;
    }

    .tech-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .tech-list li {
        font-size: 0.95rem;
        gap: 12px;
        margin-bottom: 14px;
    }

    .tech-list li svg {
        width: 20px;
        height: 20px;
    }

    .electron-logo-anim {
        width: 140px;
        height: 140px;
    }

    .core {
        width: 40px;
        height: 40px;
    }

    .orbit {
        height: 40px;
    }

    .orbit.inverse {
        width: 40px;
    }

    /* Download */
    #download {
        padding: 80px 0;
    }

    .download-card {
        padding: 50px 30px;
        border-radius: 28px;
    }

    .download-card h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .download-card>p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .version-info {
        font-size: 0.85rem;
    }

    /* FAQ */
    #faq {
        padding: 80px 0;
    }

    .faq-question {
        font-size: 1rem;
        padding: 22px 0;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    /* About Section Mobile */
    .about-section {
        min-height: auto;
        padding: 80px 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .highlight-card {
        padding: 28px 24px;
    }

    .highlight-card svg {
        width: 40px;
        height: 40px;
    }

    .highlight-card h4 {
        font-size: 1.15rem;
    }

    /* Guide Section Mobile */
    .guide-section {
        min-height: auto;
        padding: 80px 0;
    }

    .guide-section .section-header {
        margin-bottom: 50px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
        gap: 50px 0;
    }

    .guide-step {
        padding: 36px 24px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
    }

    .step-icon svg {
        width: 26px;
        height: 26px;
    }

    /* Workflow Section Mobile */
    .workflow-section {
        min-height: auto;
        padding: 80px 0;
    }

    .workflow-content {
        padding: 40px 28px;
        border-radius: 24px;
    }

    .workflow-text h2 {
        font-size: 1.8rem;
    }

    .workflow-text>p {
        font-size: 1rem;
    }

    .workflow-list li {
        font-size: 0.95rem;
    }

    .workflow-node {
        padding: 20px 18px;
    }

    .workflow-node svg {
        width: 28px;
        height: 28px;
    }

    .workflow-node span {
        font-size: 0.75rem;
    }

    .workflow-arrow svg {
        width: 20px;
        height: 20px;
    }

    /* Footer */
    footer {
        padding: 50px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-right {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .footer-right a {
        margin-left: 0;
    }

    /* Hide more parallax shapes on mobile */
    .shape-2,
    .shape-4,
    .shape-6 {
        display: none;
    }

    .shape-1 {
        width: 180px;
        height: 180px;
        top: 2%;
        left: -10%;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        display: none;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .app-window-3d {
        transform: none;
    }

    .m-time {
        font-size: 36px;
    }

    .m-nav-pills {
        gap: 4px;
    }

    .m-pill-button {
        font-size: 8px;
        padding: 3px 6px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .feature-section {
        padding: 50px 0;
    }

    .feature-text h3 {
        font-size: 1.4rem;
    }

    .feature-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .metric-value {
        font-size: 2.8rem;
    }

    .realtime-clock {
        font-size: 2.8rem;
    }

    .key {
        font-size: 1.2rem;
        padding: 12px 16px;
    }

    .color-swatch {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .user-bubble {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .tech-content {
        padding: 30px 20px;
    }

    .tech-text h2 {
        font-size: 1.6rem;
    }

    .electron-logo-anim {
        width: 100px;
        height: 100px;
    }

    .core {
        width: 30px;
        height: 30px;
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-card h2 {
        font-size: 1.6rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    /* Hide all parallax shapes on very small screens */
    .parallax-shapes {
        display: none;
    }
}