:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-primary: #9146FF;
    --accent-secondary: #FF0000;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #b07aff;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    background: 
        radial-gradient(circle at 15% 50%, rgba(145, 70, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 0, 0.08) 0%, transparent 25%);
    perspective: 2000px; /* Creates the 3D space */
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin-bottom: 20px;
    z-index: 10;
}

h1.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #fff 30%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    margin: 0 0 32px 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

/* 3D Visual Container */
.hero-visual-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

.hero-visual-frame {
    position: relative;
    width: 100%;
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.8);
    /* The "Chatterino" Angle / Modern SaaS Tilt */
    transform: rotateX(15deg) rotateY(0deg) scale(0.95);
    transform-origin: center center;
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.8), /* Deep Drop Shadow */
        0 0 0 1px rgba(255, 255, 255, 0.1),  /* Thin border */
        inset 0 0 20px rgba(255, 255, 255, 0.05); /* Inner gloss */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
}

/* Interactive Hover Effect */
.hero-visual-frame:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(145, 70, 255, 0.3); /* Purple glow on hover */
}

.hero-visual-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%); /* Slight fade at bottom edge if needed, or stick to clean */
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for border-radius overflow in some browsers */
}

/* Overlay sheen effect */
.hero-visual-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent; /* default border */
}

.btn-download {
    flex-direction: column;
    height: auto;
    gap: 8px;
    padding: 14px 50px;
}

.btn-text {
    font-size: 1.3rem;
    line-height: 1;
}

.btn-platforms {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.icon-platform {
    height: 18px;
    width: auto;
    fill: currentColor;
    display: block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    background: #f0f0f0;
    color: #000;
}

.btn:hover .btn-platforms {
    opacity: 0.9;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 16px;
    text-decoration: none;
    margin-top: -8px; /* Pull it up slightly */
}

.btn-link:hover {
    color: #fff;
    text-decoration: underline;
    background: transparent;
    box-shadow: none;
    transform: none;
}

/* Features Grid */
.features {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto 100px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Slightly wider cards */
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

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

.footer a:hover {
    color: #fff;
}

/* Content Pages (Privacy, Terms) */
.content-header {
    margin-bottom: 60px;
    text-align: left;
}

.content-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

section p, section ul {
    color: var(--text-muted);
    font-size: 1.1rem;
}

section ul {
    padding-left: 20px;
}

section li {
    margin-bottom: 12px;
}
