* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --text: #edf2f4;
    --text-muted: #8d99ae;
    --bg: #0f0f1a;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(233, 69, 96, 0.15) 0%, transparent 50%);
}
.hero-content { max-width: 800px; }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.btn:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    margin-left: 16px;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }

/* Section styling */
section { padding: 120px 0; }
.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 24px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 48px;
}

/* About */
#about { background: var(--primary); }
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.about-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}
.about-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-4px);
}
.about-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.about-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.about-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Products */
#products { background: var(--bg); }
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 32px;
}
.product-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-badge {
    font-size: 0.7rem;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.product-info p { color: var(--text-muted); margin-bottom: 24px; }
.product-features { list-style: none; margin-bottom: 32px; }
.product-features li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}
.product-visual {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}
.product-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(233,69,96,0.1), transparent);
}

/* TRIV.AL Game Visual */
.trival-game {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2319 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
}
.trival-game::after { display: none; }
.game-header { text-align: center; }
.player-flow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.player-pill {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: #aaa;
}
.player-pill b { color: #fff; margin-left: 4px; }
.player-pill.active { background: rgba(233,69,96,0.3); color: #fff; }
.flow-arrow { color: #555; font-size: 12px; }
.game-center { text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.played-info { color: #4a9; font-size: 12px; margin-bottom: 8px; }
.played-card {
    background: #3a3a3a;
    border: 2px solid #555;
    border-radius: 8px;
    width: 60px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.card-rank { font-size: 24px; color: #fff; line-height: 1; }
.card-suit { font-size: 20px; }
.card-suit.clubs { color: #4a4; }
.game-hand {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.mini-card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    width: 32px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.15s;
}
.mini-card.selected { transform: translateY(-6px); border-color: #e94560; box-shadow: 0 4px 12px rgba(233,69,96,0.4); }
.mini-card .spade, .mini-card .club { color: #888; }
.mini-card .heart, .mini-card .diamond { color: #e55; }

/* Deskflow Dashboard Visual */
.deskflow-dash {
    background: #f8f9fb;
    padding: 0;
    display: flex;
    overflow: hidden;
}
.deskflow-dash::after { display: none; }
.df-sidebar {
    width: 48px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
}
.df-logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.df-nav-item {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #9ca3af;
    cursor: pointer;
}
.df-nav-item.active { background: #eff6ff; color: #3b82f6; }
.df-main { flex: 1; padding: 12px; overflow: hidden; }
.df-header { font-weight: 600; font-size: 14px; color: #1f2937; margin-bottom: 10px; }
.df-stats { display: flex; gap: 8px; margin-bottom: 10px; }
.df-stat {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}
.df-stat-num { display: block; font-weight: 700; font-size: 16px; color: #3b82f6; }
.df-stat.green .df-stat-num { color: #22c55e; }
.df-stat.purple .df-stat-num { color: #a855f7; }
.df-stat-label { font-size: 8px; color: #9ca3af; text-transform: uppercase; }
.df-table { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.df-row { display: flex; padding: 6px 10px; font-size: 9px; border-bottom: 1px solid #f3f4f6; }
.df-row.head { background: #f9fafb; font-weight: 600; color: #6b7280; }
.df-row span { flex: 1; color: #374151; }
.df-row .status { 
    font-size: 8px; 
    padding: 2px 6px; 
    border-radius: 10px; 
    text-align: center;
    flex: 0.7;
}
.df-row .status.draft { background: #fef3c7; color: #b45309; }
.df-row .status.presented { background: #dbeafe; color: #1d4ed8; }
.df-row .status.closed { background: #dcfce7; color: #15803d; }

/* Contact */
#contact { background: var(--primary); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(233,69,96,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.9rem; }
.contact-item a { color: var(--accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.legal-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 24px;
}
.legal-links a:hover { color: var(--text); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}
.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-section a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--bg);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .product-card { grid-template-columns: 1fr; padding: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-company { grid-column: 1 / -1; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .btn-outline { margin-left: 0; margin-top: 12px; }
}