/* ==========================================================================
   Pi Sistem — IP Santral & Güvenlik Çözümleri (Yakında Yayındayız)
   Full Responsive & 100vh Fullscreen Fit Layout
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    
    --primary-blue: #0284c7;
    --primary-navy: #0f172a;
    --cyan-glow: #00a8ff;
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Elevation & Shadows */
    --shadow-main: 0 25px 65px -15px rgba(2, 132, 199, 0.14), 0 0 1px 1px rgba(2, 132, 199, 0.18);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Interactive Canvas Background */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Ambient Floating Glow Orbs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    animation: antiGravityFloat 14s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -10%;
    left: 8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation: antiGravityFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes antiGravityFloat {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(20px) scale(0.96); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
}

/* App Wrapper */
.app-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.main-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Floor Shadow Indicator */
.main-container::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 15%;
    right: 15%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(2, 132, 199, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: shadowPulse 6s ease-in-out infinite alternate;
}

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 0.8; filter: blur(8px); }
    100% { transform: scale(0.9); opacity: 0.4; filter: blur(14px); }
}

/* Main Card Styling */
.coming-soon-card {
    background: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 2.25rem 3rem;
    text-align: center;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: cardLevitate 6s ease-in-out infinite alternate;
    transition: box-shadow 0.4s ease;
    overflow: visible;
}

@keyframes cardLevitate {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.coming-soon-card:hover {
    box-shadow: 0 30px 80px -15px rgba(2, 132, 199, 0.22);
}

/* ALWAYS VISIBLE RESPONSIVE LOGO WRAPPER */
.logo-wrapper {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: logoFloat 4s ease-in-out infinite alternate;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.brand-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(2, 132, 199, 0.12));
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.22);
    padding: 0.38rem 1.2rem;
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--cyan-glow);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan-glow);
    animation: blinkPulse 1.6s infinite alternate;
}

@keyframes blinkPulse {
    0% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Titles */
.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

/* Typewriter Subtitle */
.dynamic-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.15rem;
}

.subtitle-static {
    color: var(--text-muted);
    font-weight: 600;
}

.typewriter-text {
    background: linear-gradient(135deg, #0284c7 0%, #00a8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor {
    color: var(--primary-blue);
    font-weight: 300;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.description strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Feature Pills Grid */
.feature-pills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.pill-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.pill-item i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.pill-item:hover {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.14);
    transform: translateY(-2px);
}

/* Status Bar */
.status-bar-card {
    width: 100%;
    max-width: 820px;
    background: var(--bg-secondary);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.status-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.bar-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary-navy);
}

.spin-icon {
    color: var(--primary-blue);
    animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
    100% { transform: rotate(360deg); }
}

.bar-percent {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7 0%, #00a8ff 100%);
    border-radius: 100px;
    position: relative;
}

.glow-tip {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff, 0 0 15px var(--cyan-glow);
}

.telemetry-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    border-top: 1px solid #e2e8f0;
    padding-top: 0.6rem;
}

.tel-item i {
    color: #10b981;
    margin-right: 0.35rem;
}

/* Footer Grid */
.card-footer {
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 820px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1.1rem;
    border-radius: 14px;
    text-align: left;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(2, 132, 199, 0.3);
    transform: translateY(-2px);
}

.contact-card i {
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.contact-card strong {
    display: block;
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* 📱 Responsive Rules for Tablet & Mobile (Logo Always Visible) */
@media (max-width: 768px) {
    .app-wrapper {
        min-height: 100vh;
        height: auto;
        padding: 1.25rem 1rem;
    }

    .coming-soon-card {
        padding: 2rem 1.25rem;
        border-radius: 22px;
        animation: none; /* Keep stable on touch devices */
    }

    .logo-wrapper {
        margin-bottom: 1rem;
    }

    .brand-logo {
        max-width: 200px;
        width: 75%;
        min-width: 150px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        max-width: 170px;
        width: 70%;
        min-width: 130px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 0.35rem 0.85rem;
    }

    .feature-pills-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .pill-item {
        justify-content: center;
    }

    .telemetry-row {
        flex-direction: column;
        gap: 0.4rem;
    }
}

@media (max-height: 680px) {
    html, body {
        overflow-y: auto;
    }
    .app-wrapper {
        height: auto;
        min-height: 100vh;
        padding: 1.5rem 1rem;
    }
}
