/* ==========================================================================
   Trusted Updates — App CSS
   Dark tech/cyber theme, 1440px canvas
   Font: Oxanium | Accent: #89d6ff
   ========================================================================== */

:root {
    --bg-dark: #061422;
    --bg-header: rgba(8, 26, 46, 0.95);
    --accent: #89d6ff;
    --accent-dim: #6fb7e7;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-accent: rgba(137, 214, 255, 0.35);
    --card-bg: rgba(6, 20, 34, 0.85);
    --card-border: rgba(223, 245, 249, 0.2);
    --font: 'Oxanium', sans-serif;
}

html {
    font-size: 10px;
}

body {
    font-family: var(--font);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-dark);
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

svg {
    display: block;
}

a,
button,
input,
textarea,
select {
    transition: all 0.3s ease-in-out;
}

button {
    cursor: pointer;
    outline: 0;
}

a {
    text-decoration: none;
    color: var(--accent);
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline;
        color: var(--accent);
    }
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1440px;
    padding: 0 48px;
    margin: 0 auto;
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */

.gradient-text {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(137, 214, 255, 0.6) 50%, rgba(6, 67, 116, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    border: 0;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
    outline: none;
}

@media (hover: hover) {
    .btn:hover {
        text-decoration: none;
    }
}

.btn-modal-cta {
    padding: 10px 32px;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--bg-dark);
    background: var(--accent);
    border-radius: 6px;
}

@media (hover: hover) {
    .btn-modal-cta:hover {
        background: var(--accent-dim);
        color: var(--bg-dark);
    }
}

.btn-install {
    position: relative;
    width: 195px;
    height: 40px;
    padding: 0;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    background: url(../images/main-page/btn-bg.svg) center / 100% 100% no-repeat;
    border: none;
    box-shadow:
        0px 2px 55px 0px rgba(0, 0, 0, 0.51),
        0px 100px 100px 0px rgba(0, 0, 0, 0.45),
        0px 226px 136px 0px rgba(0, 0, 0, 0.26);
}

/* Center horizontal light streak (mix-blend-mode: screen) */
.btn-install::before {
    content: '';
    position: absolute;
    left: 50.3%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 139px;
    height: 76px;
    background: url(../images/main-page/btn-glow-center.svg) center / 100% 100% no-repeat;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

/* Top and bottom edge glow lines */
.btn-install::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: calc(100% + 24px);
    background:
        url(../images/main-page/btn-glow-union.svg) 3px 0px / 181px 23px no-repeat,
        url(../images/main-page/btn-glow-union.svg) 6px 41px / 181px 23px no-repeat;
    pointer-events: none;
    z-index: 1;
}

