/* ============================================
   home.css — TellusCreative startsida
   ============================================ */

/* --- VARIABLER --- */
:root {
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Världsfärger */
    --music:    hsl(263, 85%, 65%);
    --music-bg: hsla(263, 85%, 65%, 0.12);
    --music-bd: hsla(263, 85%, 65%, 0.28);

    --train:    hsl(142, 71%, 55%);
    --train-bg: hsla(142, 71%, 55%, 0.10);
    --train-bd: hsla(142, 71%, 55%, 0.25);

    --app:      hsl(188, 91%, 53%);
    --app-bg:   hsla(188, 91%, 53%, 0.10);
    --app-bd:   hsla(188, 91%, 53%, 0.25);

    /* Mörkt tema */
    --bg:       #06070d;
    --bg-alt:   #0a0c16;
    --bg-card:  rgba(255,255,255,0.035);
    --bd:       rgba(255,255,255,0.07);
    --text:     #f0f0f5;
    --muted:    rgba(255,255,255,0.45);
    --subtle:   rgba(255,255,255,0.22);

    --radius:   16px;
    --radius-sm: 10px;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.home {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* --- SCROLL-REVEAL --- */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1.2) var(--d, 0ms),
                transform 0.7s cubic-bezier(.22,.68,0,1.2) var(--d, 0ms);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SHARED TYPOGRAPHY --- */
.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.65;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(142,71%,52%), hsl(188,91%,50%));
    color: #03060a;
    box-shadow: 0 0 32px hsla(165, 80%, 50%, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 40px hsla(165, 80%, 50%, 0.45);
}

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--bd);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-2px);
}

.btn-app {
    background: linear-gradient(135deg, var(--app), hsl(220, 90%, 60%));
    color: #03060a;
    box-shadow: 0 0 32px hsla(188, 91%, 53%, 0.3);
}
.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 40px hsla(188, 91%, 53%, 0.45);
}

.btn-full { width: 100%; justify-content: center; }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background: rgba(6,7,13,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-tc       { color: var(--music); }
.logo-creative { color: var(--text); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-right: auto;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--music);
    transition: width 0.25s ease;
}
.nav-link:hover       { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-worlds {
    display: flex;
    gap: 6px;
}

.nw-pill {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid;
    transition: transform 0.2s ease;
}
.nw-pill:hover { transform: translateY(-1px); }
.nw-music { background: var(--music-bg); border-color: var(--music-bd); color: var(--music); }
.nw-train { background: var(--train-bg); border-color: var(--train-bd); color: var(--train); }
.nw-app   { background: var(--app-bg);   border-color: var(--app-bd);   color: var(--app); }

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: rgba(8,9,18,0.97);
    backdrop-filter: blur(24px);
    z-index: 910;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid var(--bd);
}
.nav-drawer.open { transform: translateX(0); }

.drawer-inner {
    padding: 90px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    overflow-y: auto;
}

.drawer-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--subtle);
    margin-bottom: 6px;
    padding-left: 4px;
}

.drawer-link {
    display: block;
    padding: 10px 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bd);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.drawer-link:hover { color: var(--text); padding-left: 8px; }

.drawer-divider { height: 1px; background: var(--bd); margin: 12px 0; }
.drawer-section { display: flex; flex-direction: column; }

.drawer-world {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}
.drawer-world:hover { transform: translateX(4px); }
.dw-music { background: var(--music-bg); color: var(--music); }
.dw-train { background: var(--train-bg); color: var(--train); }
.dw-app   { background: var(--app-bg);   color: var(--app); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 905;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }


/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 32px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hbg-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hbg-1 {
    width: 700px; height: 700px;
    background: hsla(263, 85%, 55%, 0.2);
    top: -150px; left: -100px;
}
.hbg-2 {
    width: 600px; height: 600px;
    background: hsla(188, 91%, 50%, 0.15);
    bottom: -100px; right: -80px;
}
.hbg-3 {
    width: 500px; height: 500px;
    background: hsla(142, 71%, 50%, 0.12);
    top: 40%; left: 40%;
}

.hbg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
    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.85' 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");
}

