:root {
    --bg-color: #020617; /* Darker, richer blue-black */
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    --surface-color: rgba(30, 41, 59, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif; /* For classy headings */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    font-size: 1.1em;
}

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

.btn-primary-small {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 8px 20px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--bg-color);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    overflow: hidden;
    position: relative; /* Context for absolute canvas */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    opacity: 0.6; /* Subtle blend */
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1; /* Content above canvas */
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-top: -15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.highlight-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

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

.hero-subtitle strong {
    color: var(--text-color);
    font-weight: 600;
}

.hero-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 24px;
}

.hero-logo {
    max-width: 640px; /* Much bigger */
    width: 100%;
    aspect-ratio: 16 / 9; /* Enforce true 16:9 */
    object-fit: cover; /* Ensure it fills the ratio nicely */
    border-radius: 24px;
    margin-bottom: 12px; /* Closer to H1 */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    min-width: 200px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-download.windows {
    background-color: #0078D4;
    color: white;
}

.btn-download.mac {
    background-color: #ffffff;
    color: #000000;
}

.btn-download .icon {
    font-size: 1.2em;
}

/* Hero Visual */
.hero-visual {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    background: #000;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.play-icon {
    font-size: 24px;
    color: white;
    margin-left: 4px; /* Optical adjustment */
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    filter: blur(60px);
    pointer-events: none;
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

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

/* Feature Highlights (Split Layout) */
.feature-highlight {
    padding: 100px 0;
}

.feature-highlight.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.visual-content {
    flex: 1;
}

.badge {
    display: inline-block;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.feature-highlight h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 24px 0;
}

.feature-highlight p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Visuals - Code Preview */
.code-preview {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}

.preview-header {
    background: #0f172a;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.preview-body {
    padding: 24px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.dim { color: #64748b; }
.highlight { color: #60a5fa; font-weight: bold; }

/* Visuals - Integration Grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.logo-box {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.logo-box:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: scale(1.05);
}

/* Comparison Table */
.comparison-section {
    padding: 100px 0;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: #0f172a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.comparison-table th,
.comparison-table td {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.comparison-table th {
    background: rgba(255,255,255,0.05);
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.comparison-table th.highlight-col {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-bottom: 2px solid #60a5fa;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    width: 30%;
}

.comparison-table td.check {
    color: #22c55e;
    font-size: 1.5rem;
}

.comparison-table td.cross {
    color: #ef4444;
    font-size: 1.5rem;
}

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

.comparison-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.comparison-table .highlight-cell {
    background: rgba(59, 130, 246, 0.05);
    font-weight: 700;
    color: var(--text-color);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    text-align: center;
}

.pricing-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 500px;
    margin: 40px auto 0;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent-gradient);
}

.price-tag {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin: 24px 0 8px;
    letter-spacing: -0.02em;
}

.price-period {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.price-original {
    text-decoration: line-through;
    color: #64748b;
    font-size: 1.5rem;
    margin-right: 12px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li .check-icon {
    color: #22c55e;
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0f172a 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 32px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-icon-small {
    font-size: 2rem;
    margin: -16px 0 24px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.about-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 32px;
    color: var(--text-color);
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
    text-align: center;
}

.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.copyright {
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .split-layout { flex-direction: column !important; gap: 40px; }
    .nav-container { flex-direction: column; gap: 16px; }
    nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
}