.btn-install-text {
    position: relative;
    z-index: 2;
    background: linear-gradient(254deg, #fff 1%, #999 121%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-install-arrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-install-arrow img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transform: rotate(90deg);
}

@media (hover: hover) {
    .btn-install:hover {
        color: #fff;
        filter: brightness(1.2);
    }
}

/* ==========================================================================
   Back To Top
   ========================================================================== */

.return-to-top {
    position: fixed;
    bottom: -3rem;
    right: 2rem;
    width: 4.2rem;
    height: 4.2rem;
    background: var(--accent);
    line-height: 4.2rem;
    text-align: center;
    cursor: pointer;
    z-index: 998;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.return-to-top > i {
    position: relative;
    overflow: hidden;
    font-size: 12px;
    width: inherit;
    height: inherit;
    line-height: inherit;
    display: block;
    color: transparent;
    text-shadow: 0px 0px #ffffff, 0px 50px #ffffff;
    transition: text-shadow 0.2s ease;
    z-index: 1;
}

.return-to-top > i:before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    border: solid 2px #fff;
    transform: rotate(135deg);
    border-top: 0;
    border-right: 0;
    top: 1.8rem;
    left: 1.6rem;
    position: absolute;
}

.return-to-top.back-top {
    bottom: 2rem;
    opacity: 1;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes pixFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pixFadeDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pixFadeLeft {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes pixFadeRight {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes pixZoomIn {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

.pixFadeUp { animation-name: pixFadeUp; }
.pixFadeDown { animation-name: pixFadeDown; }
.pixFadeLeft { animation-name: pixFadeLeft; }
.pixFadeRight { animation-name: pixFadeRight; }
.pixZoomIn { animation-name: pixZoomIn; }

/* ==========================================================================
   Page Loader
   ========================================================================== */

.page-loader {
    background: var(--bg-dark);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999999;
}

.page-loader .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-loader svg {
    display: none;
}

.blobs {
    filter: url(#goo);
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 70px;
    transform-style: preserve-3d;
}

.blobs .blob-center {
    transform-style: preserve-3d;
    position: absolute;
    background: var(--accent);
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform-origin: left top;
    transform: scale(0.9) translate(-50%, -50%);
    animation: blob-grow linear 3.4s infinite;
    border-radius: 50%;
    box-shadow: 0 -10px 40px -5px var(--accent);
}

.blob {
    position: absolute;
    background: var(--accent);
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: blobs ease-out 3.4s infinite;
    transform: scale(0.9) translate(-50%, -50%);
    transform-origin: center top;
    opacity: 0;
}

.blob:nth-child(1) { animation-delay: 0.2s; }
.blob:nth-child(2) { animation-delay: 0.4s; }
.blob:nth-child(3) { animation-delay: 0.6s; }
.blob:nth-child(4) { animation-delay: 0.8s; }
.blob:nth-child(5) { animation-delay: 1s; }

@keyframes blobs {
    0% { opacity: 0; transform: scale(0) translate(calc(-330px - 50%), -50%); }
    1% { opacity: 1; }
    35%, 65% { opacity: 1; transform: scale(0.9) translate(-50%, -50%); }
    99% { opacity: 1; }
    100% { opacity: 0; transform: scale(0) translate(calc(330px - 50%), -50%); }
}

@keyframes blob-grow {
    0%, 39% { transform: scale(0) translate(-50%, -50%); }
    40%, 42% { transform: scale(1, 0.9) translate(-50%, -50%); }
    52% { transform: scale(1.5, 1.4) translate(-50%, -50%); }
    58% { transform: scale(1.8, 1.7) translate(-50%, -50%); }
    68%, 70% { transform: scale(1.7, 1.5) translate(-50%, -50%); }
    78% { transform: scale(1.6, 1.4) translate(-50%, -50%); }
    90%, 91% { transform: scale(1, 0.9) translate(-50%, -50%); }
    92%, 100% { transform: scale(0) translate(-50%, -50%); }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: var(--bg-header);
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    border-bottom: 1px solid var(--accent);
    transition: all 0.2s;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 48px;
    right: 48px;
    height: 9px;
    background: radial-gradient(ellipse at center, rgba(137, 214, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.header-container {
    max-width: 1440px;
    padding: 0 48px;
}

.site-header .header-inner {
    position: relative;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-radius: 0;
}

.site-header .site-mobile-logo {
    display: none;
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon-wrap {
    display: inline-flex;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(137, 214, 255, 0.4));
}

.logo-icon-wrap img {
    display: block;
}

.logo-text {
    font-weight: 700;
    font-size: 1.66rem;
    text-transform: uppercase;
    background: linear-gradient(95deg, #6fb7e7 13%, #011426 247%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.logo-text--lg {
    font-size: 2.19rem;
}

.logo-icon-wrap--lg img {
    width: 37px;
    height: 41px;
}

.site-header .site-main-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header .site-main-menu li {
    position: relative;
}

.site-header .site-main-menu li > a {
    display: inline-block;
    padding: 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.6rem;
    transition: 0.3s ease;
}

@media (hover: hover) {
    .site-header .site-main-menu li > a:hover {
        color: var(--accent);
        text-decoration: none;
    }
}

.site-header .toggle-menu .bar {
    background: var(--accent);
}

.close-menu {
    display: none;
}

.pix-header-fixed {
    position: sticky;
    z-index: 1000;
    background: var(--bg-header);
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.4);
    animation: stickySlideDown 0.65s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes stickySlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
    min-height: 635px;
}

.hero-bg {
    position: absolute;
    top: -119px;
    left: 50%;
    transform: translateX(-50%);
    width: 1702px;
    max-width: 1702px;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.35;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 400;
    font-size: 4.4rem;
    line-height: 1.18;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    background: linear-gradient(108.75deg, rgb(119, 206, 253) 12.8%, rgb(1, 20, 38) 158.9%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 32px;
    max-width: 699px;
    margin-left: auto;
    margin-right: auto;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 245px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.hiw-section {
    position: relative;
    padding: 80px 0 100px;
}

.hiw-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hiw-title {
    font-weight: 300;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 60px;
    background: linear-gradient(123.1deg, rgb(119, 206, 253) 12.9%, rgb(1, 20, 38) 147.3%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
}

.hiw-steps {
    position: relative;
}

.hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 96px;
    margin-bottom: 63px;
}

.hiw-step--reverse {
    flex-direction: row-reverse;
}

.hiw-step-visual {
    flex: 0 0 513px;
    max-width: 513px;
}

.hiw-step-img-wrap {
    width: 100%;
}

.hiw-step-img {
    display: block;
    width: 100%;
    height: auto;
}

.hiw-step-content {
    flex: 1;
    padding-top: 0;
}

.hiw-step-content-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.hiw-step-content-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hiw-step-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hiw-timeline {
    position: absolute;
    left: 534px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
    opacity: 0.3;
    border-radius: 3px;
}

/* Step Number */

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 41px;
    height: 41px;
    background: url(../images/main-page/step-number-bg.svg) center / contain no-repeat;
}

.step-number span {
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-primary);
}

.step-title {
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: linear-gradient(116deg, rgb(119, 206, 253) 12.9%, rgb(1, 20, 38) 147%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
}

.step-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0;
}

.keyword-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #173d67;
    border-radius: 4px;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-left: 8px;
    vertical-align: middle;
    text-transform: lowercase;
}

/* Search Mockup Cards */

.search-mockup {
    position: relative;
    background: linear-gradient(145deg, rgba(7, 89, 161, 0.37) 0%, rgba(4, 29, 41, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: visible;
    padding: 0;
}

.search-mockup-inner {
    position: relative;
    overflow: hidden;
}

.search-mockup--results .search-mockup-inner::before {
    content: '';
    display: block;
    height: 29px;
    background: linear-gradient(90deg, rgba(7, 89, 161, 0.3) 0%, rgba(4, 29, 41, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 6px;
    margin: 10px;
}

.search-bar-icon {
    flex-shrink: 0;
    opacity: 0.5;
}

.search-bar-text {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
}

.search-suggestions {
    padding: 0 10px 10px;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 1.2rem;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion--highlighted {
    background: rgba(200, 230, 255, 0.12);
    border-radius: 4px;
    border-bottom: none;
    color: #333;
}

.suggestion-icon {
    flex-shrink: 0;
    opacity: 0.4;
}

.suggestion-favicon {
    flex-shrink: 0;
}

.highlight-text {
    color: var(--accent);
}

.search-results-placeholder {
    padding: 16px 28px 20px;
}

.result-line {
    height: 9px;
    background: linear-gradient(90deg, #164F7A 0%, #0E3A5A 100%);
    border-radius: 5px;
    margin-bottom: 12px;
}

.result-line--short { width: 60%; }
.result-line--medium { width: 75%; }
.result-line--long { width: 85%; }

.result-block {
    height: 31px;
    background: linear-gradient(90deg, #1A6B9A 0%, #0F4A6E 60%, #0B3C5A 100%);
    border-radius: 5px;
    margin-bottom: 12px;
    width: 100%;
}

/* Corner Decorations */

.corner-deco {
    position: absolute;
    width: 21px;
    height: 20px;
    z-index: 2;
    background: url(../images/main-page/corner-tl.svg) center / contain no-repeat;
}

.corner-deco--tl {
    top: -10px;
    left: -10px;
    transform: scaleX(-1);
}

.corner-deco--br {
    bottom: -10px;
    right: -10px;
    transform: scaleY(-1);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    position: relative;
    padding: 80px 0 100px;
}

.features-subtitle {
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.features-title {
    font-weight: 300;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 48px;
    background: linear-gradient(123.1deg, rgb(119, 206, 253) 12.9%, rgb(1, 20, 38) 147.3%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.feature-card {
    position: relative;
    background: url(../images/main-page/card-bg.svg) center / 100% 100% no-repeat;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.feature-card-inner {
    padding: 32px;
    min-height: 271px;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7, 89, 161, 0.4) 0%, rgba(4, 29, 41, 0.6) 100%);
    box-shadow: 0 0 12px rgba(137, 214, 255, 0.1);
}

.feature-icon img {
    max-width: 28px;
    max-height: 28px;
}

.feature-card-title {
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card-text {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.features-cta {
    padding-top: 16px;
}

/* ==========================================================================
   Inner Pages Common
   ========================================================================== */

.inner-page-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
}

.inner-page-hero .hero-bg {
    position: absolute;
    top: -119px;
    left: 50%;
    transform: translateX(-50%);
    width: 1702px;
    max-width: 1702px;
    z-index: 0;
    pointer-events: none;
}

.inner-page-title {
    font-weight: 700;
    font-size: 5.5rem;
    line-height: 1.18;
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.inner-page-subtitle {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 699px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Uninstall Page
   ========================================================================== */

.uninstall-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 0 80px;
}

.uninstall-step {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(7, 89, 161, 0.37) 0%, rgba(4, 29, 41, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: visible;
    min-height: 393px;
}

.uninstall-step-header {
    padding: 24px 24px 16px;
}

.uninstall-step-body {
    padding: 0 24px 24px;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.uninstall-step-body img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.uninstall-step-screenshot {
    width: 100%;
    min-height: 200px;
    border: 1px dashed var(--border-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.uninstall-step {
    display: flex;
    flex-direction: column;
}

.uninstall-step-screenshot {
    min-height: 220px;
    border-radius: 4px;
    background: rgba(6, 20, 34, 0.6);
    border: 1px dashed var(--card-border);
}

.uninstall-step-title {
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-top: 16px;
}


/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
    padding: 0 0 80px;
}

.contact-title {
    font-weight: 700;
    font-size: 5.5rem;
    font-style: italic;
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 880px;
    margin: 0 auto;
}

.contact-card {
    position: relative;
    background: linear-gradient(145deg, rgba(7, 89, 161, 0.37) 0%, rgba(4, 29, 41, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    overflow: visible;
}

.contact-card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7, 89, 161, 0.4) 0%, rgba(4, 29, 41, 0.6) 100%);
    box-shadow: 0 0 12px rgba(137, 214, 255, 0.1);
}

.contact-card-icon img {
    max-width: 28px;
    max-height: 28px;
}

.contact-card-title {
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-card-text {
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: auto;
    line-height: 1.4;
}

.contact-card .btn-install {
    margin-top: 24px;
    align-self: flex-start;
}

/* ==========================================================================
   Terms / Privacy Pages
   ========================================================================== */

.terms-section {
    padding: 0 0 80px;
}

.terms-title {
    font-weight: 700;
    font-size: 5.5rem;
    font-style: italic;
    margin-bottom: 48px;
}

.terms-body {
    max-width: 780px;
    margin: 0 auto;
}

.terms-body h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
}

.terms-body h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.terms-body p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.terms-body a {
    color: var(--accent);
}

.terms-body ul,
.terms-body ol {
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 24px;
}

.terms-body li {
    margin-bottom: 8px;
}

.terms-body table {
    width: 100%;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.terms-body th {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thanks-section {
    padding: 0 0 80px;
    text-align: center;
}

.thanks-title {
    font-weight: 700;
    font-size: 5.5rem;
    font-style: italic;
    margin-bottom: 48px;
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-search-mockup {
    position: relative;
    max-width: 992px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: visible;
    padding: 0;
}

.thanks-search-mockup .corner-deco--tl { top: -10px; left: -10px; }
.thanks-search-mockup .corner-deco--br { bottom: -10px; right: -10px; }

.thanks-search-inner {
    padding: 20px;
}

.thanks-search-inner .search-bar {
    margin: 0 0 20px;
    padding: 24px 28px;
}

.thanks-search-inner .search-bar-text {
    font-size: 2rem;
}

.thanks-search-inner .search-suggestions {
    padding: 0;
}

.thanks-search-inner .search-suggestion {
    padding: 14px 20px;
    font-size: 1.6rem;
}

.thanks-search-inner .search-suggestion--highlighted {
    font-size: 1.6rem;
}

/* ==========================================================================
   404 / Removed Pages
   ========================================================================== */

.error-section,
.removed-section {
    position: relative;
    padding: 0 0 80px;
    text-align: center;
    overflow: hidden;
}

.error-title,
.removed-title {
    font-weight: 700;
    font-size: 5.5rem;
    font-style: italic;
    margin-bottom: 32px;
}

.error-illustration,
.removed-illustration {
    position: relative;
    max-width: 623px;
    margin: 0 auto 40px;
}

.error-illustration img,
.removed-illustration img {
    width: 100%;
    height: auto;
}

.error-bg-text {
    position: absolute;
    font-size: 20rem;
    font-weight: 700;
    color: rgba(137, 214, 255, 0.05);
    font-style: italic;
    pointer-events: none;
    white-space: nowrap;
}

.error-bg-text--left {
    left: -5%;
    top: 30%;
}

.error-bg-text--right {
    right: -5%;
    top: 10%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: transparent;
    border-top: 1px solid rgba(223, 245, 249, 0.15);
}

.footer .container {
    max-width: 1440px;
    padding: 0 80px;
}

.footer-content {
    padding: 48px 0;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo:hover {
    text-decoration: none;
}

.footer-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 48px;
}

.footer-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.6rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.btn-scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(223, 245, 249, 0.15);
    color: var(--text-primary);
    font-size: 1.8rem;
    text-decoration: none;
    transition: background 0.3s;
    flex-shrink: 0;
}

.btn-scroll-top:hover {
    background: rgba(223, 245, 249, 0.3);
    text-decoration: none;
    color: var(--text-primary);
}

.footer-copyright {
    padding: 0 0 48px;
    text-align: center;
}

.footer-copyright p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Mask overlay (mobile menu)
   ========================================================================== */

.mask-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    top: 0;
    left: 0;
}

.hidden {
    display: none;
}

/* ==========================================================================
   Toggle menu
   ========================================================================== */

.toggle-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 102;
}

.toggle-menu .bar {
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==========================================================================
   Background decorations for inner pages
   ========================================================================== */

.page-bg-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-bg-decoration .bg-mask {
    position: absolute;
    width: 1458px;
    height: 1265px;
    opacity: 0.15;
}

.page-bg-decoration .bg-mask--left {
    left: -651px;
    top: 199px;
}

.page-bg-decoration .bg-mask--right {
    right: -651px;
    top: -291px;
}
