:root {
    --primary: #6366F1;
    --secondary: #A5B4FC;
    --bg: #FFFFFF;
    --text: #0F172A;
    --border: rgba(99, 102, 241, 0.15);
}

.ultra-contact {
    padding: 180px 5% 140px;
    margin-top: -105px;
    margin-bottom: -80px;
    background: #cbcce9;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* --- CRAZY EFFECTS: SCANLINE & BLOBS --- */
.scanline {
    position: absolute; width: 100%; height: 2px;
    background: rgba(99, 102, 241, 0.05);
    top: 0; z-index: 2;
    animation: scan 8s linear infinite;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.25;
    z-index: 1; animation: orbit 20s infinite linear;
}
.b-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.b-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; right: -50px; animation-delay: -10s; }

@keyframes orbit {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(0,0) scale(1); }
}

.contact-wrapper { max-width: 1200px; margin: 0 auto; position: relative; z-index: 5; width: 100%; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }

/* --- SIDEBAR --- */
.badge-v2 {
    background: var(--primary); color: white; padding: 5px 15px;
    border-radius: 6px; font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
}
.header-group h1 { font-size: 3.5rem; font-weight: 900; margin: 15px 0; letter-spacing: -2px; }
.header-group h1 span { color: var(--primary); }

.action-tiles { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.action-tile {
    text-decoration: none; display: flex; align-items: center; gap: 15px;
    padding: 18px; background: white; border-radius: 15px;
    border: 1px solid var(--border); transition: 0.3s;
}
.action-tile:hover { transform: scale(1.03); border-color: var(--primary); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1); }
.tile-icon { font-size: 1.5rem; color: var(--primary); }
.tile-info small { color: #64748B; font-weight: 600; display: block; }
.tile-info p { color: var(--text); font-weight: 700; margin: 0; }

/* --- TERMINAL BOX --- */
.terminal-box {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(25px);
    border-radius: 25px; border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08); overflow: hidden;
}
.terminal-header {
    background: rgba(15, 23, 42, 0.03); padding: 12px 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
}
.t-dots { display: flex; gap: 6px; }
.t-dots span { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.t-title { font-size: 0.7rem; font-weight: 800; color: #94A3B8; text-transform: uppercase; }

.terminal-form { padding: 35px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field-box { position: relative; margin-bottom: 25px; }
.field-box input, .field-box select, .field-box textarea {
    width: 100%; padding: 15px; background: rgba(255,255,255,0.4);
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 0.95rem; color: var(--text); outline: none; transition: 0.3s;
}
.field-box label {
    position: absolute; left: 15px; top: 15px; color: #64748B;
    pointer-events: none; transition: 0.3s ease all;
}

/* --- CRAZY FOCUS EFFECT --- */
.focus-border {
    position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--primary); transition: 0.4s; transform: translateX(-50%);
}
.field-box input:focus ~ .focus-border, 
.field-box select:focus ~ .focus-border, 
.field-box textarea:focus ~ .focus-border { width: 100%; box-shadow: 0 0 15px var(--primary); }

/* Floating Label Logic */
.field-box input:focus ~ label, .field-box input:not(:placeholder-shown) ~ label,
.field-box select:focus ~ label, .field-box select:valid ~ label,
.field-box textarea:focus ~ label, .field-box textarea:not(:placeholder-shown) ~ label {
    top: -22px; left: 5px; font-size: 0.75rem; font-weight: 800; color: var(--primary);
}

/* --- GLOW BUTTON --- */
.glow-btn {
    width: 100%; padding: 18px; background: var(--text); color: white;
    border: none; border-radius: 12px; font-weight: 800; cursor: pointer;
    position: relative; overflow: hidden; transition: 0.4s;
    text-transform: uppercase; letter-spacing: 1px;
}
.glow-btn:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3); }
.btn-glare {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.glow-btn:hover .btn-glare { animation: glare 0.8s forwards; }
@keyframes glare { 100% { left: 150%; } }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .header-group { text-align: center; }
    .action-tiles { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .action-tile { flex: 1; min-width: 250px; }
}

@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
    .header-group h1 { font-size: 2.5rem; }
    .terminal-form { padding: 35px 20px; }
}
:root {
    --indigo-neon: #6366f1;
    --purple-neon: #a855f7;
    --glass-bg: rgba(255, 255, 255, 0.6);
}

.action-tiles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    perspective: 1000px; /* Adds 3D depth for the hover scale */
}

.action-tile {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

/* --- THE NEON GLOW LAYER --- */
.tile-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.action-tile:hover .tile-glow { opacity: 1; }

/* --- ICON POP EFFECT --- */
.icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--indigo-neon);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 2;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--indigo-neon);
    border-radius: 22px;
    opacity: 0;
    transform: scale(0.8);
    transition: 0.4s;
}

.action-tile:hover .icon-wrap {
    transform: rotate(-10deg) scale(1.1);
    background: var(--indigo-neon);
    color: white;
}

.action-tile:hover .icon-pulse {
    opacity: 0.3;
    transform: scale(1.1);
}

/* --- TEXT INFO --- */
.tile-info {
    margin-left: 20px;
    z-index: 2;
}

.tile-info small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 0.65rem;
    color: #64748b;
    margin-bottom: 4px;
    transition: 0.3s;
}

.tile-info p {
    margin: 0;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0f172a;
}

/* --- THE HOVER ARROW --- */
.tile-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: #cbd5e1;
    transform: translateX(-10px);
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.action-tile:hover .tile-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--indigo-neon);
}

/* --- TILE HOVER STATES --- */
.action-tile:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--indigo-neon);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.2);
}

.action-tile.neon-purple:hover {
    border-color: var(--purple-neon);
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.2);
}

.action-tile.neon-purple:hover .icon-wrap { background: var(--purple-neon); }
.action-tile.neon-purple:hover .icon-pulse { border-color: var(--purple-neon); }
.action-tile.neon-purple:hover .tile-arrow { color: var(--purple-neon); }