/* Orbiting visual */
.hero-orb {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    z-index: 1;
}

@media (max-width: 1100px) { .hero-orb { display: none; } }

.orb-core {
    position: absolute;
    top: 50%; left: 50%;
    width: 120px; height: 120px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--app) 0%, var(--music) 50%, transparent 75%);
    box-shadow: 0 0 60px hsla(263,85%,65%,0.6), 0 0 120px hsla(188,91%,53%,0.3);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { box-shadow: 0 0 60px hsla(263,85%,65%,0.6), 0 0 120px hsla(188,91%,53%,0.3); }
    50%       { box-shadow: 0 0 90px hsla(263,85%,65%,0.8), 0 0 160px hsla(188,91%,53%,0.4); }
}

.orb-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    transform: translate(-50%, -50%);
    animation: orbSpin linear infinite;
}

.or-1 { width: 220px; height: 220px; animation-duration: 18s; border-color: hsla(263,85%,65%,0.2); }
.or-2 { width: 340px; height: 340px; animation-duration: 32s; animation-direction: reverse; border-color: hsla(142,71%,55%,0.15); }
.or-3 { width: 460px; height: 460px; animation-duration: 50s; border-color: hsla(188,91%,53%,0.1); }

@keyframes orbSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orb-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    top: 50%; left: 50%;
}
.od-1 { background: var(--music); box-shadow: 0 0 12px var(--music); animation: dotOrbit1 18s linear infinite; }
.od-2 { background: var(--train); box-shadow: 0 0 12px var(--train); animation: dotOrbit2 32s linear infinite reverse; }
.od-3 { background: var(--app);   box-shadow: 0 0 12px var(--app);   animation: dotOrbit3 50s linear infinite; }

@keyframes dotOrbit1 {
    from { transform: translate(-50%,-50%) rotate(0deg)   translateX(110px); }
    to   { transform: translate(-50%,-50%) rotate(360deg) translateX(110px); }
}
@keyframes dotOrbit2 {
    from { transform: translate(-50%,-50%) rotate(0deg)   translateX(170px); }
    to   { transform: translate(-50%,-50%) rotate(360deg) translateX(170px); }
}
@keyframes dotOrbit3 {
    from { transform: translate(-50%,-50%) rotate(0deg)   translateX(230px); }
    to   { transform: translate(-50%,-50%) rotate(360deg) translateX(230px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--bd);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--music) 0%, var(--app) 50%, var(--train) 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hbadge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid;
    transition: transform 0.2s ease;
}
.hbadge:hover { transform: translateY(-2px); }
.hb-music { background: var(--music-bg); border-color: var(--music-bd); color: var(--music); }
.hb-train { background: var(--train-bg); border-color: var(--train-bd); color: var(--train); }
.hb-app   { background: var(--app-bg);   border-color: var(--app-bd);   color: var(--app); }

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--muted));
}
.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--subtle);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}


/* ============================================
   WORLDS
   ============================================ */
.worlds {
    padding: 120px 32px;
    background: var(--bg-alt);
}

/* Bakgrundsbild på hover */
.world-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1.1);
    z-index: 0;
}

.worlds-inner { max-width: 1200px; margin: 0 auto; }

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.world-card {
    position: relative;
    padding: 36px 28px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--bd);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s ease, box-shadow 0.3s ease;
}
.world-card:hover { transform: translateY(-6px); }

/* Hover-effekt */
.world-card:hover::before {
    opacity: 0.95;
    transform: scale(1);
}
/* DJ Tellus */
.wc-music::before {
    background-image: url('/assets/images/hover/dj.webp');
}

/* Starktillsammans */
.wc-train::before {
    background-image: url('/assets/images/hover/gym.webp');
}

/* FitdealzPro */
.wc-app::before {
    background-image: url('/assets/images/hover/app.webp');
}

.wc-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius);
    pointer-events: none;
}
.wc-music .wc-glow { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--music-bg), transparent); }
.wc-train .wc-glow { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--train-bg), transparent); }
.wc-app   .wc-glow { background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--app-bg),   transparent); }
.world-card:hover .wc-glow { opacity: 1; }

