/*
Theme Name: MagniTune Liquid Glass
Theme URI: https://magnitune.com
Author: MagniTune
Author URI: https://magnitune.com
Description: A liquid glassmorphism theme for MagniTune storefront.
Version: 1.0.15
Updated: 2026-02-12 Revert to Ext CSS
License: Proprietary
*/

/* Import main styles */
@import url('magnitune-v8.css');
Colors */
    --bg-dark: #0f0f13;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #3b82f6; /* Blue-ish accent matching the UI */
    --accent-glow: rgba(59, 130, 246, 0.5);
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 16px;
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

body {
    background-color: var(--bg-dark);
    /* Subtle background gradient */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 40px var(--accent-glow);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glass Utility Class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    overflow: hidden; /* For images */
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto; 
    padding: 0.5rem var(--spacing-md) !important; /* Force reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    background-color: #0f0f13 !important; 
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px !important;
    width: auto !important;
    max-height: 120px !important;
    min-height: 120px !important;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stack vertically as requested */
    align-items: center;
    justify-content: center;
    padding: calc(200px + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg); /* Account for large nav */
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-top: var(--spacing-lg); /* Add space below image */
    order: 2; /* Ensure Text comes AFTER image */
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    order: 1; /* Ensure Image comes FIRST */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    /* transition: transform 0.5s ease; */
}

/* .hero-image:hover img {
    transform: scale(1.02);
} */

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    width: 100%; /* Ensure full width for centering */
    margin: 0 auto; /* Extra centering safety */
}

/* Features Section */
.features-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

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

.feature-block.reverse .feature-text {
    order: 1; /* Ensure text is on right if grid layout fails or for customization */
}

/* Specific overwrite for the reverse class to actually swap visual order */
.feature-block.reverse .feature-image {
    order: 1; /* Image Left */
}
.feature-block.reverse .feature-text {
    order: 2; /* Text Right */
}


.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.feature-text li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.feature-text li::before {
    content: "•";
    color: var(--primary-light);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
    top: 0.2rem;
}

/* Comparison Section */
.comparison-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.comparison-table-container {
    overflow-x: auto;
    margin-bottom: var(--spacing-lg);
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    /* border: 1px solid var(--glass-border); */
    /* border-radius: 12px; */
    /* overflow: hidden; */
    color: var(--text-secondary);
}

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

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.comparison-table th.highlight {
    background: rgba(59, 130, 246, 0.1); /* Highlight column header */
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--primary-light);
    border-bottom: none;
}

.comparison-table td.highlight-cell {
    background: rgba(59, 130, 246, 0.05); /* Highlight column body */
    border-left: 1px solid var(--primary-light);
    border-right: 1px solid var(--primary-light);
}
.comparison-table tr:last-child td.highlight-cell {
    border-bottom: 1px solid var(--primary-light);
    border-radius: 0 0 12px 12px;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-heading);
}

/* Header Logo Container in Table */
/* .comparison-table .logo img {
    height: 40px;
    width: auto;
    margin: 0 auto;
    display: block;
} */
.comparison-table h3 {
    margin: 0;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.highlight .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.05); /* Very subtle highlight bg */
    border-radius: 8px 8px 0 0;
}

.comparison-table td.check {
    color: #4ade80 !important; /* Brighter neon green, forced */
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.comparison-table td.cross {
    color: #ef4444; /* Red */
    font-size: 1.2rem;
}

.comparison-table td.partial {
    color: #f59e0b; /* Amber */
    font-size: 0.9rem;
    font-style: italic;
}

/* Row hover effect */
.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}


/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Footer (Updated) */
footer {
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    align-items: center;
}

.footer-links .separator {
    color: var(--glass-border);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section, .feature-block, .feature-block.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-block.reverse .feature-image {
        order: 0; /* Image top on mobile possibly? or keeping flow */
    }
    .feature-block.reverse .feature-text {
        order: 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
}
