:root {
    --primary: #f59e0b; /* Gold/Solar Amber */
    --primary-dark: #d97706;
    --secondary: #1e293b; /* Slate 800 */
    --accent: #2563eb; /* Trust Blue */
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --white: #ffffff;
    --black: #000000;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
}

/* Base Class-based Styles */
.ms-body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.ms-h1, .ms-h2, .ms-h3, .ms-h4, .ms-h5, .ms-h6 {
    margin-top: 0;
    color: var(--secondary);
    line-height: 1.2;
}

.ms-h1 { font-size: 3rem; font-weight: 800; }
.ms-h2 { font-size: 2.25rem; font-weight: 700; }
.ms-h3 { font-size: 1.5rem; font-weight: 600; }
.ms-h4 { font-size: 1.25rem; font-weight: 600; }

.ms-p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.ms-a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

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

.ms-ul, .ms-ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-li {
    margin-bottom: 0.5rem;
}

.ms-div {
    display: block;
}

.ms-span {
    display: inline;
}

.ms-strong {
    font-weight: 700;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

/* Navigation */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .ms-span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.mobile-toggle {
    display: none;
}

.mobile-close {
    display: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-image {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Features */
.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Content Page Elements */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-content .ms-h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content .ms-p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table .ms-th, .comparison-table .ms-td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table .ms-th {
    background: var(--bg-alt);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links .ms-li {
    margin-bottom: 0.75rem;
}

.footer-links .ms-a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links .ms-a:hover {
    color: var(--primary);
}

.footer-disclosure {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}

/* Legal Pages */
.legal-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.legal-content .ms-h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.legal-content .ms-h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

/* Form Styles */
.ms-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ms-input, .ms-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    box-sizing: border-box;
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--text-light);
    font-size: 1rem;
}

/* Specialized Content Blocks */
.highlight-box {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    margin: 3rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
}

.comparison-item.featured {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.05);
}

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Pros & Cons Section */
.verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.verdict-box {
    padding: 2rem;
    border-radius: 1rem;
}

.verdict-box.pros {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.verdict-box.cons {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.verdict-title {
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-3, .verdict-grid, .comparison-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        order: 3;
    }
    
    .mobile-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        cursor: pointer;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    .header .btn { order: 2; }
    .logo { order: 1; }
    
    .header { padding: 0.5rem 0; }
    .nav { padding: 0 1rem; }
    .logo { font-size: 1.2rem; }
    
    .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
    
    .article-header h1 { font-size: 1.8rem; }
    
    .section { padding: 3rem 0; }
    main { padding-top: 1rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .btn { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
}
