@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-primary: #0a0d14;
    --bg-radial: radial-gradient(circle at 50% 0%, #1a233a 0%, #0a0d14 75%);
    --surface-glass: rgba(18, 24, 38, 0.65);
    --surface-glass-hover: rgba(28, 37, 58, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --accent-glow: #38bdf8;
    --accent-btn: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    --btn-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    background-image: var(--bg-radial);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.badge-tunnel {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.5); }
    100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.2); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--text-main);
}

main {
    padding-top: 7rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.action-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
}

.btn-cta {
    background: var(--accent-btn);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--btn-shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.7);
    filter: brightness(1.1);
}

.ip-container {
    background: rgba(10, 13, 20, 0.8);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ip-text {
    font-family: 'Outfit', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-glow);
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: white;
    color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    background: var(--surface-glass-hover);
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.feature-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.app-footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 2rem;
    background: rgba(10, 13, 20, 0.9);
    text-align: center;
}

.footer-credits {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .action-card { padding: 2rem; }
    .btn-cta { padding: 1rem 2rem; font-size: 1.15rem; }
    .ip-container { flex-direction: column; gap: 0.75rem; padding: 1rem; }
}
