/* --- CSS Variables: The Timescry Palette --- */
:root {
    --void-charcoal: #121215;       /* Deep Discord-like background */
    --discord-gray: #1e1f22;        /* Secondary background for cards */
    --raven-teal: #1a3644;          /* Subtle accent background */
    --clockwork-gold: #dca54c;      /* Primary CTA and highlight color */
    --clockwork-gold-hover: #c48e3a;
    --text-main: #e8e8e8;           /* High contrast readable text */
    --text-muted: #9ba1a6;          /* Secondary text */
    --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Global Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--void-charcoal);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.2s ease;
    text-align: center;
}

.cta-button.primary-accent {
    background-color: var(--clockwork-gold);
    color: #000000;
    padding: 10px 20px;
}

.cta-button.primary-accent:hover {
    background-color: var(--clockwork-gold-hover);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15%; /* Updated to 15% margins */
    background-color: rgba(18, 18, 21, 0.95);
    border-bottom: 1px solid #2a2a2e;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clockwork-gold);
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 15%; /* Updated to 15% margins */
    align-items: center;
    max-width: 1400px; /* Slightly widened to accommodate the 15% padding gracefully */
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

/* Tella.tv Embed Styling */
.hero-visual {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--discord-gray);
    border: 1px solid #2a2a2e;
}

.hero-visual video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9; /* Ensures the video scales proportionally */
    border: none;
    display: block;
}

/* Temporary mockup styling (in case you don't have the iframe in yet) */
.mockup-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* --- Comparison Section (Old vs New) --- */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 60px auto;
    border-radius: 8px;
    overflow: hidden;
}

.old-way, .new-way {
    padding: 40px;
    text-align: center;
}

.old-way {
    background-color: #1a1a1c;
    border-right: 1px solid #2a2a2e;
}

.new-way {
    background-color: var(--raven-teal);
    border-top: 3px solid var(--clockwork-gold);
}

/* --- Tagline Quote --- */
.tagline-quote {
    text-align: center;
    padding: 60px 15%;
}

.tagline-quote blockquote {
    display: inline-block;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.5;
    border-left: 4px solid var(--clockwork-gold);
    padding: 0 0 0 28px;
    text-align: left;
    max-width: 720px;
    margin: 0 auto;
}

/* --- How It Works --- */
.how-it-works {
    padding: 80px 15%; /* Updated to 15% margins */
    background-color: var(--discord-gray);
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.step {
    padding: 30px;
    background-color: var(--void-charcoal);
    border-radius: 8px;
    position: relative;
}

.step-number {
    display: inline-block;
    background-color: var(--clockwork-gold);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 30px;
    margin-bottom: 15px;
}

.proof-image {
    width: 100%;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(220, 165, 76, 0.15);
    border: 1px solid #2a2a2e;
}

/* --- Features Section --- */
.features {
    padding: 80px 15%; /* Updated to 15% margins */
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--discord-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.2s ease;
    border-left: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-left: 2px solid var(--clockwork-gold);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 15%; /* Updated to 15% margins */
    background-color: #0d0d0f;
    border-top: 1px solid #2a2a2e;
}

/* --- Responsive Design (Mobile & Tablet) --- */
@media (max-width: 1024px) {
    /* Step down the padding slightly for tablets so it doesn't crowd */
    .navbar, .hero, .how-it-works, .features, footer {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media (max-width: 768px) {
    /* Reset padding back to 5% for mobile phones so text has room */
    .navbar, .hero, .how-it-works, .features, footer {
        padding-left: 5%;
        padding-right: 5%;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .comparison {
        grid-template-columns: 1fr;
        margin: 40px 5%; /* Adds breathing room on mobile */
    }
    .old-way {
        border-right: none;
        border-bottom: 1px solid #2a2a2e;
    }
}