.wc-music:hover { border-color: var(--music-bd); box-shadow: 0 20px 60px hsla(263,85%,65%,0.15); }
.wc-train:hover { border-color: var(--train-bd); box-shadow: 0 20px 60px hsla(142,71%,55%,0.15); }
.wc-app:hover   { border-color: var(--app-bd);   box-shadow: 0 20px 60px hsla(188,91%,53%,0.15); }

.wc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.wc-icon { font-size: 2rem; line-height: 1; }

.wc-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid;
}
.wc-music .wc-tag { background: var(--music-bg); border-color: var(--music-bd); color: var(--music); }
.wc-train .wc-tag { background: var(--train-bg); border-color: var(--train-bd); color: var(--train); }
.wc-app   .wc-tag { background: var(--app-bg);   border-color: var(--app-bd);   color: var(--app); }

.wc-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
}

.wc-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    position: relative;
}

.wc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
}
.wc-features span {
    font-size: 0.72rem;
    padding: 3px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--bd);
    border-radius: 999px;
    color: var(--muted);
}

.wc-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: gap 0.2s ease;
}
.world-card:hover .wc-cta { gap: 10px; }
.wc-music .wc-cta { color: var(--music); }
.wc-train .wc-cta { color: var(--train); }
.wc-app   .wc-cta { color: var(--app); }


/* ============================================
   PROOF / STATS
   ============================================ */
.proof {
    padding: 60px 32px;
    background: var(--bg);
    border-top: 1px solid var(--bd);
    border-bottom: 1px solid var(--bd);
}
.proof-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.proof-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.proof-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--music), var(--app));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.proof-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-align: center; }
.proof-divider { width: 1px; height: 48px; background: var(--bd); }


/* ============================================
   ABOUT
   ============================================ */
.about { padding: 120px 32px; background: var(--bg-alt); }
.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 340px;
    margin: 0 auto;
}

.av-bg {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(263,85%,65%,0.3), hsla(188,91%,53%,0.15), transparent 70%);
    filter: blur(30px);
}

.av-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid;
    animation: aboutSpin linear infinite;
}
.av-r1 { width: 60%; height: 60%; transform: translate(-50%,-50%); animation-duration: 20s; border-color: hsla(263,85%,65%,0.3); }
.av-r2 { width: 80%; height: 80%; transform: translate(-50%,-50%); animation-duration: 34s; animation-direction: reverse; border-color: hsla(142,71%,55%,0.2); }
.av-r3 { width: 100%; height: 100%; transform: translate(-50%,-50%); animation-duration: 55s; border-color: hsla(188,91%,53%,0.12); }

@keyframes aboutSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.av-initials {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--music-bg), var(--app-bg));
    border: 1px solid var(--music-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--music);
}

.about-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 18px;
}
.about-body {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.about-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.atag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
}
.atag-music { background: var(--music-bg); border-color: var(--music-bd); color: var(--music); }
.atag-train { background: var(--train-bg); border-color: var(--train-bd); color: var(--train); }
.atag-app   { background: var(--app-bg);   border-color: var(--app-bd);   color: var(--app); }


/* ============================================
   RESOURCES
   ============================================ */
.resources { padding: 120px 32px; background: var(--bg); }
.resources-inner { max-width: 1100px; margin: 0 auto; }

.res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.res-card {
    padding: 32px 26px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--bd);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.res-card:hover { transform: translateY(-5px); }
.rc-train:hover { border-color: var(--train-bd); box-shadow: 0 16px 40px hsla(142,71%,55%,0.12); }
.rc-music:hover { border-color: var(--music-bd); box-shadow: 0 16px 40px hsla(263,85%,65%,0.12); }
.rc-app:hover   { border-color: var(--app-bd);   box-shadow: 0 16px 40px hsla(188,91%,53%,0.12); }

