:root {
    /* Colors */
    --color-bg: #F5F5F7;
    /* Apple-like soft grey */
    --color-surface: #FFFFFF;
    --color-text-main: #1D1D1F;
    --color-text-secondary: #86868B;
    --color-primary: #34C759;
    /* Green accent from sales page */
    --color-primary-hover: #2DA84E;
    --color-border: #D2D2D7;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 1.5rem;
    /* 24px */
    --spacing-lg: 2.5rem;
    /* 40px */
    --spacing-xl: 4rem;
    /* 64px */
    --spacing-xxl: 8rem;
    /* 128px */

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* Utility / Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.site-nav ul {
    display: flex;
    gap: var(--spacing-lg);
}

.site-nav a {
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Footer */
.site-footer {
    padding: var(--spacing-xl) 0;
    background-color: #fff;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

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

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

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .site-nav {
        display: none;
    }

    /* Mobile menu later */
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xxl) 0 0 0;
    text-align: center;
    overflow: hidden;
    /* For animations later */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.hero-content h1 {
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #208735 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* MacBook Mockup (CSS only) */
.hero-visual {
    perspective: 1000px;
}

.macbook-frame {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    transform: rotateX(20deg) scale(0.9);
    transition: transform 0.5s ease-out;
    opacity: 0.9;
}

.hero-section:hover .macbook-frame {
    transform: rotateX(5deg) scale(1);
    opacity: 1;
}

.macbook-frame .screen {
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 0 12px;
    /* Bezel */
    position: relative;
    border: 1px solid #d2d2d7;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/10;
}

.app-ui-mockup {
    background: #fff;
    height: 100%;
    border-radius: 4px 4px 0 0;
    display: flex;
    overflow: hidden;
}

.app-ui-mockup .sidebar {
    width: 200px;
    background: #f5f5f7;
    border-right: 1px solid #e5e5e5;
}

.app-ui-mockup .main-view {
    flex: 1;
    padding: 24px;
    background: #fff;
}

.task-card {
    height: 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 12px;
    width: 80%;
}

.task-card.active {
    border-color: var(--color-primary);
    background: #f0fff4;
}

.macbook-frame .body {
    background: #e2e2e4;
    height: 14px;
    border-radius: 0 0 12px 12px;
    position: relative;
    border: 1px solid #d2d2d7;
    border-top: none;
}

.macbook-frame .body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 8px;
    background: #c1c1c4;
    border-radius: 0 0 8px 8px;
}

/* Social Proof */
.social-proof {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    /* margin-bottom: var(--spacing-xxl); */
}

.social-proof p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Features List */
.features-list {
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.feature-split {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

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

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 450px;
    text-align: left;
}

.feature-image {
    flex: 1.2;
    /* Give image slightly more space */
    min-width: 300px;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.1));
}

/* Placeholder Mac Window */
.placeholder-mac-window {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* Stronger shadow for depth */
    overflow: hidden;
    border: 1px solid #d2d2d7;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}

.pm-header {
    height: 32px;
    background: #f1f1f1;
    border-bottom: 1px solid #d2d2d7;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    position: relative;
}

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

.pm-dot.red {
    background: #FF5F57;
    border: 1px solid #E0443E;
}

.pm-dot.yellow {
    background: #FFBD2E;
    border: 1px solid #DEA123;
}

.pm-dot.green {
    background: #28C940;
    border: 1px solid #1AAB29;
}

.pm-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.pm-body {
    flex: 1;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Feature 1 UI */
.simple-ui {
    display: flex;
}

.pm-sidebar {
    width: 25%;
    background: #F5F5F7;
    border-right: 1px solid #E5E5E5;
}

.pm-content {
    flex: 1;
    padding: 20px;
}

.pm-task-row {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.pm-avatar {
    width: 24px;
    height: 24px;
    background: #ddd;
    border-radius: 50%;
    margin-right: 12px;
}

.pm-task-line {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.pm-badge {
    background: #999;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 99px;
}

.pm-task-row.active .pm-badge {
    background: var(--color-primary);
}

/* Feature 2 UI */
.history-ui {
    background: #fafafa;
    padding: 20px;
}

.pm-h-item {
    padding: 12px;
    border-bottom: 1px dashed #ddd;
    color: #888;
    text-decoration: line-through;
}

.pm-h-item.done {
    color: #aaa;
}

/* Feature 3 UI */
.folder-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef2f5;
}

.pm-btn-link {
    background: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pm-file-grid {
    display: flex;
    gap: 12px;
}

.pm-file {
    width: 40px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
}

.pm-file::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #eee;
    border-bottom-left-radius: 4px;
}

/* Feature 4 UI */
.notepad-ui {
    padding: 30px;
    background: #fff9e6;
}

.pm-note-content h3 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pm-text-block {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
}

.pm-text-block.short {
    width: 60%;
}

@media (max-width: 900px) {

    .feature-split,
    .feature-split.reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-text p {
        margin: 0 auto;
    }
}

/* How It Works (Split Layout) */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-primary);
    color: #fff;
    /* Removed borders to make it a clean colored section */
}

.how-it-works .section-header {
    margin-bottom: var(--spacing-xl);
}

.how-it-works .section-header h2 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.steps-wrapper {
    /*max-width: 1000px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.step-split {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Reverse layout for even steps */
.step-split.reverse {
    flex-direction: row-reverse;
}

.step-text {
    flex: 1;
    min-width: 300px;
}

.step-text h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
    text-align: left;
}

.step-text span {
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #fff;
    color: var(--color-primary);
    padding: 0.25rem 0.7rem;
    border-radius: 0.25rem;
    margin-right: var(--spacing-xs);
}

.step-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.step-image {
    flex: 1;
    min-width: 300px;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.1));
}

