/* =========================================================
   PIXVEC DESIGN SYSTEM & STYLESHEET
   ========================================================= */

:root {
    --bg-primary: #080c14;
    --bg-secondary: #0e1524;
    --bg-card: rgba(16, 24, 40, 0.65);
    --bg-card-hover: rgba(22, 33, 56, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.35);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-pink: #ec4899;
    --accent-amber: #f59e0b;
    
    --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

/* Ambient Glow Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.orb-top-left {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
}

.orb-center-right {
    width: 500px;
    height: 500px;
    top: 30%;
    right: -150px;
    background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
}

.orb-bottom-left {
    width: 550px;
    height: 550px;
    bottom: -150px;
    left: 10%;
    background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
}

.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.pt-0 {
    padding-top: 0 !important;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 12, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

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

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.brand-dot {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
}

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

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

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-webmail {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-webmail:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #ffffff;
    border-color: var(--accent-indigo);
}

.btn-icon-sm {
    width: 16px;
    height: 16px;
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */

.hero-section {
    padding-top: 11rem;
    padding-bottom: 5rem;
    text-align: center;
}

.page-hero {
    padding-top: 9.5rem;
    padding-bottom: 3.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 760px;
    margin-bottom: 2.75rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 4.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 960px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================================
   SECTIONS & CARDS
   ========================================================= */

.section-container {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-box svg {
    width: 28px;
    height: 28px;
}

.indigo-glow {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.cyan-glow {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.emerald-glow {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pink-glow {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================================
   SHOWCASE SECTION
   ========================================================= */

.showcase-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 3.5rem;
    align-items: center;
}

.badge-protocol {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.badge-imap {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.showcase-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.showcase-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.bullet-icon {
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vector-preview-box {
    width: 240px;
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(20px);
}

.preview-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================================================
   CONTACT PAGE & WEBMAIL FORM STYLES
   ========================================================= */

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: start;
}

.info-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.info-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-card-item .info-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-item .info-icon-box svg {
    width: 24px;
    height: 24px;
}

.info-card-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.info-card-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.map-wrapper {
    overflow: hidden;
    border-radius: 20px;
    line-height: 0;
}

.map-wrapper iframe {
    display: block;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.form-card {
    padding: 2.75rem;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-label .req {
    color: #ef4444;
}

.form-control {
    background: rgba(5, 9, 17, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(8, 14, 28, 0.9);
}

.text-area {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    margin-top: 0.5rem;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-img-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(5, 9, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
}

.captcha-img-box img {
    border-radius: 6px;
    display: block;
    height: 42px;
}

.btn-refresh-captcha {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-refresh-captcha svg {
    width: 18px;
    height: 18px;
}

.btn-refresh-captcha:hover {
    background: var(--accent-indigo);
    color: #ffffff;
}

.captcha-input {
    width: 140px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-align: center;
}

.btn-submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Alert Boxes */
.alert-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.alert-box svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* =========================================================
   MASTER FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2rem;
    margin-top: 6rem;
    background: rgba(4, 7, 13, 0.85);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-top: 0.85rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: var(--accent-cyan);
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-indigo);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.server-ip-label {
    font-size: 0.82rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-card { grid-template-columns: 1fr; padding: 2.5rem; text-align: center; }
    .showcase-bullets { align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-main-grid { grid-template-columns: 1fr; }
    .footer-content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; }
    .hero-cta-group { flex-direction: column; width: 100%; max-width: 320px; }
    .form-row { grid-template-columns: 1fr; }
    .captcha-wrapper { flex-direction: column; align-items: flex-start; }
    .btn { justify-content: center; width: 100%; }
}
