@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --navy: #06152d;
    --navy-2: #0a2043;
    --blue: #1877f2;
    --blue-light: #55b8ff;
    --cyan: #8bddff;
    --white: #f8fbff;
    --muted: #a9bad3;
    --line: rgba(148, 190, 255, 0.16);
    --panel: rgba(10, 32, 67, 0.72);
    --shadow: 0 24px 70px rgba(0, 8, 28, 0.42);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--navy);
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.65;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 78% 8%, rgba(24, 119, 242, .26), transparent 30rem),
        radial-gradient(circle at 12% 45%, rgba(69, 174, 255, .12), transparent 27rem),
        linear-gradient(180deg, #06152d 0%, #081a37 45%, #06152d 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.background-glow { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: -2; opacity: .28; }
.glow-one { width: 420px; height: 420px; background: #168cff; top: -150px; right: -100px; }
.glow-two { width: 330px; height: 330px; background: #084ebd; left: -150px; top: 48%; }

.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: .3s ease; }
.header.scrolled { background: rgba(4, 17, 39, .84); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo, .footer-logo { display: inline-flex; align-items: center; }
.nav-logo img { width: 92px; height: 48px; object-fit: contain; }
.footer-logo img { width: 125px; height: 62px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #d8e5f6; font-size: .9rem; font-weight: 600; transition: .2s; }
.nav-links a:hover { color: var(--blue-light); }
.nav-links a:last-child { padding: 11px 18px; border: 1px solid rgba(91, 180, 255, .45); border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff; transition: .25s; }

.hero { min-height: 100vh; padding-top: 150px; display: grid; place-items: center; text-align: center; }
.hero-container { display: flex; flex-direction: column; align-items: center; }
.eyebrow { color: var(--blue-light); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero-title { max-width: 950px; margin: 18px 0 24px; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .91; letter-spacing: -.07em; font-weight: 900; }
.hero-title span, .section-title span, .countdown-content h2 span { display: block; color: var(--blue-light); }
.hero-description { max-width: 680px; color: var(--muted); font-size: 1.06rem; }
.watch-label { display: inline-flex; align-items: center; gap: 10px; margin: 35px 0 22px; font-weight: 700; }
.small-play { width: 33px; height: 33px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: var(--blue); font-size: .65rem; box-shadow: 0 0 25px rgba(24,119,242,.65); }
.featured-video { position: relative; width: min(920px, 100%); aspect-ratio: 16/8.5; overflow: hidden; border-radius: 28px; border: 1px solid rgba(120,191,255,.25); box-shadow: var(--shadow); text-align: left; }
.featured-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.featured-video:hover img { transform: scale(1.035); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(3,11,27,.9)); }
.large-play, .card-play { position: absolute; display: grid; place-items: center; border-radius: 50%; background: rgba(24,119,242,.92); box-shadow: 0 0 35px rgba(24,119,242,.65); }
.large-play { inset: 50% auto auto 50%; translate: -50% -50%; width: 84px; height: 84px; font-size: 1.25rem; }
.featured-info { position: absolute; left: 34px; bottom: 27px; }
.featured-info p { color: var(--blue-light); font-size: .72rem; font-weight: 800; letter-spacing: .17em; }
.featured-info h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
.about { background: rgba(5,17,38,.4); }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.section-number, .card-number { display: none; }
.section-title { margin: 14px 0 26px; font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.055em; font-weight: 900; }
.about-content > p:not(.eyebrow):not(.section-number), .contact-content > p:not(.eyebrow):not(.section-number), .section-description { color: var(--muted); margin-top: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-size: 1.7rem; }
.about-stats span { color: var(--muted); font-size: .75rem; }
.about-visual { position: relative; }
.image-frame { min-height: 520px; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, #167dec, #07182f 72%); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.image-frame img[src="jope-kuva.jpg"] { visibility: hidden; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: rgba(7,25,54,.88); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; }
.floating-card span { font-size: 1.4rem; }
.card-top { top: 34px; left: -36px; }
.card-bottom { right: -28px; bottom: 40px; }

.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.type-card, .price-card, .video-item, .contact-form { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(15,48,92,.7), rgba(7,24,51,.82)); box-shadow: 0 20px 55px rgba(0,8,28,.18); }
.type-card { position: relative; min-height: 340px; padding: 34px; border-radius: 22px; transition: .3s; overflow: hidden; }
.type-card:hover { transform: translateY(-8px); border-color: rgba(86,180,255,.48); }
.type-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(85,184,255,.28); border-radius: 15px; background: linear-gradient(145deg, rgba(24,119,242,.22), rgba(85,184,255,.06)); color: var(--blue-light); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 25px rgba(0,8,28,.2); }
.type-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card-number { position: absolute; top: 35px; right: 35px; color: #6685aa; font-size: .72rem; font-weight: 700; }
.type-card h3 { margin: 30px 0 14px; font-size: 1.75rem; }
.type-card > p:not(.card-number) { color: var(--muted); }
.card-line { position: absolute; left: 34px; right: 34px; bottom: 30px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }

.pricing { background: linear-gradient(180deg, rgba(5,17,38,.35), rgba(10,35,74,.5), rgba(5,17,38,.35)); }
.section-description { max-width: 600px; margin-inline: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 470px)); justify-content: center; align-items: stretch; gap: 24px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 42px; border-radius: 25px; }
.premium-card { border-color: rgba(74,171,255,.65); background: linear-gradient(145deg, rgba(24,119,242,.24), rgba(7,24,51,.9)); transform: translateY(-10px); }
.popular-label, .premium-badge { background: var(--blue); color: white; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.popular-label { position: absolute; top: 0; right: 35px; padding: 7px 13px; border-radius: 0 0 8px 8px; }
.plan-label { color: var(--blue-light); font-size: .74rem; font-weight: 800; letter-spacing: .18em; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 13px 0; }
.price-number { font-size: 3rem; font-weight: 900; letter-spacing: -.06em; }
.price-time, .price-top > p:last-child { color: var(--muted); }
.feature-list { list-style: none; display: grid; gap: 14px; margin: 30px 0 36px; }
.feature-list li { display: flex; gap: 12px; color: #d9e6f6; }
.feature-list li span { color: var(--blue-light); font-weight: 900; }
.price-button, .contact-form button { display: flex; justify-content: center; align-items: center; margin-top: auto; min-height: 54px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #167bf3, #2aa7ff); color: white; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(24,119,242,.25); transition: .25s; }
.price-button:hover, .contact-form button:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(24,119,242,.4); }
.secondary-button { background: transparent; border: 1px solid rgba(110,181,255,.42); box-shadow: none; }

.video-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 45px; }
.video-heading .section-title { margin-bottom: 0; }
.video-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .78rem; cursor: pointer; }
.filter.active, .filter:hover { background: var(--blue); border-color: var(--blue); color: white; }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.video-item { overflow: hidden; border-radius: 18px; transition: .3s; }
.video-item:hover { transform: translateY(-6px); border-color: rgba(86,180,255,.48); }
.video-image { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #123c73, #07162c); overflow: hidden; }
.video-image img { width: 100%; height: 100%; object-fit: cover; }
.video-image img:not([src="thumbnail.jpg"]) { color: transparent; }
.duration, .premium-badge { position: absolute; padding: 5px 8px; border-radius: 6px; }
.duration { right: 10px; bottom: 10px; background: rgba(3,10,24,.85); font-size: .68rem; }
.premium-badge { top: 10px; left: 10px; }
.card-play { top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; font-size: .75rem; opacity: 0; transition: .25s; }
.video-item:hover .card-play { opacity: 1; }
.video-text { padding: 22px; }
.video-category { color: var(--blue-light); font-size: .67rem; font-weight: 800; letter-spacing: .16em; }
.video-text h3 { margin: 8px 0 13px; line-height: 1.35; }
.video-text p { color: var(--muted); font-size: .78rem; }
.video-item.hidden { display: none; }
.video-item.reveal { display: none; }
.content-hidden { display: none !important; }

.countdown-section { padding-top: 40px; }
.countdown-stack { display: grid; gap: 22px; }
.countdown-container { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; padding: 55px 60px; border: 1px solid rgba(85,184,255,.27); border-radius: 28px; background: linear-gradient(135deg, rgba(21,104,218,.26), rgba(6,21,45,.84)); }
.premium-countdown { background: linear-gradient(135deg, rgba(29,91,225,.34), rgba(6,21,45,.9)); }
.free-countdown { background: linear-gradient(135deg, rgba(27,158,235,.18), rgba(6,21,45,.84)); }
.countdown-content h2 { margin: 10px 0; font-size: clamp(2rem,4vw,3.5rem); line-height: 1; letter-spacing: -.05em; }
.countdown-content > p:last-child { color: var(--muted); }
.countdown { display: flex; align-items: center; }
.time-box { min-width: 75px; text-align: center; }
.time-box strong { display: block; font-size: clamp(1.7rem,3vw,2.8rem); line-height: 1; }
.time-box span { color: var(--muted); font-size: .65rem; text-transform: uppercase; }
.time-divider { color: var(--blue-light); font-size: 1.8rem; transform: translateY(-8px); }

.contact-form { display: grid; padding: 36px; border-radius: 22px; }
.contact-form label { margin: 13px 0 7px; font-size: .75rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); outline: none; border-radius: 10px; background: rgba(3,14,32,.55); color: white; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(38,142,246,.12); }
.contact-form button { margin-top: 20px; }
.form-message { margin-top: 12px; color: var(--blue-light); font-size: .82rem; }
.email-link { display: inline-block; margin: 26px 0; color: var(--blue-light); font-weight: 700; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .75rem; font-weight: 800; transition: .2s; }
.social-links a:hover { background: var(--blue); border-color: var(--blue); }

.footer { padding: 68px 0 28px; border-top: 1px solid var(--line); background: rgba(3,13,30,.75); }
.footer-content, .footer-bottom { display: flex; justify-content: space-between; gap: 35px; }
.footer-content > div:first-child p { max-width: 330px; margin-top: 12px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: 24px; font-size: .82rem; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: #7288a5; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
    .section { padding: 88px 0; }
    .menu-button { display: block; }
    .nav-links { position: fixed; inset: 82px 20px auto; display: none; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(5,20,45,.97); box-shadow: var(--shadow); }
    .nav-links.open { display: grid; }
    .nav-links .login-link { width: 150px; justify-self: center; padding-inline: 14px; text-align: center; }
    .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-button.open span:nth-child(2) { opacity: 0; }
    .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
    .about-visual { width: min(590px, 100%); margin-inline: auto; }
    .type-grid, .video-grid { grid-template-columns: repeat(2,1fr); }
    .type-card:last-child { grid-column: span 2; }
    .countdown-container { grid-template-columns: 1fr; padding: 45px 32px; }
    .video-heading { align-items: start; flex-direction: column; }
    .video-filters { justify-content: start; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1160px); }
    .section { padding: 72px 0; }
    .hero { padding-top: 125px; }
    .hero-title { font-size: clamp(2.75rem, 15vw, 4.7rem); }
    .hero-description { font-size: .93rem; }
    .featured-video { border-radius: 17px; }
    .featured-info { left: 18px; bottom: 15px; }
    .large-play { width: 58px; height: 58px; }
    .about-stats { gap: 12px; }
    .about-stats strong { font-size: 1.25rem; }
    .image-frame, .image-frame img { min-height: 390px; }
    .card-top { left: -5px; }
    .card-bottom { right: -5px; }
    .type-grid, .video-grid, .pricing-grid { grid-template-columns: 1fr; }
    .type-card:last-child { grid-column: auto; }
    .price-card { padding: 32px 25px; }
    .premium-card { transform: none; }
    .countdown { width: 100%; justify-content: space-between; }
    .time-box { min-width: 0; }
    .time-divider { font-size: 1.2rem; }
    .contact-form { padding: 26px 20px; }
    .footer-content, .footer-bottom { flex-direction: column; }
}
