:root {
    --bg-color: #03050a;
    --card-bg: rgba(15, 20, 25, 0.7);
    --card-border: rgba(0, 255, 255, 0.1);
    --card-hover-border: rgba(0, 255, 255, 0.5);
    --cyan: #00f3ff;
    --blue: #0066ff;
    --purple: #bc13fe;
    --text-primary: #ffffff;
    --text-secondary: #8b92a5;
    --gold: #d4af37;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Subtly animated cyber grid background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
    animation: gridMove 20s linear infinite, fadeInBg 2s ease-out forwards;
    overflow: hidden;
    opacity: 0;
}

@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Moving points on grid intersections using animated repeating linear gradient */
.grid-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 40px 40px, rgba(0, 243, 255, 0.8) 100%, transparent 100%);
    background-size: 80px 80px;
    animation: gridPoints 15s linear infinite;
    opacity: 0.7;
}

@keyframes gridPoints {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

.scan-line {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 243, 255, 0.1), transparent);
    transform: rotate(-45deg);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    animation: scanDiagonal 12s linear infinite;
    opacity: 0.8;
    z-index: -1;
}

@keyframes scanDiagonal {
    0% { transform: rotate(-45deg) translateY(-200vh); }
    100% { transform: rotate(-45deg) translateY(200vh); }
}

.data-stream {
    position: absolute;
    top: -100px;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 243, 255, 0.4), transparent);
    animation: dataFall 5s linear infinite;
    opacity: 0;
}

@keyframes dataFall {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0; }
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.p-bg {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan);
    animation: floatParticle 20s infinite linear;
    opacity: 0;
}

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

/* Subtle glow at the center */
.grid-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    animation: breathingGlow 8s ease-in-out infinite;
}

@keyframes breathingGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}



.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.brand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    z-index: -1;
    animation: brandGlow 4s ease-in-out infinite;
}

@keyframes brandGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.brand h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.verified-icon {
    color: var(--cyan);
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.6));
    animation: breatheGlow 3s ease-in-out infinite;
}

@keyframes breatheGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.4)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.8)); transform: scale(1.05); }
}

.slogan {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #b08d57, #e8d07e, #b08d57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Services */
.services {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.service-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: var(--card-hover-border);
    box-shadow: 0 5px 25px rgba(0, 243, 255, 0.3), 
                inset 0 0 15px rgba(0, 243, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.3), rgba(188, 19, 254, 0.1), transparent);
    transform: skewX(-20deg);
    z-index: 1;
}

.service-card:hover::after {
    animation: shimmer 0.8s ease-in-out forwards;
}

@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

.icon-wrapper {
    width: 42px;
    height: 42px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--cyan);
    font-size: 22px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .icon-wrapper {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    animation: iconPulseOnce 0.5s ease-out forwards;
}

@keyframes iconPulseOnce {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.15); }
    100% { transform: rotate(5deg) scale(1.05); }
}

.service-content {
    flex-grow: 1;
    z-index: 1;
}

.service-content h3 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
}

.arrow-icon {
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card:hover .arrow-icon {
    color: var(--cyan);
    transform: translateX(4px);
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.copyright {
    color: var(--text-secondary);
    font-size: 11px;
    text-align: center;
    opacity: 0.7;
}

/* Animations */
.reveal-top {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 0 0px transparent;
}

.reveal-top.active {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.reveal-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-bottom.active {
    opacity: 1;
    transform: translateY(0);
}



/* AI Assistant */
.ai-assistant-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.ai-assistant-container.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .ai-assistant-container {
        right: 20px;
        bottom: 20px;
    }
}

.ai-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatAi 4s ease-in-out infinite;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.ai-avatar:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.5));
}

.ai-core {
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 24px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3), inset 0 0 10px rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.ai-core::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: aiPing 4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes aiPing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.ai-avatar:hover .ai-core {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6), inset 0 0 15px rgba(0, 243, 255, 0.2);
    transform: scale(1.05);
}

@keyframes floatAi {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    opacity: 0;
}

.p1 { top: -5px; left: 50%; animation: particleOrbit1 3s linear infinite; }
.p2 { bottom: 10px; left: -5px; animation: particleOrbit2 4s linear infinite; }
.p3 { bottom: 0; right: -5px; animation: particleOrbit3 5s linear infinite; }

@keyframes particleOrbit1 {
    0% { transform: rotate(0deg) translateX(25px) rotate(0deg); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: rotate(360deg) translateX(25px) rotate(-360deg); opacity: 0; }
}
@keyframes particleOrbit2 {
    0% { transform: rotate(120deg) translateX(28px) rotate(-120deg); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: rotate(480deg) translateX(28px) rotate(-480deg); opacity: 0; }
}
@keyframes particleOrbit3 {
    0% { transform: rotate(240deg) translateX(26px) rotate(-240deg); opacity: 0; }
    50% { opacity: 0.7; }
    100% { transform: rotate(600deg) translateX(26px) rotate(-600deg); opacity: 0; }
}

/* AI Balloon */
.ai-balloon {
    background: rgba(10, 15, 20, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    border-bottom-right-radius: 4px;
    padding: 16px;
    width: 260px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.15);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 10px;
}

.ai-balloon.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.ai-balloon p {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ai-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-btn {
    padding: 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.ai-btn.primary-btn {
    background: rgba(0, 243, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.ai-btn.primary-btn:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
}

.ai-btn.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(15, 20, 25, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 24px;
    width: 90%;
    max-width: 360px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--cyan);
}

.modal-brand {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.modal-overlay.active .modal-brand {
    opacity: 1;
    transform: translateY(0);
}

.modal-overlay.active .modal-brand h1 {
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transition: text-shadow 0.5s ease 0.1s;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: var(--text-secondary);
}

.input-group input:focus {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
    background: rgba(0, 243, 255, 0.03);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(0, 102, 255, 0.1));
    color: var(--cyan);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(0, 102, 255, 0.2));
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}
