/* ================================================
   TRETAION TECHNOLOGY — MODERN REDESIGN v3.0
   Premium Animated & Responsive Website
================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Core palette */
    --color-bg-dark: #06050e;
    --color-bg-gray: #16141f;
    --color-bg-light-gray: #b3b2b6;
    --color-bg-pink: #cc3d84;

    --color-blue: #00a6ff;
    --color-blue-glow: rgba(0, 166, 255, 0.15);
    --color-purple: #7b61ff;
    --color-purple-glow: rgba(123, 97, 255, 0.15);
    --color-white: #ffffff;
    --color-dark: #06050e;

    --border-white-10: rgba(255,255,255,0.08);
    --border-white-20: rgba(255,255,255,0.12);
    --border-dark-15: rgba(3,1,13,0.15);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);

    --radius-xl: 24px;
    --radius-large: 16px;
    --radius-medium: 16px;
    --radius-small: 12px;
    --radius-tag: 6px;

    --padding-global: 64px;

    --section-large: 120px;
    --section-medium: 80px;

    --heading-2: 56px;
    --heading-4: 36px;
    --heading-5: 28px;

    --text-medium: 20px;
    --text-regular: 17px;
    --text-small: 15px;
    --text-tiny: 12px;

    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── Smooth page scroll ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg-dark);
    color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

/* ─── Selection style ─── */
::selection {
    background: var(--color-blue);
    color: white;
}

/* ================================================
   SCROLL REVEAL ANIMATION CLASSES
================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ================================================
   AMBIENT GLOW / GRADIENT ORBS
================================================ */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    animation: float-orb 12s ease-in-out infinite alternate;
}

@keyframes float-orb {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ================================================
   NAVBAR — Glassmorphism + Smooth Transition
================================================ */
.navbar {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--padding-global);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(6, 5, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-white-10), 0 8px 32px rgba(0,0,0,0.3);
}

/* Navbar over light backgrounds (always dark) */
.navbar.navbar-over-light {
    background: rgba(6, 5, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-white-10), 0 8px 32px rgba(0,0,0,0.3);
}

.navbar-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s var(--transition-smooth);
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--color-blue);
    border-radius: 2px;
    transition: transform 0.3s var(--transition-smooth);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ─── Hamburger ─── */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
    position: relative;
    padding: 8px;
}

.hamburger .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.4s var(--transition-smooth);
    transform-origin: center;
}

/* ================================================
   BUTTONS — Modern with glow + micro‑animations
================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-small);
    font-size: var(--text-small);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
}

/* Shimmer effect on buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline-white {
    border-color: var(--border-white-20);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-blue {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: white;
    box-shadow: 0 4px 16px var(--color-blue-glow);
}

.btn-blue:hover {
    box-shadow: 0 8px 30px rgba(0, 166, 255, 0.3);
}

.btn-outline-dark {
    border-color: var(--border-dark-15);
    color: var(--color-dark);
    background: transparent;
}

.btn-lg {
    padding: 14px 28px;
    font-size: var(--text-regular);
}

.btn-link {
    background: transparent;
    border: none;
    color: white;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-regular);
    font-weight: 500;
    cursor: pointer;
}

.btn-link::before { display: none; }

.btn-link-dark {
    color: var(--color-dark);
}

.btn-lovebug-web {
    background: linear-gradient(135deg, #ff007a, #ff4c4c);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(255, 0, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-lovebug-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 0, 122, 0.5);
}

/* ================================================
   SECTION BASE
================================================ */
.section {
    width: 100%;
    padding: var(--section-large) var(--padding-global);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Padding for fixed navbar */
body > .section:first-of-type,
body > nav + .section,
nav + main .section:first-of-type,
nav + * .section:first-of-type {
    padding-top: calc(var(--section-large) + 20px) !important;
}

.container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
    position: relative;
    z-index: 1;
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 768px;
    width: 100%;
}

