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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Calculator Grid */
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    background: #f8fafc;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.calculator-card.available:hover {
    border-color: #667eea;
}

.calculator-card.available {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.calculator-card.coming-soon {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    opacity: 0.8;
}

.card-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.calculator-card.coming-soon .card-header {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s infinite;
}

.calculator-card.coming-soon .icon {
    animation: none;
    opacity: 0.7;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
}

.card-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.calculator-card.coming-soon .card-content p {
    color: #718096;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    background: #e6fffa;
    color: #234e52;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #81e6d9;
}

.feature-tag.disabled {
    background: #edf2f7;
    color: #a0aec0;
    border-color: #cbd5e0;
}

.card-footer {
    padding: 30px;
    padding-top: 0;
}

.calc-btn {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.available-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.available-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.coming-soon-btn {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    background: white;
}

.info-card {
    text-align: center;
    padding: 30px;
}

.info-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #cbd5e0;
    text-align: center;
    padding: 30px 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .calculators-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 20px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .calculator-card {
        border-radius: 15px;
    }
    
    .card-header, .card-content, .card-footer {
        padding: 20px;
    }
    
    .card-footer {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .calculators-grid {
        padding: 30px 15px;
    }
    
    .calculator-card {
        min-width: unset;
    }
}