/* Global Styles */
:root {
    --primary-color: #0a1929;
    --secondary-color: #1a2c43;
    --accent-color: #00ff9d;
    --accent-color-alt: #9d00ff;
    --text-color: #ffffff;
    --glow-color: rgba(0, 255, 157, 0.7);
}

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

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation Elements */
.bg-animations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* WiFi Animation */
.wifi-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    opacity: 0.4;
}

.wifi-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

/* Protocol Animation */
.protocol-container {
    position: absolute;
    top: 50px;
    left: 30px;
    width: 100px;
    height: 300px;
}

.protocol-svg {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    filter: drop-shadow(0 0 3px var(--glow-color));
}

.data-packet {
    position: absolute;
    width: 40px;
    height: 10px;
    background-color: var(--accent-color-alt);
    opacity: 0;
    border-radius: 5px;
    animation: dataTransfer 5s linear infinite;
    box-shadow: 0 0 10px var(--accent-color-alt);
}

.packet-1 {
    left: 0;
    animation-delay: 0s;
}

.packet-2 {
    left: 20px;
    animation-delay: 1.5s;
}

.packet-3 {
    left: 10px;
    animation-delay: 3s;
}

/* Frequency Animation */
.frequency-container {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 150px;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.frequency-bar {
    width: 5px;
    background-color: var(--accent-color);
    border-radius: 5px 5px 0 0;
    animation: frequencyBars 1.5s ease infinite;
    box-shadow: 0 0 8px var(--glow-color);
}

.bar-1 { animation-delay: 0.2s; }
.bar-2 { animation-delay: 0.3s; }
.bar-3 { animation-delay: 0.5s; }
.bar-4 { animation-delay: 0.1s; }
.bar-5 { animation-delay: 0.8s; }
.bar-6 { animation-delay: 0.6s; }
.bar-7 { animation-delay: 0.4s; }

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Logo Styles */
.logo-container {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.antenna-icon {
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.antenna-icon img {
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.terad-logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    text-shadow: 0 0 10px var(--glow-color);
}

.logo-subtitle {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Coming Soon Container */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    position: relative;
    padding: 2rem;
    background-color: rgba(10, 25, 41, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
    z-index: 2;
}

.description {
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: slideUp 1s ease-out 0.8s forwards;
    z-index: 2;
}

/* Radio Wave Animation - Moved to corner */
.radio-wave-container {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 150px;
    height: 150px;
    z-index: 0;
}

.radio-wave-circle {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: pulseWave 4s ease-out infinite;
    box-shadow: 0 0 5px var(--accent-color);
}

.circle-1 {
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    animation-delay: 1s;
}

.circle-3 {
    width: 90px;
    height: 90px;
    animation-delay: 2s;
}

.signal-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--glow-color);
    animation: pulseDot 2s ease-in-out infinite;
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.contact-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    margin-top: auto;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color-alt);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.7);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Binary Code Animation */
.binary-code {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: monospace;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    animation: binaryScroll 20s linear infinite;
    pointer-events: none;
}

.binary-1 {
    top: 20%;
    left: 0;
    animation-duration: 30s;
}

.binary-2 {
    bottom: 30%;
    right: 0;
    animation-duration: 25s;
    animation-direction: reverse;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes pulseDot {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

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

@keyframes wifiWave {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes dataTransfer {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(300px);
        opacity: 0;
    }
}

@keyframes frequencyBars {
    0% {
        height: 5px;
    }
    50% {
        height: 30px;
    }
    100% {
        height: 10px;
    }
}

@keyframes binaryScroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .terad-logo {
        font-size: 2.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .radio-wave-container {
        top: auto;
        right: 20px;
        bottom: 20px;
        width: 100px;
        height: 100px;
    }
    
    .wifi-container {
        bottom: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
    
    .protocol-container {
        top: 30px;
        left: 10px;
        width: 80px;
        height: 240px;
    }
    
    .frequency-container {
        bottom: 30px;
        left: 10px;
        width: 100px;
    }
}

@media (max-width: 576px) {
    .terad-logo {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .binary-code {
        display: none;
    }
} 