* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #7c3aed 0%, #3730a3 50%, #1e3a8a 100%);
    min-height: 100vh;
}

/* Brand Header - Same as Calculator */
.brand-header {
    background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-logo .logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo a:hover .logo-img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.nav-link.active {
    background: #7c3aed;
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

/* Tools Hero Section */
.tools-hero {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    color: white;
    text-align: center;
    padding: 50px 40px;
    margin-bottom: 50px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(249, 115, 22, 0.4),
        0 0 100px rgba(251, 191, 36, 0.2),
        0 20px 40px rgba(0,0,0,0.15);
}

.tools-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: glow 6s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.tools-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.tools-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.tool-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f97316, #ea580c, #dc2626);
}

.tool-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.tool-title {
    color: #c2410c;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tool-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-tag {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #fbbf24;
}

.tool-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

.tool-button .arrow {
    transition: transform 0.3s ease;
}

.tool-button:hover .arrow {
    transform: translateX(5px);
}

.tool-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* Coming Soon Card */
.tool-card.coming-soon {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 2px dashed #d1d5db;
}

.tool-card.coming-soon::before {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
}

.tool-card.coming-soon .tool-title {
    color: #6b7280;
}

.tool-card.coming-soon .tool-icon {
    opacity: 0.5;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.future-tool {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 500;
    border-left: 3px solid #f97316;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: #c2410c;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.info-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
}

.info-card strong {
    color: #1f2937;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
}

.footer-content p {
    margin: 5px 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-nav {
        gap: 20px;
    }
    
    .tools-hero {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
    
    .tools-hero h1 {
        font-size: 2.2rem;
    }
    
    .tools-hero p {
        font-size: 1.1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tool-card {
        padding: 30px;
    }
    
    .tool-icon {
        font-size: 3rem;
    }
    
    .tool-title {
        font-size: 1.5rem;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .feature-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .tool-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}