.tagline {
    font-size: var(--text-tiny);
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-blue);
    background: var(--color-blue-glow);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 166, 255, 0.15);
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.heading-2 {
    font-family: 'Unbounded', sans-serif;
    font-size: var(--heading-2);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-4 {
    font-family: 'Unbounded', sans-serif;
    font-size: var(--heading-4);
    font-weight: 700;
    line-height: 1.2;
}

.heading-5 {
    font-family: 'Unbounded', sans-serif;
    font-size: var(--heading-5);
    font-weight: 700;
    line-height: 1.3;
}

.text-medium {
    font-size: var(--text-medium);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.text-regular {
    font-size: var(--text-regular);
    line-height: 1.7;
}

/* ================================================
   SECTION BACKGROUNDS — With ambient glow
================================================ */
.section-dark-gray {
    background: var(--color-bg-gray);
    background: linear-gradient(180deg, #16141f 0%, #1a1826 50%, #16141f 100%);
}

.section-light-gray {
    background: #f0f0f4;
    color: var(--color-dark);
}

.section-light-gray .text-medium {
    color: rgba(6, 5, 14, 0.6);
}

.section-pink {
    background: linear-gradient(135deg, #cc3d84 0%, #a02868 50%, #cc3d84 100%);
    position: relative;
}

.section-pink::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.section-white {
    background: white;
    color: var(--color-dark);
}

.section-black {
    background: var(--color-bg-dark);
}

/* ================================================
   CARDS — Glass morphism + Hover Lift
================================================ */
.cards-row {
    display: flex;
    gap: 32px;
    width: 100%;
}

.card {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: transform 0.5s var(--transition-smooth),
                box-shadow 0.5s var(--transition-smooth),
                border-color 0.5s var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.tag {
    display: inline-flex;
    width: fit-content;
    padding: 4px 12px;
    border: 1px solid var(--border-white-20);
    border-radius: 50px;
    font-size: var(--text-tiny);
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-blue);
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s var(--transition-smooth);
}

.card-explore::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.3s var(--transition-smooth);
}

.card-explore:hover {
    color: var(--color-white);
    gap: 12px;
}

.card-explore:hover::after {
    transform: translateX(6px);
}

/* ================================================
   PRODUCTS — 3 Column Grid
================================================ */
.columns-3 {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px;
    border-radius: var(--radius-xl);
    transition: transform 0.4s var(--transition-smooth),
                background 0.4s var(--transition-smooth);
}

.col:hover {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.03);
}

.col-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-large);
    transition: transform 0.5s var(--transition-smooth),
                box-shadow 0.5s var(--transition-smooth);
}

.col:hover .col-img {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.col-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    color: var(--color-dark);
}

/* ================================================
   LOVEBUG SHOWCASE
================================================ */
.lovebug-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lovebug-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    max-width: 500px;
}

.lovebug-brand-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    transition: transform 0.4s var(--transition-bounce);
}

.lovebug-brand-logo:hover {
    transform: rotate(-5deg) scale(1.05);
}

.lovebug-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.lovebug-visual-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    background-color: var(--color-bg-dark);
    border: 6px solid rgba(255, 255, 255, 0.9);
    border-radius: 44px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.6s var(--transition-bounce),
                box-shadow 0.6s var(--transition-smooth);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%      { transform: rotate(-3deg) translateY(-12px); }
}

.phone-mockup:hover {
    transform: translateY(-16px) rotate(0deg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(204, 61, 132, 0.15);
    animation: none;
}

.app-screenshot {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* ================================================
   FOOTER — Dark minimal premium
================================================ */
.footer {
    background: var(--color-bg-dark);
    padding: 80px var(--padding-global) 40px;
    display: flex;
    justify-content: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-white-20), transparent);
}

.footer-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-small);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: white;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-blue);
    transition: width 0.3s var(--transition-smooth);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--transition-smooth);
}

.footer-socials a:hover {
    color: white;
    background: var(--glass-bg-hover);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-white-20), transparent);
}

.footer-credits {
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--text-small);
}

.footer-legal-links a:hover {
    color: var(--color-blue);
}

/* ================================================
   COMBINED ABOUT & CTA SECTION
================================================ */
.section-about-cta {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #0a0816 100%);
    padding: 100px var(--padding-global);
    position: relative;
}

