/* PTSFLEX Landing — statik tasarım, iş mantığı yok */

:root {
    --bg: #0a0e17;
    --surface: #121a2b;
    --surface-hover: #1a2540;
    --border: #2a3654;
    --text: #e8ecf4;
    --muted: #8b95a8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --green: #10b981;
    --radius: 12px;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem;
}

.lang-switch a {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    transition: background 0.15s, color 0.15s;
}

.lang-switch a:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.lang-switch a.is-active {
    background: var(--accent);
    color: #fff;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
}

/* Platform cards */
.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.platform-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.platform-icon--platform { background: rgba(59, 130, 246, 0.15); }
.platform-icon--pwa       { background: rgba(16, 185, 129, 0.15); }
.platform-icon--server    { background: rgba(245, 158, 11, 0.15); }
.platform-icon--mail      { background: rgba(168, 85, 247, 0.15); }

.platform-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
    flex: 1;
}

.platform-card .arrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer a {
    color: var(--muted);
    text-decoration: underline;
}
