/* ===== Homepage Specific Styles ===== */

/* Nav Links */
.nav-links { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav-links a {
    padding: 0.4rem 0.85rem; border-radius: 8px;
    font-size: 0.8rem; font-weight: 500; color: #4B5563;
    text-decoration: none; transition: all 0.25s;
    border: 1px solid transparent;
}
.nav-links a:hover {
    color: #00ABE4;
    background: rgba(0, 171, 228, 0.05);
    border-color: rgba(0, 171, 228, 0.1);
}

/* Hero */
.hero {
    position: relative; text-align: center;
    padding: 6rem 2rem 4rem; overflow: hidden;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
.hero-glow {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 171, 228, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: 0.5rem 1.25rem;
    background: rgba(0, 171, 228, 0.1); border: 1px solid rgba(0, 171, 228, 0.2);
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: #008BB9;
    margin-bottom: 1.5rem;
    animation: pulse-badge 3s infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 171, 228, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(0, 171, 228, 0); }
}
.hero-title {
    font-size: 3.5rem; font-weight: 900; color: #111827;
    line-height: 1.1; margin-bottom: 1.25rem;
    letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(135deg, #00ABE4, #008BB9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.2rem; color: #4B5563; line-height: 1.7; max-width: 600px; margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 1.75rem; font-weight: 800; color: #111827;
    text-align: center; margin: 4rem 0 2rem;
    letter-spacing: -0.5px;
}

/* Platform Grid */
.platform-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem; margin-bottom: 2rem;
}
.platform-card {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 171, 228, 0.08);
    border-radius: 20px;
    text-decoration: none; color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.01);
}
.platform-card:hover {
    border-color: #00ABE4;
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 171, 228, 0.1);
}
.platform-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center;
    font-size: 1.2rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.platform-info { flex: 1; }
.platform-info h3 { font-size: 1.2rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.platform-info p { font-size: 0.85rem; color: #6B7280; line-height: 1.5; }
.platform-arrow {
    font-size: 1.5rem; color: #D1D5DB;
    transition: all 0.3s; flex-shrink: 0;
}
.platform-card:hover .platform-arrow { color: #00ABE4; transform: translateX(5px); }

/* Tool Cards */
.tool-card {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 171, 228, 0.08);
    border-radius: 20px;
    text-decoration: none; color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.01);
    position: relative;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 171, 228, 0.1);
    border-color: #00ABE4;
}
.tool-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center;
    color: #00ABE4;
    background: #f0f9ff;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    z-index: 1;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(-5deg);
    background: #00ABE4;
    color: #ffffff;
}
.tool-content { flex: 1; z-index: 1; position: relative; }
.tool-content h3 { font-size: 1.2rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.tool-content p { font-size: 0.85rem; color: #6B7280; line-height: 1.5; }
.tool-arrow {
    font-size: 1.5rem; color: #D1D5DB;
    transition: all 0.3s; flex-shrink: 0;
    z-index: 1; position: relative;
}
.tool-card:hover .tool-arrow { color: #00ABE4; transform: translateX(5px); }

/* Features */
.features-section {
    margin-top: 5rem;
    background: #f8fafc;
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 171, 228, 0.05);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    border: 1px solid rgba(0, 171, 228, 0.05);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    border-color: #00ABE4;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.feature-card h4 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Header Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(0, 171, 228, 0.08);
    border-radius: 12px;
    z-index: 1000;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    border: 1px solid rgba(0, 171, 228, 0.08);
}
.dropdown-content a {
    color: #111827;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.dropdown-content a:hover {
    background-color: rgba(0, 171, 228, 0.05);
    color: #00ABE4;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Header logo as link */
a.logo { text-decoration: none; color: inherit; }

/* Back link on calculator pages */
.back-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; font-weight: 600; color: #6B7280;
    text-decoration: none; transition: color 0.25s;
}
.back-link:hover { color: #00ABE4; }

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .platform-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .hero { padding: 4rem 1.25rem 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
}