.section-about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 166, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-about-cta .container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.section-about-cta .text-center {
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

/* About card grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-card .heading-5 {
    color: var(--color-white);
    font-size: 24px;
}

.about-card .text-regular {
    color: var(--color-bg-light-gray);
    line-height: 1.7;
}

/* Integrated CTA box */
.integrated-cta {
    background: linear-gradient(135deg, var(--color-blue) 0%, #0088cc 100%);
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
    color: var(--color-white);
    box-shadow: 0 24px 64px rgba(0, 166, 255, 0.2);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.integrated-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.integrated-cta .text-regular {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-dark {
    background: var(--color-dark);
    border: 1px solid var(--color-dark);
    color: var(--color-white);
}

.btn-dark:hover {
    background: #1a1828;
}

.integrated-cta .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.35);
}

.integrated-cta .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   APP STORE BADGES & GALLERY
================================================ */
.store-badges {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.store-link {
    display: inline-block;
    transition: transform 0.3s var(--transition-smooth);
}

.store-link:hover {
    transform: translateY(-4px);
}

.store-badge-img {
    height: 48px;
    width: auto;
    display: block;
}

.screenshot-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: nowrap;
    position: relative;
    padding: 40px 0;
}

.gallery-img {
    width: 260px;
    height: auto;
    border-radius: 32px;
    border: 8px solid var(--color-bg-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--transition-bounce);
}

.gallery-img:hover {
    transform: scale(1.05) translateY(-10px);
}

/* ================================================
   WAITLIST FORM
================================================ */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.coming-soon-tag {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    border-color: transparent;
    font-size: var(--text-tiny);
    letter-spacing: 1px;
    padding: 6px 12px;
}

.waitlist-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.waitlist-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-small);
    border: 1px solid var(--border-white-20);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    outline: none;
    max-width: 280px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-input:focus {
    border-color: var(--color-blue);
    background: rgba(255, 255, 255, 0.08);
}

/* ================================================
   CURVED SCREENSHOT GALLERY
================================================ */
.curved-img {
    width: 250px;
    height: 450px;
    object-fit: fill;
    border-radius: 28px;
    border: 5px solid rgba(6, 5, 14, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.5s var(--transition-bounce);
    margin: 0;
}

.curved-img:nth-child(1) { transform: rotate(-10deg) translateY(30px); }
.curved-img:nth-child(2) { transform: rotate(-5deg) translateY(10px); }
.curved-img:nth-child(3) { transform: rotate(0deg) translateY(0px); z-index: 2; }
.curved-img:nth-child(4) { transform: rotate(5deg) translateY(10px); }
.curved-img:nth-child(5) { transform: rotate(10deg) translateY(30px); }

.curved-img:hover {
    transform: scale(1.1) translateY(-10px) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.carousel-arrow {
    display: none;
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* ================================================
   CONTACT HERO SECTION
================================================ */
.contact-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-tagline {
    display: inline-block;
    background: rgba(0, 166, 255, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(0, 166, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-heading {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.contact-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--color-bg-light-gray);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

/* ================================================
   RESPONSIVE: FOOTER @ 1024px
================================================ */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }

    .footer-credits {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 24px 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ================================================
   RESPONSIVE: MAIN LAYOUT
================================================ */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    :root {
        --heading-2: 44px;
        --heading-4: 32px;
        --heading-5: 24px;
        --text-medium: 18px;
        --padding-global: 32px;
    }

    .section {
        padding: 80px 32px;
    }

    body > .section:first-of-type,
    body > nav + .section {
        padding-top: calc(80px + 40px);
    }

    .navbar {
        padding: 0 32px;
    }

    .cards-row {
        flex-direction: column;
        gap: 24px;
    }

    .columns-3 {
        flex-direction: column;
        gap: 24px;
    }

    .lovebug-component {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .lovebug-content {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .lovebug-images {
        flex-direction: column;
        align-items: center;
    }

    .lovebug-img-tall {
        width: 100%;
        height: auto;
    }

    .lovebug-showcase {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .lovebug-text-area {
        align-items: center;
        margin: 0 auto;
    }

    .phone-mockup {
        transform: rotate(0deg);
        animation-name: phone-float-mobile;
    }

    @keyframes phone-float-mobile {
        0%, 100% { transform: rotate(0deg) translateY(0); }
        50%      { transform: rotate(0deg) translateY(-12px); }
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Activate hamburger */
    .hamburger {
        display: flex;
    }

    .navbar-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(6, 5, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.4s var(--transition-smooth);
        z-index: 999;
        gap: 40px;
        padding: 100px 2rem 2rem 2rem;
        border-left: 1px solid var(--glass-border);
    }

    .navbar-right.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        font-size: var(--text-regular);
        padding: 12px 24px;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-small);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .navbar-actions .btn {
        width: 100%;
    }

    /* Hamburger X animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Lovebug actions */
    .lovebug-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .lovebug-actions .btn {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    /* Gallery mobile */
    .carousel-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--color-bg-dark);
        color: var(--color-white);
        border: 2px solid var(--border-white-20);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 20;
        font-size: 18px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        transition: background 0.2s;
    }

    .carousel-arrow:active {
        background: var(--color-bg-pink);
    }

    .left-arrow { left: -10px; }
    .right-arrow { right: -10px; }

    .screenshot-gallery {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 20px;
        scrollbar-width: none;
    }

    .screenshot-gallery::-webkit-scrollbar {
        display: none;
    }

    .curved-img {
        flex: 0 0 auto;
        width: 240px;
        height: 480px;
        margin: 0;
        scroll-snap-align: center;
    }

    .curved-img:nth-child(n), .curved-img:hover {
        transform: none !important;
        z-index: 1;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 28px 24px;
    }

    .integrated-cta {
        padding: 48px 24px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    /* Waitlist */
    .waitlist-form {
        flex-direction: column;
        align-items: center;
    }
    .waitlist-input {
        max-width: 100%;
    }
}

/* Smallest screens */
@media (max-width: 480px) {
    :root {
        --heading-2: 30px;
        --heading-4: 24px;
        --heading-5: 20px;
        --text-medium: 16px;
        --text-regular: 15px;
    }

    .section {
        padding: 56px 16px;
    }

    body > .section:first-of-type,
    body > nav + .section {
        padding-top: calc(56px + 40px);
    }

    .navbar {
        padding: 0 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .contact-heading {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .contact-desc {
        font-size: 16px;
        padding: 0 16px;
    }

    .section-about-cta {
        padding: 60px 16px;
    }

    .about-card .heading-5 {
        font-size: 20px;
    }
}

/* ================================================
   CUSTOM SCROLLBAR (Desktop)
================================================ */
@media (min-width: 769px) {
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--color-bg-dark);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.25);
    }
}