/* ═══════════════════════════════════════
   TechRock Launch Page — style.css
   ═══════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #5e17eb;
    --purple-dk: #931cf5;
    --lavender: #d8cefe;
    --yellow: #e0f203;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0f;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* noise */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(94, 23, 235, 0.15);
    animation: fadeDown .6s ease both;
}

.nav-logo img {
    height: 27px;
    object-fit: contain;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 23, 235, .18);
    border: 1px solid rgba(94, 23, 235, .5);
    color: white;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
}

/* ── HERO ── */
.hero {
    margin-top: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(94, 23, 235, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94, 23, 235, .12) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    to {
        transform: translateY(60px);
    }
}

.hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 23, 235, .35) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: .7;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(147, 28, 245, .25);
    top: -100px;
    right: -100px;
    animation: bd 8s ease-in-out infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(224, 242, 3, .12);
    bottom: 0;
    left: -80px;
    animation: bd 10s ease-in-out infinite alternate-reverse;
}

@keyframes bd {
    to {
        transform: translate(40px, 30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-logo {
    margin-bottom: 32px;
    animation: fadeDown .8s ease both;
}

.hero-logo img {
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(94, 23, 235, .5));
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(48px, 9vw, 65px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -3px;
    margin-bottom: 28px;
    animation: fadeDown .8s .3s ease both;
}

h1 .a1 {
    color: var(--purple);
}

h1 .a2 {
    color: var(--yellow);
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, .6);
    max-width: 520px;
    margin: 0 auto 56px;
    line-height: 1.7;
    animation: fadeDown .8s .4s ease both;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── COUNTDOWN ── */
.countdown-wrap {
    animation: fadeUp .8s .5s ease both;
    margin-bottom: 60px;
}

.countdown-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cd-box {
    position: relative;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(94, 23, 235, .3);
    border-radius: 16px;
    padding: 24px 28px 16px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color .3s;
}

.cd-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: .8;
}

.cd-box:hover {
    border-color: rgba(94, 23, 235, .8);
}

.cd-num {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1;
    display: block;
}

.cd-num.flip {
    animation: numFlip .3s ease;
}

@keyframes numFlip {
    0% {
        transform: translateY(-10px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.cd-unit {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

.cd-sep {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: rgba(94, 23, 235, .5);
    align-self: center;
    padding-bottom: 16px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

/* ── SERVICES ── */
.services {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 60px;
    line-height: 1.1;
}

.section-title span {
    color: var(--yellow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s, background .3s;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 100%, rgba(94, 23, 235, .15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 23, 235, .5);
    background: rgba(94, 23, 235, .06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(94, 23, 235, .15);
    border: 1px solid rgba(94, 23, 235, .3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: background .3s, transform .3s;
}

.service-card:hover .service-icon {
    background: rgba(94, 23, 235, .3);
    transform: scale(1.1) rotate(-5deg);
}

.service-name {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 23, 235, .5), transparent);
    margin: 0 24px;
}

/* ── SUBSCRIBE ── */
.subscribe-section {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
    text-align: center;
}

.subscribe-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%235e17eb' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.subscribe-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 23, 235, .2) 0%, rgba(147, 28, 245, .1) 50%, rgba(10, 10, 15, .95) 100%);
}

.subscribe-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.subscribe-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--lavender);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.subscribe-eyebrow::before,
.subscribe-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--lavender);
    opacity: .4;
}

.subscribe-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.subscribe-title .hi {
    color: var(--yellow);
}

.subscribe-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 44px;
    line-height: 1.7;
}

.subscribe-form {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(94, 23, 235, .4);
    max-width: 540px;
    margin: 0 auto 16px;
    transition: border-color .3s, box-shadow .3s;
}

.subscribe-form:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(94, 23, 235, .15);
}

.subscribe-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    padding: 18px 24px;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, .3);
}

.subscribe-btn {
    background: var(--purple);
    color: var(--white);
    border: none;
    padding: 18px 32px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .3s, transform .15s;
}

.subscribe-btn:hover {
    background: var(--purple-dk);
}

.subscribe-btn:active {
    transform: scale(.97);
}

.subscribe-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.success-msg {
    display: none;
    color: var(--yellow);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    margin-top: 12px;
    letter-spacing: 1px;
}

.success-msg.show {
    display: block;
    animation: fadeUp .5s ease;
}

.error-msg {
    display: none;
    color: #ff6b6b;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    margin-top: 10px;
    letter-spacing: 1px;
}

.error-msg.show {
    display: block;
    animation: fadeUp .4s ease;
}

