/* ========================================
   PREMIUM CLEARPATH LANDING PAGE
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00e5ff, #0088ff);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e5ff, #0066ff);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

/* Firefox */
* {
    scrollbar-color: linear-gradient(180deg, #00e5ff, #0088ff) rgba(0, 0, 0, 0.4);
    scrollbar-width: thin;
}

/* ========================================
   BACKGROUND & ANIMATIONS
   ======================================== */

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #000000 0%,
            #0a1628 20%,
            #001a3d 40%,
            #0d0d2b 60%,
            #000814 80%,
            #000000 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glow orbs for premium effect */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00e5ff, transparent);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0066ff, transparent);
    bottom: 100px;
    left: -50px;
    animation: orbFloat 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00a8ff, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Scanlines effect */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
    }
}

/* Animated particles */
.animated-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #00e5ff, #0066ff);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 25s infinite ease-in-out;
}

.particle-1 {
    width: 8px;
    height: 8px;
    left: 15%;
    top: 15%;
    animation-delay: 0s;
}

.particle-2 {
    width: 5px;
    height: 5px;
    left: 85%;
    top: 25%;
    animation-delay: 2s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    left: 50%;
    top: 40%;
    animation-delay: 4s;
}

.particle-4 {
    width: 4px;
    height: 4px;
    left: 20%;
    top: 75%;
    animation-delay: 6s;
}

.particle-5 {
    width: 7px;
    height: 7px;
    left: 80%;
    top: 65%;
    animation-delay: 8s;
}

.particle-6 {
    width: 5px;
    height: 5px;
    left: 40%;
    top: 20%;
    animation-delay: 10s;
}

.particle-7 {
    width: 6px;
    height: 6px;
    left: 60%;
    top: 80%;
    animation-delay: 12s;
}

.particle-8 {
    width: 4px;
    height: 4px;
    left: 10%;
    top: 50%;
    animation-delay: 14s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-50px) translateX(30px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-100px) translateX(-30px);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-50px) translateX(40px);
        opacity: 0.5;
    }
}

/* ========================================
   MAIN CONTAINER
   ======================================== */

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