.rc-icon { font-size: 1.8rem; line-height: 1; }
.res-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.res-card p  { font-size: 0.92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.rc-link { font-size: 0.82rem; font-weight: 600; margin-top: 4px; }
.rc-train .rc-link { color: var(--train); }
.rc-music .rc-link { color: var(--music); }
.rc-app   .rc-link { color: var(--app); }


/* ============================================
   APP TEASER
   ============================================ */
.app-teaser {
    position: relative;
    padding: 120px 32px;
    overflow: hidden;
    text-align: center;
}
.at-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, hsla(188,91%,53%,0.12), transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, hsla(263,85%,65%,0.08), transparent 70%);
    pointer-events: none;
}
.app-teaser-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.at-badge {
    padding: 5px 16px;
    background: var(--app-bg);
    border: 1px solid var(--app-bd);
    color: var(--app);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.at-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
}
.at-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 520px;
}
.at-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0;
}
.at-feat { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.at-feat-icon { font-size: 1.1rem; }


/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 120px 32px; background: var(--bg-alt); }
.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.contact-lead { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.ci-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.ci-item:hover { color: var(--text); }
.ci-icon { font-size: 1rem; }

.contact-socials { display: flex; gap: 12px; flex-wrap: wrap; }

.cs-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--bd);
    background: rgba(255,255,255,0.05);
    color: var(--muted);
    transition: all 0.2s ease;
}

.cs-link:hover { color: var(--text); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Instagram – ikoniska gradienten */
.cs-ig:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    box-shadow: 0 0 12px rgba(221,42,123,0.6);
}

/* YouTube – röd */
.cs-yt:hover {
    background: #FF0000;
    box-shadow: 0 0 12px rgba(255,0,0,0.6);
}

/* TikTok – cyan + magenta glow */
.cs-tt:hover {
    background: #000;
    box-shadow:
        0 0 10px #69C9D0,
        0 0 20px #EE1D52;
    color: #fff;
}

.contact-right { position: relative; }
.contact-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, hsla(142,71%,55%,0.12), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--bd);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
}
.contact-success {
    background: hsla(142,71%,55%,0.12);
    border: 1px solid hsla(142,71%,55%,0.3);
    color: var(--train);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0.03em; }
.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bd);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: hsla(142,71%,55%,0.5);
    background: rgba(255,255,255,0.06);
}
.form-group textarea { height: 130px; resize: none; }


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #040509;
    padding: 80px 32px 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--bd);
}
.footer-glow {
    position: absolute;
    bottom: -80px; left: 50%;
    width: 70%; height: 160px;
    transform: translateX(-50%);
    background: radial-gradient(circle, hsla(263,85%,65%,0.12), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.footer-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--bd);
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}
.footer-tagline { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.footer-nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--subtle);
    margin-bottom: 16px;
}
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
}
.footer-nav-group a:hover { color: var(--text); padding-left: 4px; }
.fnl-music { color: var(--music) !important; opacity: 0.8; }
.fnl-train { color: var(--train) !important; opacity: 0.8; }
.fnl-app   { color: var(--app)   !important; opacity: 0.8; }
.fnl-music:hover, .fnl-train:hover, .fnl-app:hover { opacity: 1 !important; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--subtle); }
.footer-worlds {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}
.fw-music { color: var(--music); opacity: 0.7; }
.fw-train { color: var(--train); opacity: 0.7; }
.fw-app   { color: var(--app);   opacity: 0.7; }
.fw-sep   { color: var(--subtle); }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .worlds-grid, .res-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .about-inner { grid-template-columns: 1fr; }
    .about-visual { max-width: 240px; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-worlds { display: none; }
}

@media (max-width: 768px) {
    .nav-links  { display: none; }
    .nav-burger { display: flex; }
    .nav-inner  { padding: 0 20px; gap: 16px; }

    .hero, .worlds, .about, .resources, .app-teaser, .contact { padding-left: 20px; padding-right: 20px; }
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .worlds, .about, .resources, .app-teaser, .contact { padding-top: 80px; padding-bottom: 80px; }
    .proof { padding: 40px 20px; }
    .footer { padding: 60px 20px 32px; }

    .proof-inner { gap: 20px; }
    .proof-num { font-size: 2rem; }
    .proof-divider { height: 32px; }

    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-worlds { justify-content: center; }
    .at-features { gap: 16px; }
    .worlds-grid, .res-grid { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 2.6rem; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