/* ── CONTACT ── */
.contact-section {
    padding: 80px 24px 60px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.contact-heading span {
    color: var(--purple);
}

.contact-sub {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 50px;
    display: block;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 22px 30px;
    text-decoration: none;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    flex: 1;
    min-width: 240px;
    max-width: 340px;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 23, 235, .12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 23, 235, .6);
    box-shadow: 0 20px 40px rgba(94, 23, 235, .18);
}

.contact-card:hover::before,
.contact-card:hover::after {
    opacity: 1;
}

.scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(94, 23, 235, .7), transparent);
    top: -2px;
    animation: scanLine 4s linear infinite;
    animation-delay: var(--sd, 0s);
}

@keyframes scanLine {
    0% {
        top: -2px;
        opacity: 0
    }

    5% {
        opacity: 1
    }

    95% {
        opacity: .8
    }

    100% {
        top: 102%;
        opacity: 0
    }
}

.contact-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.contact-icon-wrap.phone {
    background: linear-gradient(135deg, rgba(147, 28, 245, .35), rgba(94, 23, 235, .2));
    border: 1px solid rgba(147, 28, 245, .5);
    color: #c77dff;
}

.contact-icon-wrap.email {
    background: linear-gradient(135deg, rgba(94, 23, 235, .35), rgba(94, 23, 235, .15));
    border: 1px solid rgba(94, 23, 235, .5);
    color: var(--lavender);
}

.contact-text {
    position: relative;
    z-index: 1;
    text-align: left;
}

.contact-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .35);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.contact-value {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 48px 24px 36px;
    text-align: center;
}

footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, .25);
}

footer .ft {
    color: var(--yellow);
}

.social-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .3);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

/* ── SOCIAL ── */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
}

.soc-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: socialBounce 2.4s cubic-bezier(.36, .07, .19, .97) infinite;
    animation-delay: var(--d, 0s);
}

@keyframes socialBounce {
    0% {
        transform: translateY(0) scale(1);
    }

    15% {
        transform: translateY(-14px) scale(1.1);
    }

    25% {
        transform: translateY(-8px) scale(1.05);
    }

    35% {
        transform: translateY(-12px) scale(1.08);
    }

    50% {
        transform: translateY(0) scale(1);
    }

    65% {
        transform: translateY(-3px) scale(1.02);
    }

    75% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.soc-shadow {
    width: 36px;
    height: 6px;
    background: rgba(94, 23, 235, .45);
    border-radius: 50%;
    filter: blur(4px);
    margin-top: 6px;
    animation: shadowP 2.4s cubic-bezier(.36, .07, .19, .97) infinite;
    animation-delay: var(--d, 0s);
}

@keyframes shadowP {

    0%,
    75%,
    100% {
        transform: scaleX(1);
        opacity: .5;
    }

    15% {
        transform: scaleX(.4);
        opacity: .15;
    }

    25% {
        transform: scaleX(.65);
        opacity: .25;
    }

    35% {
        transform: scaleX(.45);
        opacity: .18;
    }
}

.soc-btn {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: box-shadow .3s, filter .3s;
    position: relative;
    overflow: hidden;
}

.soc-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.soc-btn::before {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(.8);
    background: rgba(10, 10, 20, .95);
    border: 1px solid rgba(94, 23, 235, .5);
    color: var(--lavender);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 10;
}

.soc-btn:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.soc-wrap:hover {
    animation-play-state: paused;
}

.soc-wrap:hover .soc-shadow {
    transform: scaleX(1.2);
    opacity: .65;
}

.soc-btn:hover {
    filter: brightness(1.2);
}

.soc-fb {
    background: linear-gradient(145deg, #2d86ff, #1877f2);
}

.soc-fb:hover {
    box-shadow: 0 12px 32px rgba(24, 119, 242, .65);
}

.soc-tw {
    background: linear-gradient(145deg, #2a2a2a, #111);
    border-color: rgba(255, 255, 255, .2);
}

.soc-tw:hover {
    box-shadow: 0 12px 32px rgba(255, 255, 255, .2);
}

.soc-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.soc-ig:hover {
    box-shadow: 0 12px 32px rgba(214, 36, 159, .65);
}

.soc-li {
    background: linear-gradient(145deg, #1e87e5, #0a66c2);
}

.soc-li:hover {
    box-shadow: 0 12px 32px rgba(10, 102, 194, .65);
}

@media(max-width:768px) {
    .navbar {
        padding: 12px 20px;
    }
}

@media(max-width:600px) {
    .countdown {
        gap: 10px
    }

    .cd-box {
        min-width: 75px;
        padding: 18px 14px 12px
    }

    .cd-sep {
        font-size: 28px
    }

    .subscribe-form {
        flex-direction: column;
        border-radius: 14px
    }

    .subscribe-btn {
        border-radius: 0 0 13px 13px;
        padding: 16px
    }

    .contact-card {
        max-width: 100%;
        flex: 1 1 100%
    }
}