/* ========================================
   LOGO & COMPANY SECTION
   ======================================== */

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    animation: slideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.logo {
    width: 100px;
    height: 100px;
    animation: rotate 30s linear infinite;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo:hover {
    animation: rotate 20s linear infinite;
}

.logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.6));
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes pulse {

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

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.2;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-info {
    text-align: center;
}

.company-name {
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 700;
    background: linear-gradient(135deg, #00e5ff, #0088ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.company-tagline {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #00a8ff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.company-code {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #606060;
    text-transform: uppercase;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding-top: 8px;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 950px;
    width: 100%;
}

/* Headline Badge */
.headline-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    background: rgba(0, 229, 255, 0.05);
}

/* Headline */
.headline-wrapper {
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.headline {
    font-size: clamp(40px, 12vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.word-highlight {
    background: linear-gradient(135deg, #00e5ff, #00a8ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

.headline-underline {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e5ff, #0088ff, transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandLine 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 150px;
        opacity: 1;
    }
}

/* Subheadline */
.subheadline {
    font-size: clamp(16px, 3vw, 22px);
    color: #b0b0b0;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
    max-width: 750px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(135deg, #00e5ff, #0088ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Trust Section */
.trust-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #00a8ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 18px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   COUNTDOWN TIMER
   ======================================== */

.countdown-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.countdown-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00e5ff;
    margin-bottom: 25px;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00e5ff;
    border-radius: 50%;
    animation: timerPulse 1.5s ease-in-out infinite;
}

@keyframes timerPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(0, 102, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 12px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 102, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timer-unit:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 102, 255, 0.08));
    border-color: rgba(0, 229, 255, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.15);
}

.timer-unit:hover .timer-bg {
    opacity: 1;
}

.timer-value {
    font-size: 42px;
    font-weight: 800;
    color: #00e5ff;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', monospace;
    position: relative;
    z-index: 1;
}

.timer-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #808080;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.timer-separator {
    font-size: 32px;
    color: #00e5ff;
    opacity: 0.4;
    font-weight: 300;
    animation: separatorBlink 2s ease-in-out infinite;
}

@keyframes separatorBlink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 12px;
    }

    .timer-unit {
        min-width: 85px;
        padding: 18px 12px;
    }

    .timer-value {
        font-size: 32px;
    }

    .timer-separator {
        font-size: 24px;
    }
}

/* ========================================
   SUBSCRIPTION FORM
   ======================================== */

.subscription-section {
    margin-bottom: 50px;
    width: 100%;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.subscription-header {
    text-align: center;
    margin-bottom: 20px;
}

.subscription-header p {
    font-size: 15px;
    font-weight: 600;
    color: #00e5ff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subscription-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    background: rgba(0, 229, 255, 0.05);
    padding: 4px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.input-wrapper:hover {
    border-color: rgba(0, 229, 255, 0.4);
}

.input-icon {
    font-size: 20px;
    padding: 0 12px;
    opacity: 0.8;
}

.email-input {
    flex: 1;
    padding: 14px 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.email-input::placeholder {
    color: #606060;
}

.submit-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #00e5ff, #0088ff);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    white-space: nowrap;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.4);
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .input-wrapper {
        flex-direction: column;
        padding: 8px;
    }

    .input-icon {
        padding: 0;
    }

    .email-input {
        width: 100%;
        padding: 12px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

.form-message {
    font-size: 14px;
    height: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.form-message.success {
    color: #00d4ff;
    font-weight: 600;
}

.form-message.error {
    color: #ff4444;
    font-weight: 600;
}

.privacy-notice {
    font-size: 12px;
    color: #606060;
    margin-top: 12px;
    line-height: 1.6;
    text-align: center;
}

/* ========================================
   FOOTER SECTION
   ======================================== */

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: auto;
    animation: slideUp 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00e5ff;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    opacity: 0.8;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.15);
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.footer-text {
    font-size: 12px;
    color: #606060;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 35px 20px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .headline {
        font-size: 44px;
    }

    .subheadline {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .trust-section {
        gap: 15px;
        margin-bottom: 35px;
    }

    .trust-item {
        font-size: 12px;
        padding: 10px 15px;
    }

    .countdown-section {
        margin-bottom: 40px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }

    .logo-section {
        margin-bottom: 20px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .company-name {
        font-size: 16px;
    }

    .headline {
        font-size: 32px;
    }

    .headline-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .subheadline {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .trust-section {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
    }

    .countdown-section {
        margin-bottom: 30px;
    }

    .timer-unit {
        min-width: 75px;
        padding: 15px 10px;
    }

    .timer-value {
        font-size: 28px;
    }

    .subscription-section {
        max-width: 100%;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-text {
        font-size: 11px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f5f5;
        color: #000000;
    }

    .gradient-bg {
        background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, #f5f5ff 100%);
    }

    .headline {
        color: #000000;
    }

    .subheadline {
        color: #333333;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    body {
        background: white;
        color: black;
    }

    .background-wrapper {
        display: none;
    }

    .container {
        min-height: auto;
    }

    .scanlines {
        display: none;
    }
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: rgba(0, 229, 255, 0.3);
    color: #00e5ff;
}

::-moz-selection {
    background: rgba(0, 229, 255, 0.3);
    color: #00e5ff;
}

/* ========================================
   FOCUS VISIBLE STYLING
   ======================================== */

:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   LINK STYLING
   ======================================== */

a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00a8ff;
    text-decoration: underline;
}

a:active {
    color: #0066ff;
}

/* ========================================
   SMOOTH SCROLL BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   TRANSITION & ANIMATION DEFAULTS
   ======================================== */

button,
input,
a,
.social-icon {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   PLACEHOLDER STYLING
   ======================================== */

::placeholder {
    color: #606060;
    opacity: 0.9;
}

::-ms-input-placeholder {
    color: #606060;
    opacity: 0.9;
}