/* --- Base Styles & Reset --- */
:root {
    --primary-color: #0078d7;
    --primary-hover: #005a9e;
    --secondary-color: #28a745;
    --secondary-hover: #218838;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reduced padding for a tighter layout */
.section {
    padding: 50px 20px; 
}

.section-alt {
    padding: 50px 20px;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 20px;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    text-decoration: none !important;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #e9ecef;
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background-color: #dde0e3;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-support {
    background-color: #29abe0; /* Ko-fi color */
    color: white !important;
}

.btn-support:hover {
    background-color: #228ebf;
}

.btn-support-alt {
    background-color: var(--secondary-color);
    color: white !important;
}

.btn-support-alt:hover {
    background-color: var(--secondary-hover);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 50px auto; /* Tighter margins */
    padding: 0 20px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.hero-highlight {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.hero-steps {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.hero-timing {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* --- Placeholders --- */
.placeholder-box {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background-color: #f1f3f5;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #868e96;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.placeholder-box.tall {
    height: 450px;
}

/* --- The Problem Section (Quote Grid) --- */
.subtitle-text {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.quote-box {
    background: var(--bg-light);
    padding: 12px 15px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    font-size: 0.95rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.solution-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
}

/* --- How It Works --- */
.how-it-works-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.instructions {
    flex: 1;
    min-width: 300px;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 15px;
}

.diagram-visual {
    flex: 1;
    min-width: 300px;
}

.macro-list {
    list-style-type: square;
    padding-left: 20px;
    color: var(--text-muted);
}

.macro-list li {
    margin-bottom: 8px;
}

/* --- FAQ --- */
.faq-item {
    margin-bottom: 20px; /* Reduced */
}

.faq-item h3 {
    margin-bottom: 5px; /* Reduced */
    color: var(--primary-color);
}

/* --- Support --- */
.support-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.support-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Footer --- */
footer {
    background-color: #2c2c2c;
    color: #cccccc;
    padding: 40px 20px; /* Reduced */
    font-size: 0.9rem;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

footer a {
    color: #00ffaa;
}

footer a:hover {
    color: #ffffff;
}

.legal-block {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        margin: 40px auto;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
}