/* TimkaMe Theme CSS
   Shared styles for all landing pages
   Version: 2.0 (January 2026)
*/

/* Variables */
:root {
    --bg: #06080f;
    --bg-card: #0d1117;
    --bg-elevated: #161b22;
    --border: #21262d;
    --text: #f0f6fc;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.4);
    --accent-secondary: #79c0ff;
    --success: #3fb950;
    --purple: #a371f7;
    --orange: #f0883e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-1 {
    width: 700px;
    height: 700px;
    background: var(--accent);
    top: -100px;
    right: 0;
    animation: float1 20s infinite ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    bottom: 0;
    left: -100px;
    animation: float2 25s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(88, 166, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 166, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.header-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-large.primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-large.primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-large.secondary:hover {
    border-color: var(--accent);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

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

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

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

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-logo span {
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

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

/* CTA Section */
.cta-section {
    padding: 60px 0 100px;
}

.cta-card {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    border-radius: 24px;
    padding: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-card h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    position: relative;
}

.cta-card p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    position: relative;
}

.btn-white {
    background: white;
    color: var(--accent);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-buttons .btn-ghost {
        display: none;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .cta-card h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
