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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 56px;
}

/* Navbar Styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    z-index: 1000;
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    position: relative;
    height: 56px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2ecc71;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46,204,113,0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover span {
    background-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        height: 56px;
    }
    .nav-content {
        padding: 0.5rem 1rem;
        flex-wrap: nowrap;
        position: relative;
        height: 56px;
    }
    .nav-brand {
        gap: 0.5rem;
    }
    .logo {
        font-size: 1.1rem;
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
    }
    .hamburger {
        display: block;
        z-index: 1001;
        padding: 0.25rem;
        margin-left: 0;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger span {
        width: 22px;
        height: 2px;
        margin: 4px 0;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        white-space: nowrap;
    }

    /* Adjust main content for mobile */
    .doc-main {
        padding: 0 1rem;
    }

    .content-box {
        padding: 1.5rem;
        white-space: normal;
    }

    /* Prevent text wrapping in navigation */
    .nav-content {
        padding: 1rem 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .nav-brand {
        gap: 0.5rem;
    }
}

/* Hero Section */
.hero {
    background: white;
    color: #333;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 0 16px rgba(46,204,113,0.4);
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2ecc71;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Content Box Styles */
.content-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(46,204,113,0.4), 0 2px 4px rgba(0,0,0,0.1);
}

.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4,
.content-box h5,
.content-box h6 {
    text-align: center;
}

.content-box h1, 
.content-box h2 {
    color: #2ecc71;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.content-box p,
.content-box ul {
    margin-bottom: 1rem;
}

.content-box ul {
    list-style-position: inside;
    padding-left: 1rem;
}

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

/* Main Content Styles */
.doc-main {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
}

.doc-section {
    margin-bottom: 2rem;
}

.doc-section h3 {
    color: #2ecc71;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

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

.mutations-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}
.mutations-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    background: white;
    border-radius: 10px;
    font-size: 0.98rem;
    box-shadow: none;
    overflow: hidden;
}
.mutations-table th, .mutations-table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.mutations-table th {
    background: white;
    color: #27ae60;
    text-shadow: none;
    font-weight: 600;
}
.mutations-table td {
    vertical-align: top;
}
.mutations-table th:first-child {
    border-top-left-radius: 10px;
    background: white;
}
.mutations-table th:last-child {
    border-top-right-radius: 10px;
    background: white;
}
.mutations-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.mutations-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Alternate row coloring for mutations-table */
.mutations-table tbody tr:nth-child(even) {
    background-color: #f4fcf7 !important;
}

.green-subheading {
    color: #2ecc71;
    text-align: center;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(46,204,113,0.4);
}
.formula {
    text-align: center;
    font-size: 1.08em;
    font-family: 'Poppins', Arial, sans-serif;
    margin-bottom: 1.5rem;
}

.formula-definitions {
    margin-top: 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-slide-up {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb,
    .footer-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .content-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* FAQ Styles */
.faq-container {
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #2ecc71;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(46,204,113,0.4);
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Stock Status Styles */
.in-stock {
    color: #27ae60;
    font-weight: 600;
}

.out-of-stock {
    color: #e74c3c;
    font-weight: 600;
}

/* Neon green bold text for strategies page and site-wide */
strong, b {
    color: #2ecc71;
    font-weight: bold;
} 