* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B5FBF;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --dark-color: #2D3047;
    --light-color: #F7F9FC;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-bottom: 70px;
}

/* Top Navigation */
.top-nav {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0.5rem 0;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Square Image Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Virtual Piano Section */
.virtual-piano-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.piano-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.piano-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 95, 191, 0.4);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 0.5rem;
}

.nav-item span:first-child {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.nav-item.active {
    color: var(--primary-color);
}

/* Virtual Piano Page Styles */
.piano-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.payment-option {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    cursor: pointer;
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: rgba(139, 95, 191, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background: white;
        width: 100%;
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-color);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .virtual-piano-section {
        padding: 2rem 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .main-content {
        margin-top: 80px;
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}



/* Blog Post Styles */
.blog-post {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.table-of-contents h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.table-of-contents ul {
    list-style: none;
    columns: 2;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    margin: 3rem 0;
}

.content-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Methodology Section */
.methodology {
    background: linear-gradient(135deg, #f8f9ff, #e8f4f8);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.methodology ul {
    list-style: none;
    margin-top: 1rem;
}

.methodology li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Keyboard Reviews */
.keyboard-review {
    background: white;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.keyboard-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-header h2 {
    color: var(--dark-color);
    margin: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-light);
    font-weight: 600;
}

.keyboard-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.keyboard-image .image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.specs {
    margin-bottom: 1.5rem;
}

.specs h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.specs ul {
    list-style: none;
}

.specs li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--light-color);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pros, .cons {
    padding: 1rem;
    border-radius: var(--border-radius);
}

.pros {
    background: rgba(76, 205, 196, 0.1);
    border-left: 4px solid var(--accent-color);
}

.cons {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.pros h4, .cons h4 {
    margin-bottom: 0.5rem;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1rem;
}

.pros li:before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.cons li:before {
    content: "✗";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.best-for {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-style: italic;
}

.affiliate-links h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.affiliate-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.affiliate-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.affiliate-btn.amazon {
    background: #FF9900;
}

.affiliate-btn.flipkart {
    background: #047BD5;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Comparison Table */
.comparison-section {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: var(--light-color);
}

.comparison-table tr:hover {
    background: rgba(139, 95, 191, 0.1);
}

/* FAQ Section */
.faq-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.6;
    color: var(--text-color);
}

/* Verdict Section */
.verdict-section {
    text-align: center;
}

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.verdict-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.verdict-card:hover {
    transform: translateY(-5px);
}

.verdict-card h3 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verdict-card h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.verdict-card p {
    color: var(--text-color);
    line-height: 1.5;
}

.best-overall {
    border-top: 4px solid #FFD700;
}

.best-value {
    border-top: 4px solid #4ECDC4;
}

.best-kids {
    border-top: 4px solid #FF6B6B;
}

.best-modern {
    border-top: 4px solid #8B5FBF;
}

.conclusion {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
        margin: 1rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .table-of-contents ul {
        columns: 1;
    }
    
    .keyboard-content {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .affiliate-buttons {
        flex-direction: column;
    }
    
    .comparison-table-container {
        overflow-x: auto;
    }
    
    .verdict-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 0.5rem;
        margin: 0.5rem;
    }
    
    .post-header h1 {
        font-size: 1.7rem;
    }
    
    .content-section {
        margin: 2rem 0;
    }
}