:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #00ff41; /* Terminal Green */
    --secondary-color: #008f11; /* Darker Green */
    --accent-color: #0ff; /* Cyan */
    --danger-color: #ff3333;
    --card-bg: #111;
    --font-mono: "Menlo", "Consolas", "Monaco", monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-color);
}

h1, h2, h3 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 4rem;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-color) 70%);
}

.glow-container {
    position: relative;
    margin-bottom: 2rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
    transition: transform 0.3s;
}

.app-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.4);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.tagline {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-family: var(--font-mono);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    background: #33ff66;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots {
    padding: 4rem 2rem;
    text-align: center;
    background: #0f0f0f;
    overflow-x: auto;
}

.screenshot-gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-container {
    flex-shrink: 0;
    padding: 10px;
    border-radius: 40px;
    background: #333;
    border: 4px solid #444;
    scroll-snap-align: center;
}

.screenshot-img {
    height: 500px;
    width: auto;
    border-radius: 32px;
    display: block;
}

/* Concept Section */
.concept {
    padding: 6rem 2rem;
    background: #080808;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.concept-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.haptic-table-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.haptic-table-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.haptic-table {
    width: min(100%, 720px);
    margin: 0 auto;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-align: center;
}

.haptic-table th {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.haptic-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    text-align: center;
}

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

.haptic-table .good td { color: var(--primary-color); }
.haptic-table .fair td { color: #ffe600; }
.haptic-table .bad td { color: #ff9900; }
.haptic-table .loss td { color: var(--danger-color); }

/* Use Case Section */
.use-cases {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #0a0a0a, #111);
    text-align: center;
}

.use-cases h2 {
    margin-bottom: 3rem;
    color: var(--text-color);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    transition: transform 0.2s;
}

.use-case-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.uc-icon {
    font-size: 2rem;
}

.uc-text h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.uc-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.pro-use-case {
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.02);
}

.pro-mini {
    font-size: 0.6em;
    background: var(--accent-color);
    color: #000;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* Pro Section */
.pro {
    padding: 6rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    border-top: 1px solid #222;
}

.pro-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.pro-badge {
    background: var(--accent-color);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8em;
    vertical-align: middle;
}

.pro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.pro-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.2s, background 0.2s;
}

.pro-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 255, 0.08);
}

.pro-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pro-text h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: var(--font-mono);
}

.pro-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 3rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
}

.footer-links {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.separator {
    margin: 0 0.5rem;
    color: #333;
}

/* Glitch Effect (Simple CSS only) */
.glitch {
    position: relative;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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