/*
Theme Name: How I Did It
Theme URI: https://hidi.uk
Author: Gustav
Author URI: https://hidi.uk
Description: A clean, minimal theme for documentation and guides. Built for readability.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidi
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
    margin: 0 0 1.5rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #1a1a1a;
    padding: 1rem 1.5rem;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.site-branding a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.site-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.site-title {
    line-height: 1;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    color: #fff;
    font-size: 0.9375rem;
    opacity: 0.85;
}

.main-navigation a:hover {
    opacity: 1;
    text-decoration: none;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    opacity: 1;
}

/* Dropdown menu */
.main-navigation .has-dropdown {
    position: relative;
}

.main-navigation .has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.main-navigation .has-dropdown > a i {
    font-size: 0.625rem;
    transition: transform 0.2s;
}

.main-navigation .has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.main-navigation .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
}

.main-navigation .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.main-navigation .dropdown-menu li {
    width: 100%;
}

.main-navigation .dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: #333;
    opacity: 1;
    white-space: nowrap;
}

.main-navigation .dropdown-menu a:hover {
    background: #f5f5f5;
    color: #0066cc;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.2s;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s;
}

.menu-toggle-icon::before {
    top: -7px;
}

.menu-toggle-icon::after {
    top: 7px;
}

/* Hamburger animation when open */
.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0066cc;
    color: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #f5f5f5;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

.site-footer a {
    color: #666;
}

.site-footer a:hover {
    color: #333;
}

/* ==========================================================================
   Content
   ========================================================================== */

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    margin-bottom: 0;
}

.entry-content {
    max-width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Code blocks */
.entry-content pre,
.entry-content code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.875rem;
}

.entry-content code {
    background-color: #f5f5f5;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
}

.entry-content pre {
    background-color: #f5f5f5;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 4px;
    margin: 0 0 1.5rem;
}