.step-image video {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* CSS UI Placeholders */
.placeholder-ui {
    background: #F5F5F7;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* Specific UI Mockups (simplified CSS art) */
.ui-sidebar,
.ui-menu,
.ui-input-area,
.ui-notepad,
.ui-calendar,
.ui-window,
.ui-status-dropdown {
    width: 80%;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ui-row,
.ui-menu-item,
.status-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.ui-row.active,
.ui-menu-item.active,
.status-item.done {
    background: #E8F5E9;
    color: var(--color-primary);
    font-weight: 600;
}

.ui-row.new {
    color: #888;
    border: 1px dashed #ccc;
}

.ui-input {
    font-family: monospace;
    border-bottom: 2px solid var(--color-primary);
    padding: 4px 0;
}

.ui-label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
}

.ui-line {
    height: 12px;
    background: #eee;
    margin-bottom: 8px;
    border-radius: 2px;
}

.ui-notepad {
    font-family: monospace;
    font-size: 0.8rem;
    color: #555;
}

.ui-cal-grid {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.ui-cal-grid span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ui-cal-grid span.active {
    background: var(--color-primary);
    color: #fff;
}

.ui-search {
    background: #eee;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #555;
}

.ui-result {
    background: #E8F5E9;
    padding: 12px;
    border-radius: 6px;
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {

    .step-split,
    .step-split.reverse {
        flex-direction: column;
        text-align: center;
    }

    .placeholder-ui {
        height: 200px;
    }
}

/* About Section */
.about-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg);
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.about-text p {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-text-main);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

/* Developer Profile */
.developer-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background-color: #ddd;
    /* Placeholder gray */
    border-radius: 50%;
    margin-bottom: var(--spacing-xs);
    background-image: url('../images/profile_placeholder.jpg');
    /* If user adds one */
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}

.developer-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.social-link {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: var(--color-primary);
    text-decoration-color: var(--color-primary);
}

/* Update History */
.update-history-section {
    padding: var(--spacing-xxl) 0;
    background-color: #fafafa;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.update-list {
    max-width: 700px;
    margin: 0 auto;
}

.update-item {
    border-bottom: 1px solid #e5e5e5;
    padding: var(--spacing-lg) 0;
}

.update-item:last-child {
    border-bottom: none;
}

.update-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.version {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.date {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-family: var(--font-mono);
    /* Optional: monospace for dates looks techy */
}

.update-details {
    list-style-type: disc;
    padding-left: 20px;
}

.update-details li {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 8px;
    line-height: 1.5;
    text-align: left;
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-xl) 0 var(--spacing-xl) 0;
    background-color: #fff;
    text-align: center;
}

.pricing-box {
    background-color: #000;
    color: #fff;
    border: 1px solid #333;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-box h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.pricing-box p {
    color: #ccc;
    margin-bottom: var(--spacing-lg);
}

.pricing-note {
    font-size: 0.8rem;
    margin-top: var(--spacing-md);
    opacity: 0.7;
    color: #777;
}

.pricing-action .btn {
    padding: 14px 40px;
    font-size: 1.1rem;
}

/* Install Section (Dark Theme for 'Cool' factor) */
.install-section {
    background-color: #111;
    color: #fff;
    padding: var(--spacing-xxl) 0;
}

.install-section .section-header h2 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.install-section .section-header p {
    color: #aaa;
}

.install-section .section-header {
    margin-bottom: var(--spacing-lg);
}

.install-section .container {
    max-width: 800px;
}

.install-step {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid #555555;
    padding-bottom: var(--spacing-md);
}

.install-step .i-step-num {
    background-color: #b2b2b2;
    color: #111;
    padding: 5px 8px;
    border-radius: 30px;
}

.install-step h3 {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.install-step p {
    margin-bottom: var(--spacing-sm);
    color: #b2b2b2;
}

.install-step video {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-top: var(--spacing-sm);
    border-radius: 15px;
}

.install-step .notice-text {
    margin-top: var(--spacing-xs);
}

/* FAQ */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.small-container {
    max-width: 800px;
}

.faq-section h2 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.faq-item {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    text-align: left;
}

.faq-item p {
    text-align: left;
}

/* Footer improvements */
.site-footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Common Section */
.common-section {
    padding: var(--spacing-xl) 0;
}

.common-section h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.common-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.common-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-main);
}

.common-section .content-block {
    margin-bottom: var(--spacing-lg);
}

.common-section ul {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    list-style: disc;
    padding-left: 20px;
}

.common-section li {
    margin-bottom: var(--spacing-xs);
}