* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dd9933;
    --secondary-color: #c88829;
    --dark-bg: #ffffff;
    --darker-bg: #f8f8f8;
    --light-text: #212121;
    --muted-text: #555555;
    --card-bg: #f5f5f5;
    --border-color: #dddddd;
    --accent: #dd9933;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: #ffffff;
}

/* Navigation */
.main-nav {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

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

.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }
}

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

header {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .subtitle {
    font-size: 1.5rem;
    color: var(--muted-text);
    margin-bottom: 10px;
}

header .tagline {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 15px;
    font-weight: 500;
}

header .version {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

main {
    padding: 40px 0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 15px;
    color: var(--muted-text);
}

.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-text);
}

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

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    margin-left: 30px;
    margin-bottom: 15px;
    color: var(--muted-text);
}

li {
    margin-bottom: 8px;
}

code {
    background-color: var(--card-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent);
}

.contact-box {
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.contact-box strong {
    color: var(--light-text);
}

/* Plugin Preview */
.plugin-preview {
    margin: 40px 0 60px 0;
    text-align: center;
}

.plugin-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.download-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(221, 153, 51, 0.3);
}

.download-card h3 {
    margin-bottom: 10px;
}

.download-card p {
    margin-bottom: 20px;
}

.download-card .formats {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(221, 153, 51, 0.4);
    color: white;
}

/* Phase Cards */
.phase-card {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.phase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(221, 153, 51, 0.2);
}

.phase-1 {
    border-color: var(--primary-color);
}

.phase-2 {
    border-color: var(--secondary-color);
}

.phase-3 {
    border-color: var(--accent);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.phase-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
}

.phase-status {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-1 .phase-status {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid #22c55e;
}

.phase-2 .phase-status {
    background-color: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid #f97316;
}

.phase-3 .phase-status {
    background-color: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid #a855f7;
}

.phase-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.phase-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 25px;
    font-style: italic;
}

.phase-vision {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-text);
    background-color: rgba(221, 153, 51, 0.08);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin-top: 25px;
    border-radius: 5px;
}

.phase-vision strong {
    color: var(--accent);
}

/* Mode Split (for Phase 1) */
.mode-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.mode {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.mode h4 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.mode-tagline {
    font-size: 0.95rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 15px;
}

.mode-features {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.mode-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--muted-text);
}

.mode-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Feature Grid (for Phase 2 and 3) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.feature h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.mode-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.mode-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mode-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 20px;
    font-style: italic;
}

.update {
    background-color: #ffffff;
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.update h3 {
    margin-bottom: 10px;
}

/* Companion Apps */
.companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.companion-card {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.companion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(221, 153, 51, 0.2);
    border-color: var(--primary-color);
}

.companion-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--light-text);
}

.companion-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.companion-tagline {
    font-size: 0.95rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 15px;
}

.companion-features {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-top: 15px;
}

.companion-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--muted-text);
    font-size: 0.95rem;
}

.companion-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.companion-status {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

/* Getting Started Section */
.getting-started {
    margin: 60px 0;
}

/* Tabs */
.tabs {
    margin-top: 30px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-text);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-family: 'Rubik', sans-serif;
}

.tab-button:hover {
    color: var(--light-text);
    background-color: rgba(221, 153, 51, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Record Modes */
.record-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.record-mode-card {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.record-mode-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 153, 51, 0.2);
}

.record-mode-card h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.record-mode-card p {
    margin-bottom: 12px;
    color: var(--muted-text);
}

.record-mode-card ul {
    list-style: none;
    padding-left: 0;
}

.record-mode-card ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.record-mode-card ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Feature Highlight */
.feature-highlight {
    background-color: rgba(221, 153, 51, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.feature-highlight h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-highlight ul {
    list-style: none;
    padding-left: 0;
}

.feature-highlight ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.feature-highlight ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Tips List */
.tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-list li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    transition: transform 0.2s;
}

.tips-list li:hover {
    transform: translateX(5px);
    background-color: rgba(221, 153, 51, 0.05);
}

.guide-section {
    margin: 30px 0;
}

.guide-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.workflow-steps {
    list-style: none;
    counter-reset: workflow-counter;
    padding-left: 0;
}

.workflow-steps li {
    counter-increment: workflow-counter;
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.workflow-steps li::before {
    content: counter(workflow-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.workflow-steps li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--light-text);
}

.workflow-steps li p {
    margin-bottom: 8px;
    color: var(--muted-text);
}

.workflow-steps li ul {
    margin-top: 10px;
    padding-left: 20px;
}

.workflow-steps li ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

.workflow-steps li ul li::before {
    display: none;
}

footer {
    background-color: #f8f8f8;
    border-top: 2px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
}

/* Video Embed Styles */
.video-section {
    margin: 40px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.video-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(221, 153, 51, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.video-info p {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

/* Manual Page Styles */
.manual-header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.manual-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manual-header p {
    color: #cccccc;
    font-size: 1.2rem;
}

.manual-toc {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.manual-toc h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.manual-toc ul {
    list-style: none;
    margin-left: 0;
    columns: 2;
}

.manual-toc ul li {
    margin-bottom: 10px;
}

.manual-toc ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.manual-toc ul li a:hover {
    color: var(--primary-color);
}

.chapter {
    margin: 50px 0;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.chapter:first-of-type {
    border-top: none;
    padding-top: 0;
}

.chapter h2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chapter-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

    header .subtitle {
        font-size: 1.2rem;
    }

    header .tagline {
        font-size: 1rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .mode-split {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .phase-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .large-text {
        font-size: 1.05rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .manual-toc ul {
        columns: 1;
    }
}
