/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Corporate Tech Color Palette - Modern ZTECH Brand Colors */
    --primary-gradient: linear-gradient(135deg, #0066CC 0%, #0047AB 50%, #1E3A8A 100%);
    --secondary-gradient: linear-gradient(135deg, #00BCD4 0%, #00ACC1 50%, #0097A7 100%);
    --accent-gradient: linear-gradient(135deg, #FF6B35 0%, #FF5722 50%, #E65100 100%);
    --dark-gradient: linear-gradient(135deg, #0a0f1b 0%, #0f172a 25%, #0a0f1b 50%, #020617 75%, #0a0f1b 100%);

    /* Primary Corporate Colors */
    --primary-color: #fc6500;
    --secondary-color: #00BCD4;
    --accent-color: #FF6B35;
    --tech-blue: #1E3A8A;
    --corporate-cyan: #00ACC1;
    --tech-orange: #FF5722;

    /* Text Colors */
    --text-light: #ffffff;
    --text-gray: #94A3B8;
    --text-muted: #64748B;

    /* Background Colors */
    --bg-dark: #0a0f1b;
    --bg-darker: #020617;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;

    /* Modern Corporate Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-corporate: 0 10px 40px rgba(0, 102, 204, 0.15);

    /* Professional Glow Effects */
    --glow-primary: 0 0 30px rgba(0, 102, 204, 0.5);
    --glow-secondary: 0 0 30px rgba(0, 188, 212, 0.4);
    --glow-accent: 0 0 25px rgba(255, 107, 53, 0.4);
    --glow-corporate: 0 0 40px rgba(0, 71, 171, 0.3);
    --glow-tech: 0 0 20px rgba(0, 172, 193, 0.5);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-gradient);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 102, 204, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 10s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

.floating-element:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

.floating-element:nth-child(5) {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 60%;
    animation-delay: 7s;
}

/* Animations */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(-30px, -10px) scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 102, 204, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 102, 204, 0.8); }
}

@keyframes glitch {
    0%, 100% { text-shadow: 2px 2px 0 rgba(0, 102, 204, 0.4), -2px -2px 0 rgba(0, 188, 212, 0.3); }
    25% { text-shadow: -2px 2px 0 rgba(255, 107, 53, 0.3), 2px -2px 0 rgba(0, 102, 204, 0.4); }
    50% { text-shadow: 2px -2px 0 rgba(0, 188, 212, 0.3), -2px 2px 0 rgba(30, 58, 138, 0.3); }
    75% { text-shadow: -2px -2px 0 rgba(0, 102, 204, 0.4), 2px 2px 0 rgba(255, 107, 53, 0.3); }
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    /* background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px); */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}


/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    padding-top: 120px;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.main-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 102, 204, 0.4));
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

/* Title Section */
.title-section {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.coming-soon-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glitch-text {
    position: relative;
    animation: glitch 3s infinite;
}

.subtitle {
    font-size: 32px;
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-gray);
    /* text-transform: uppercase; */
    /* background: linear-gradient(135deg, #0f86fd 0%, #5db405 25%, #d40b00 55%, #9c3e00 75%, #FF6B35 100%); */
    /* -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgba(0, 102, 204, 0.3);
    /* animation: subtitleGlow 3s ease-in-out infinite alternate, subtitleShift 8s ease-in-out infinite; */
    margin-bottom: 10px;
}

.subtitle::before {
    content: "Z-Technologies";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 188, 212, 0.1) 50%, rgba(252, 101, 0, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(8px);
    transform: scale(1.05);
}

.subtitle::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d42e00, #fc6500, transparent);
    animation: underlineExpand 2s ease-out 0.5s forwards;
    border-radius: 2px;
}

@keyframes subtitleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(0, 102, 204, 0.4));
        transform: translateY(0);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 35px rgba(0, 188, 212, 0.6));
        transform: translateY(-2px);
    }
    100% {
        filter: brightness(1.1) drop-shadow(0 0 25px rgba(252, 101, 0, 0.5));
        transform: translateY(0);
    }
}

@keyframes subtitleShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 80%;
        opacity: 1;
    }
}

/* Tagline Section */
.tagline-section {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.tagline {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

/* Description Section */
.description-section {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.description strong {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes descriptionHighlight {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

/* Countdown Section */
.countdown-section {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 1s both;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subscribe Section */
.subscribe-section {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.email-input {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: var(--text-gray);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--glow-corporate);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-corporate);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--border-radius-sm);
    color: #4CAF50;
    font-size: 0.9rem;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
    display: flex;
}

/* Contact Section */
.contact-section {
    animation: fadeInUp 1s ease-out 1.4s both;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-gray);
}

.contact-item a {
    color: var(--primary-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}


/* Footer */
.footer {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    /* background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px); */
    animation: fadeInUp 1s ease-out 1.6s both;
}

.footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    display: flex;
    gap: var(--spacing-sm);
}

.loader-circle {
    width: 12px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-circle:nth-child(1) { animation-delay: -0.32s; }
.loader-circle:nth-child(2) { animation-delay: -0.16s; }

@keyframes loaderBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.5rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-brand .logo {
        height: 30px;
    }

    .main-content {
        padding: var(--spacing-md) var(--spacing-sm);
        padding-top: 100px;
    }

    .countdown-container {
        gap: var(--spacing-sm);
    }

    .countdown-item {
        min-width: 60px;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-btn {
        justify-content: center;
    }

    .contact-info {
        gap: var(--spacing-sm);
    }

    .subtitle {
        font-size: 32px;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .coming-soon-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .floating-element:nth-child(1) {
        width: 200px;
        height: 200px;
    }

    .floating-element:nth-child(2) {
        width: 150px;
        height: 150px;
    }

    .floating-element:nth-child(3) {
        width: 180px;
        height: 180px;
    }

    .floating-element:nth-child(4) {
        width: 120px;
        height: 120px;
    }

    .floating-element:nth-child(5) {
        width: 140px;
        height: 140px;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-element,
    .particles,
    .grid-overlay {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-gray: #ffffff;
        --bg-dark: #000000;
        --bg-darker: #000000;
    }

    .email-input {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
}