/* Luminous Breath Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --border-color: #D2D2D7;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Navigation */
nav {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    padding: 0.5rem 0;
    min-height: calc(100vh - 120px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.hero .btn:hover {
    background: var(--primary-dark);
}

.hero .btn.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 500;
    margin-top: 0.75rem;
}

.hero .btn.btn-secondary:hover {
    background: var(--border-color);
}

/* Sections */
section {
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h2 {
    font-size: 1.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

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

.feature-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

/* Tables */
table {
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    width: 100%;
}

table th {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    vertical-align: bottom;
}

table th[rowspan] {
    vertical-align: middle;
}

table thead tr:first-child th[rowspan] {
    vertical-align: middle;
}

table thead tr:last-child th {
    vertical-align: bottom;
}


table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

ul li, ol li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* Code/Instructions Blocks */
.instruction-block {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

/* Safety Notice Highlighting */
.safety-notice {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 6px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.safety-notice p {
    margin-bottom: 1.5rem;
    color: #856404;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.safety-notice p strong {
    color: #856404;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .safety-notice {
        background: #3d2e00;
        border-left-color: #ffc107;
    }
    
    .safety-notice p,
    .safety-notice p strong {
        color: #ffd54f;
    }
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    nav .logo {
        font-size: 1.25rem;
    }
    
    nav ul {
        gap: 0.75rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    nav ul li a {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    .hero {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    main {
        padding: 0.25rem 0;
    }
    
    .container {
        padding: 0 0.75rem;
        overflow-x: visible;
    }
    
    table {
        font-size: 0.7rem;
        margin: 0.75rem 0;
        width: 100%;
        table-layout: fixed;
    }
    
    table th,
    table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.65rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Reduce font size for very long content */
    table td {
        line-height: 1.3;
    }
    
    h2 {
        margin-top: 0.5rem;
        margin-bottom: 0.4rem;
        font-size: 1.5rem;
    }
    
    h3 {
        margin-top: 0.5rem;
        margin-bottom: 0.4rem;
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #F5F5F7;
        --text-secondary: #A1A1A6;
        --bg-primary: #1D1D1F;
        --bg-secondary: #2C2C2E;
        --border-color: #3A3A3C;
    }

    nav {
        background: rgba(29, 29, 31, 0.8);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.section-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

