:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #FCC201;
    --gold-light: #FFDF00;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FCC201 100%);
    --silver-primary: #C0C0C0;
    --silver-secondary: #E5E5E5;
    --silver-gradient: linear-gradient(135deg, #C0C0C0 0%, #E5E5E5 100%);
    --dark-blue: #1A202C;
    --charcoal: #2D3748;
    --light-gray: #F7FAFC;
    --off-white: #F8F9FA;
    --glow-gold: 0 0 15px rgba(212, 175, 55, 0.5);
    --glow-silver: 0 0 15px rgba(192, 192, 192, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1A202C;
    background: #F9FAFB;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Utility Classes */
.gold-gradient {
    background: var(--gold-gradient);
}

.silver-gradient {
    background: var(--silver-gradient);
}

.gold-text {
    color: var(--gold-primary);
}

.silver-text {
    color: var(--silver-primary);
}

.elegant-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.premium-card {
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.premium-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Header Styles */
.header-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-container {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(212, 175, 55, 0.1) 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, rgba(192, 192, 192, 0.1) 2%, transparent 0%);
    background-size: 100px 100px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Calculator Styles */
.calculator-container {
    position: relative;
    z-index: 10;
}

.tab-active {
    border-bottom: 3px solid var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 600;
}

.tab-active.silver {
    border-bottom: 3px solid var(--silver-primary);
    color: var(--silver-primary);
}

.input-field {
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.input-field:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.silver-active .input-field:focus {
    border-color: var(--silver-primary);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.2);
}

.btn-calculate-gold {
    background: var(--gold-gradient);
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
}

.btn-calculate-gold:hover {
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-calculate-silver {
    background: var(--silver-gradient);
    color: #2D3748;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
}

.btn-calculate-silver:hover {
    box-shadow: var(--glow-silver);
    transform: translateY(-2px);
}

/* Result Container Animation */
@keyframes resultFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-animation {
    animation: resultFadeIn 0.5s ease forwards;
}

/* Price Chart */
.chart-container {
    height: 300px;
    position: relative;
}

/* Features Section */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    background: var(--gold-gradient);
}

/* Testimonials */
.testimonial-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quotation-mark {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.1);
    font-family: 'Playfair Display', serif;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    margin-top: 15px;
    display: none;
    padding-left: 5px;
    color: #4A5568;
}

/* Footer */
.footer {
    background: #1A202C;
    color: #E2E8F0;
}

.footer a {
    color: #E2E8F0;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--gold-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .calculator-tabs {
        flex-direction: column;
    }
    
    .calculator-tab {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Input Group */
.input-group {
    position: relative;
    display: flex;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
}

.input-group input {
    border: none;
    flex: 1;
    padding: 12px 16px;
}

.input-group input:focus {
    outline: none;
}

.input-group select {
    border: none;
    background: #F1F5F9;
    padding: 12px 16px;
    border-left: 2px solid #E2E8F0;
    min-width: 100px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234A5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 32px;
}

.input-group select:focus {
    outline: none;
}

.input-group:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.silver-active .input-group:focus-within {
    border-color: var(--silver-primary);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.2);
}

/* Price Chart Styles */
.chart-line {
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 2;
}

.silver-chart .chart-line {
    stroke: var(--silver-primary);
}

.chart-area {
    fill: url(#goldGradient);
    opacity: 0.2;
}

.silver-chart .chart-area {
    fill: url(#silverGradient);
}

.chart-dot {
    fill: var(--gold-primary);
}

.silver-chart .chart-dot {
    fill: var(--silver-primary);
}

.chart-grid {
    stroke: #E2E8F0;
    stroke-width: 1;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #2D3748;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}