/* ============================================
   ADC – Coming Soon | Premium Landing Page
   Colors: #2E2F95 (indigo) #3C83F6 (blue) #EB841A (orange) #F8F6F6 (white)
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --indigo: #2E2F95;
    --indigo-deep: #1e1f6b;
    --indigo-light: #4a4bc0;
    --blue: #3C83F6;
    --blue-light: #6ba3ff;
    --blue-glow: rgba(60, 131, 246, 0.4);
    --orange: #EB841A;
    --orange-light: #f0a04d;
    --orange-glow: rgba(235, 132, 26, 0.4);
    --white: #F8F6F6;
    --white-soft: #f0eeee;
    --bg-dark: #0a0b2e;
    --bg-dark-blue: #0e0f3a;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(60, 131, 246, 0.15);
    --text-primary: #F8F6F6;
    --text-secondary: #a0a0c8;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ---------- Overlay ---------- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(60, 131, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(235, 132, 26, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(46, 47, 149, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(60, 131, 246, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, rgba(10, 11, 46, 0.3) 0%, rgba(10, 11, 46, 0.8) 100%);
}

/* ---------- CSS Particles ---------- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue), transparent);
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ---------- Water Cursor Ripple ---------- */
.water-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    border: 2px solid rgba(60, 131, 246, 0.4);
    animation: rippleExpand 0.8s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.water-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle, var(--blue-light), transparent);
    animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* ---------- Water Drop Cursor ---------- */
body.custom-cursor {
    cursor: none;
}

.cursor-drop {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.3s ease;
}

.cursor-drop::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue), transparent);
    opacity: 0.6;
    animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-drop::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: var(--white);
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.cursor-drop.hovering {
    width: 50px;
    height: 50px;
}

.cursor-drop.hovering::before {
    background: radial-gradient(circle, var(--blue-light), rgba(60, 131, 246, 0.2), transparent);
    opacity: 0.9;
}

@keyframes cursorPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0.3; }
}

/* ---------- Water Hover Effect ---------- */
.water-hover-effect {
    position: relative;
    overflow: hidden;
}

.water-hover-effect::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, transparent, rgba(60, 131, 246, 0.15));
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: inherit;
}

.water-hover-effect:hover::before {
    height: 100%;
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

/* ---------- Header ---------- */
.header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(60, 131, 246, 0.2));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(60, 131, 246, 0.5));
        transform: scale(1.05);
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 50%, var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* ---------- Hero Section ---------- */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 2rem 0;
}

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

/* Title */
.hero-title-block {
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.title-accent {
    background: linear-gradient(135deg, var(--white) 0%, var(--orange) 40%, var(--white) 70%, var(--orange-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(235, 132, 26, 0.2));
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue-glow);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px var(--blue-glow); }
    50% { box-shadow: 0 0 20px var(--blue-glow), 0 0 40px rgba(60, 131, 246, 0.15); }
}

/* Tagline */
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* Description */
.hero-description {
    max-width: 600px;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ---------- Animated Water Wave Separator ---------- */
.wave-separator {
    width: 100%;
    max-width: 500px;
    height: 40px;
    position: relative;
    overflow: hidden;
    margin: 0.5rem 0;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: waveSlide 6s linear infinite;
}

.wave-separator svg:nth-child(2) {
    opacity: 0.5;
    animation-duration: 8s;
    animation-direction: reverse;
}

@keyframes waveSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Countdown ---------- */
.countdown-wrapper {
    margin: 1rem 0;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    opacity: 0.6;
    margin-top: -1.5rem;
    animation: separatorBlink 1s ease-in-out infinite;
}

@keyframes separatorBlink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.15; }
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-card {
    width: clamp(60px, 12vw, 90px);
    height: clamp(70px, 14vw, 100px);
    position: relative;
    perspective: 400px;
}

.countdown-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 20px rgba(60, 131, 246, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60, 131, 246, 0.3), transparent);
}

.countdown-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.countdown-item:hover .countdown-inner {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 30px rgba(60, 131, 246, 0.15);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(180deg, var(--white) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.countdown-value.flip {
    animation: flipDigit 0.5s ease;
}

@keyframes flipDigit {
    0% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotateX(-90deg) scale(0.8);
        opacity: 0;
    }
    51% {
        transform: rotateX(90deg) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ---------- CTA Button ---------- */
.cta-wrapper {
    margin-top: 0.5rem;
}

.btn-contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 600px;
}

.btn-bg {
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
    border: 1px solid rgba(235, 132, 26, 0.2);
    z-index: 0;
    transition: all 0.4s ease;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light), var(--blue));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
    animation: glowShift 3s ease-in-out infinite;
}

@keyframes glowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-contact:hover {
    transform: translateY(-3px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(60, 131, 246, 0.25);
}

.btn-contact:hover .btn-bg {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    border-color: rgba(60, 131, 246, 0.4);
}

.btn-contact:hover .btn-glow {
    opacity: 0.5;
}

.btn-contact:hover .btn-text {
    transform: translateZ(10px);
}

.btn-contact:active {
    transform: translateY(-1px) rotateX(2deg) scale(0.98);
}

/* ---------- Footer ---------- */
.footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    opacity: 0.3;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    background: rgba(60, 131, 246, 0.15);
    border-color: rgba(60, 131, 246, 0.3);
    color: var(--blue-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60, 131, 246, 0.2);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* ---------- Animation Classes ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="scale-in"] {
    transform: scale(0.8);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 1.5rem;
    }

    .header {
        justify-content: center;
    }

    .hero {
        padding: 1rem 0;
    }

    .hero-content {
        gap: 1.2rem;
    }

    .countdown {
        gap: 0.4rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .countdown-card {
        width: 60px;
        height: 70px;
    }

    .countdown-inner {
        border-radius: 12px;
    }

    .btn-contact {
        padding: 0.85rem 2rem;
    }

    .btn-text {
        font-size: 0.85rem;
    }

    .divider-line {
        width: 40px;
    }

    .cursor-drop {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: 1rem;
    }

    .hero-title {
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        letter-spacing: 0.15em;
        font-size: 0.85rem;
    }

    .countdown {
        gap: 0.3rem;
    }

    .countdown-card {
        width: 52px;
        height: 62px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

/* ---------- Prefers reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle {
        display: none;
    }

    .cursor-drop,
    .water-ripple,
    .water-trail {
        display: none;
    }
}
