:root {
    /* Premium Light Mode Palette */
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    /* Instagram inspired accent gradients */
    --accent-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --accent-color: #dc2743;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Utility */
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
    
    /* Subtle background blobs for visual interest */
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(240, 148, 51, 0.08), transparent 25%),
        radial-gradient(circle at 85% 90%, rgba(188, 24, 136, 0.08), transparent 25%);
    background-attachment: fixed;
}

.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Glass Panel Base */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
}

/* SEO Articles */
.seo-article h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.seo-article h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.seo-article p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Editorial Images */
.editorial-img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 350px;
    width: 100%;
    height: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.align-right {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem;
}

.align-left {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 768px) {
    .editorial-img {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
        display: block;
    }
    .align-right, .align-left {
        margin: 1.5rem 0;
    }
}

/* Calculator Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

/* Controls Section */
.controls-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Custom Select */
select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(220, 39, 67, 0.1);
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: "▼";
    font-size: 0.8rem;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

/* Range Slider */
.budget-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 3px;
}

/* Number Input */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.budget-input-wrapper {
    margin-bottom: 0.5rem;
}

.budget-input-wrapper input[type=number] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    padding: 8px 12px 8px 32px;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

input[type=number] {
    width: 100%;
    padding: 12px 16px 12px 32px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

input[type=number]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(220, 39, 67, 0.1);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-card {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

.result-card h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.highlight-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -2px; bottom: -2px;
    left: -2px; right: -2px;
    background: var(--accent-gradient);
    z-index: -1;
    border-radius: calc(var(--border-radius) + 2px);
}

.highlight-value {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* FAQ Section */
.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    color: var(--text-primary);
}

/* Custom Accordion Arrow */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    overflow: hidden; /* Clears floats from images */
}

.faq-content p {
    font-size: 1.05rem;
}

.faq-screenshot {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 3rem 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

@media (max-width: 600px) {
    .faq-screenshot {
        width: 100%;
        float: none;
        margin: 0 0 1.5rem 0;
    }
}