.entry-content pre code {
    padding: 0;
    background: none;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Blockquotes */
.entry-content blockquote {
    margin: 0 0 1.5rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid #0066cc;
    background-color: #f9f9f9;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.entry-content th,
.entry-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content th {
    font-weight: 600;
    background-color: #f5f5f5;
}

/* Callouts */
.callout {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.callout-info {
    background-color: #e7f3ff;
    border-left: 4px solid #0066cc;
}

.callout-warning {
    background-color: #fff8e6;
    border-left: 4px solid #f0a000;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Homepage - Hero
   ========================================================================== */

.page-home {
    padding: 0;
}

.hero {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   Homepage - Sections
   ========================================================================== */

.intro-section,
.benefits-section,
.workflow-section,
.structure-section,
.fit-section,
.cta-section {
    margin-bottom: 3.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0066cc;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.lead {
    font-size: 1.25rem;
    color: #444;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.speed-claim {
    text-align: center;
    font-size: 1.125rem;
    color: #0066cc;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 82, 163, 0.08) 100%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem auto 0;
    max-width: 500px;
}

.speed-claim strong {
    color: #0052a3;
}

/* ==========================================================================
   Homepage - Benefits Cards
   ========================================================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Homepage - Workflow Steps
   ========================================================================== */

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.workflow-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: border-color 0.2s;
}

.workflow-step:hover {
    border-color: #0066cc;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    margin: 0;
    color: #555;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ==========================================================================
   Homepage - Structure Cards
   ========================================================================== */

.structure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.structure-card {
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
}

.structure-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.structure-header i {
    color: #ffd43b;
}

.structure-description {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

.structure-files li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: #ccc;
    border-bottom: 1px solid #333;
}

.structure-files li:last-child {
    border-bottom: none;
}

.structure-files code {
    background: #333;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.8125rem;
    color: #4fc3f7;
}

/* ==========================================================================
   Homepage - Fit Cards
   ========================================================================== */

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.fit-card {
    border-radius: 8px;
    padding: 1.5rem;
}

.fit-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.fit-card h3 i {
    font-size: 1rem;
}

.fit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fit-card li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fit-card li:last-child {
    border-bottom: none;
}

.fit-good {
    background: #e8f5e9;
}

.fit-good h3 {
    color: #2e7d32;
}

.fit-good h3 i {
    color: #2e7d32;
}

.fit-not {
    background: #ffebee;
}

.fit-not h3 {
    color: #c62828;
}

.fit-not h3 i {
    color: #c62828;
}

/* ==========================================================================
   Homepage - CTA Section
   ========================================================================== */

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 0;
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: #555;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* ==========================================================================
   Forms (Fluent Forms compatibility)
   ========================================================================== */

.fluentform {
    max-width: 500px;
}

.fluentform .ff-el-group {
    margin-bottom: 1.25rem;
}

.fluentform .ff-el-input--label label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.fluentform input:focus,
.fluentform textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.fluentform textarea {
    min-height: 150px;
    resize: vertical;
}

.fluentform .ff-btn-submit {
    background-color: #0066cc;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.fluentform .ff-btn-submit:hover {
    background-color: #0052a3;
}

.fluentform .ff-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto !important;
    height: auto;
    width: auto;
    background-color: #f5f5f5;
    padding: 1rem;
    z-index: 100000;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Homepage - Proof Section
   ========================================================================== */

.proof-section,
.plugin-section {
    margin-bottom: 3.5rem;
}

.section-intro {
    text-align: center;
    color: #555;
    margin-bottom: 1.5rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.proof-card {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.proof-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: #fff;
}

.proof-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.proof-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.proof-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9375rem;
}

/* ==========================================================================
   Homepage - Get Started Section
   ========================================================================== */

.get-started-section {
    margin-bottom: 3.5rem;
}

.get-started-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.get-started-card {
    display: block;
    background: #fff;
    border: 2px solid #e8e8e8;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.get-started-card:hover {
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    text-decoration: none;
}

.get-started-card i:first-child {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 1rem;
    display: block;
}

.get-started-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.get-started-card p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    font-weight: 500;
    font-size: 0.9375rem;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.get-started-card:hover .card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   Homepage - Plugin Section
   ========================================================================== */

.plugin-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.plugin-description p {
    color: #444;
    margin-bottom: 1.5rem;
}

.plugin-description p:last-child {
    margin-bottom: 0;
}

.plugin-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.plugin-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 6px;
    font-size: 0.9375rem;
}

.plugin-features i {
    color: #0066cc;
    width: 20px;
    text-align: center;
}

/* ==========================================================================
   Buttons - Secondary
   ========================================================================== */

.btn-secondary {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-1px);
}

/* ==========================================================================
   Voice Test Pages
   ========================================================================== */

.page-voice-test {
    padding: 0;
}

.page-header {
    text-align: center;
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

.voice-story {
    margin-bottom: 3rem;
}

.voice-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
}

.voice-quote i {
    font-size: 1.5rem;
    opacity: 0.5;
    margin-bottom: 0.5rem;
    display: block;
}

.voice-quote blockquote {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
}

.what-happened {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.what-happened li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.what-happened i {
    color: #0066cc;
    width: 20px;
    text-align: center;
}

.what-happened code {
    background: #e9ecef;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Voice Test - Time Comparison
   ========================================================================== */

.time-saved {
    margin-bottom: 3rem;
}

.time-saved h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: 8px;
}

.comparison-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comparison-card ol {
    margin: 0;
    padding-left: 1.25rem;
}

.comparison-card li {
    padding: 0.375rem 0;
    font-size: 0.9375rem;
}

.comparison-card.traditional {
    background: #fff3e0;
}

.comparison-card.traditional h3 {
    color: #e65100;
}

.comparison-card.traditional h3 i {
    color: #e65100;
}

.comparison-card.voice {
    background: #e8f5e9;
}

.comparison-card.voice h3 {
    color: #2e7d32;
}

.comparison-card.voice h3 i {
    color: #2e7d32;
}

.comparison-card.voice ol {
    font-size: 1.125rem;
    font-weight: 500;
}

/* ==========================================================================
   Voice Test - Try It Section
   ========================================================================== */

.try-it {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.try-it h2 {
    margin-bottom: 0.75rem;
}

.try-it p {
    color: #555;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Voice Test 2 - Venn Diagram
   ========================================================================== */

.venn-section {
    margin-bottom: 3rem;
}

.venn-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.venn-diagram {
    position: relative;
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
}

.venn-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.venn-voice {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.15);
    border: 3px solid #667eea;
    padding-left: 2.5rem;
    padding-right: 4rem;
}

.venn-ai {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(118, 75, 162, 0.15);
    border: 3px solid #764ba2;
    padding-right: 2.5rem;
    padding-left: 4rem;
    text-align: right;
}

.venn-intersection {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.venn-label {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    display: block;
}

.venn-voice .venn-label {
    color: #667eea;
}

.venn-ai .venn-label {
    color: #764ba2;
}

.venn-intersection .venn-label {
    color: #1a1a1a;
    font-size: 1rem;
}

.venn-items {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
    color: #555;
}

.venn-items li {
    padding: 0.25rem 0;
}

.venn-intersection .venn-items {
    font-weight: 500;
    color: #333;
}

/* ==========================================================================
   Voice Test 2 - Explanation
   ========================================================================== */

.diagram-explanation {
    margin-bottom: 3rem;
}

.diagram-explanation h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.explanation-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.explanation-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.explanation-card h3 i {
    color: #666;
}

.explanation-card p {
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.explanation-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.explanation-card.highlight h3 {
    color: #fff;
}

.explanation-card.highlight h3 i {
    color: #fff;
}

.explanation-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Voice Test 2 - Meta Note
   ========================================================================== */

.meta-note {
    background: #1a1a1a;
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.meta-note h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.meta-note p {
    color: #ccc;
    margin-bottom: 1rem;
}

.meta-note p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Mobile navigation - hamburger menu */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-navigation.is-open {
        max-height: 500px;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
    }

    .main-navigation li {
        text-align: center;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 1rem;
    }

    /* Dropdown on mobile */
    .main-navigation .has-dropdown {
        position: static;
    }

    .main-navigation .has-dropdown > a {
        justify-content: center;
    }

    .main-navigation .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        border-radius: 4px;
        margin: 0;
        padding: 0;
        width: 100%;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.2s ease-out;
    }

    .main-navigation .has-dropdown.is-open .dropdown-menu {
        max-height: 200px;
        padding: 0.25rem 0;
    }

    .main-navigation .has-dropdown:hover .dropdown-menu {
        max-height: 0;
        padding: 0;
    }

    .main-navigation .has-dropdown.is-open:hover .dropdown-menu {
        max-height: 200px;
        padding: 0.25rem 0;
    }

    .main-navigation .dropdown-menu a {
        color: #fff;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        opacity: 0.9;
    }

    .main-navigation .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        opacity: 1;
    }

    /* Rotate chevron when dropdown is open */
    .main-navigation .has-dropdown.is-open > a i {
        transform: rotate(180deg);
    }
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }

    /* Homepage responsive */
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .benefits-grid,
    .structure-grid,
    .fit-grid,
    .proof-grid,
    .comparison-grid,
    .get-started-grid {
        grid-template-columns: 1fr;
    }

    .plugin-features {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /* Venn diagram responsive */
    .venn-diagram {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .venn-circle {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        border-radius: 12px;
        text-align: center;
        padding: 1.5rem;
    }

    .venn-voice,
    .venn-ai {
        padding: 1.5rem;
    }

    .venn-intersection {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        border-radius: 12px;
        padding: 1.5rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

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

    .workflow-demo {
        gap: 1rem;
    }
}

/* ==========================================================================
   Guide Pages
   ========================================================================== */

.page-guide {
    padding: 0;
}

.guide-intro {
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.guide-intro p {
    margin: 0;
    line-height: 1.7;
}

.guide-section {
    margin-bottom: 3rem;
}

.guide-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0066cc;
}

.guide-section h2 i {
    color: #0066cc;
}

/* Prerequisites */
.prereq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prereq-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.prereq-list i {
    color: #2e7d32;
    margin-top: 0.25rem;
}

/* Step blocks */
.step-block {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.step-block h3 {
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.step-block p {
    margin-bottom: 1rem;
}

.step-block p:last-child {
    margin-bottom: 0;
}

.step-block ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.step-block li {
    margin-bottom: 0.375rem;
}

/* Code blocks */
.code-block {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block code {
    color: #4fc3f7;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9375rem;
    background: none;
    padding: 0;
}

.note {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

/* Usage blocks */
.usage-block {
    margin-bottom: 2rem;
}

.usage-block h3 {
    margin-bottom: 0.75rem;
}

.usage-block ul,
.usage-block ol {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.usage-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.usage-steps li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.usage-steps li::before {
    content: counter(step);
    background: #0066cc;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Example prompts */
.example-prompts {
    margin: 1rem 0;
}

.prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.tip-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
}

.tip-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-card h4 i {
    color: #0066cc;
}

.tip-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.5;
}

/* Commands table */
.commands-table {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 0.5rem;
    overflow: hidden;
}

.command-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #333;
}

.command-row:last-child {
    border-bottom: none;
}

.command-row code {
    color: #4fc3f7;
    background: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    min-width: 100px;
}

.command-row span {
    color: #ccc;
    font-size: 0.9375rem;
}

/* CTA inline */
.cta-inline {
    margin: 1.5rem 0;
}

.cta-inline .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Workflow demo */
.workflow-demo {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.workflow-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.workflow-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.workflow-content {
    flex: 1;
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

.workflow-content h4 {
    margin: 0 0 0.375rem;
    font-size: 1rem;
}

.workflow-content p {
    margin: 0;
    color: #555;
    font-size: 0.9375rem;
}

.workflow-content code {
    background: #e9ecef;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* Settings list */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
}

.setting-item h4 {
    margin: 0 0 0.375rem;
    font-size: 1rem;
}

.setting-item p {
    margin: 0;
    color: #555;
    font-size: 0.9375rem;
}

/* Guide page responsive */
@media (max-width: 600px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .command-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .command-row code {
        min-width: auto;
    }

    .workflow-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .workflow-num {
        margin: 0 auto;
    }

    .workflow-content {
        text-align: center;
    }
}
