/* Homepage Styles */

/* Hero with animated gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 40%);
    animation: pulse-bg 8s ease-in-out infinite;
}
@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* IP Display Hero Card */
.ip-hero-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}
.ip-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(16,185,129,0.5), rgba(6,182,212,0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Large IP Display */
.ip-display-large {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    word-break: break-all;
}

/* Copy Button */
.btn-copy {
    background: rgba(16,185,129,0.2);
    border: 1px solid rgba(16,185,129,0.3);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-copy:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}
.btn-copy.copied {
    background: #10b981;
    color: white;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.info-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}
.info-item:hover {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    transform: translateY(-2px);
}
.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}
.info-value {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.95rem;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Ad Container */
.ad-container {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    min-height: 90px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
}
[data-theme="dark"] .ad-container {
    background: #1e293b;
    border-color: #334155;
}

/* Map Section */
.map-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
#map {
    margin: 0;
}

/* Tool Cards */
.tool-card-new {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}
.tool-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16,185,129,0.15);
    border-color: #10b981;
}
.tool-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}
[data-theme="dark"] .tool-card-new {
    background: #1e293b;
    border-color: #334155;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background: #f8fafc;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(16,185,129,0.1), transparent);
    color: #10b981;
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2310b981'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
[data-theme="dark"] .faq-accordion .accordion-item {
    border-color: #334155;
}
[data-theme="dark"] .faq-accordion .accordion-button {
    background: #1e293b;
    color: #f1f5f9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Detail Table */
.detail-table {
    border-radius: 12px;
    overflow: hidden;
}
.detail-table .table {
    margin-bottom: 0;
}
.detail-table .table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}
.detail-table .table tr:last-child td {
    border-bottom: none;
}
[data-theme="dark"] .detail-table {
    background: #1e293b;
}
[data-theme="dark"] .detail-table .table {
    color: #f1f5f9;
}
[data-theme="dark"] .detail-table .table td {
    border-color: #334155;
}

