:root {
    --black: #090C12;
    --dark: #0F121A;
    --neon-blue: #64B5F6;
    --neon-gradient-start: #00C6FF;
    --neon-gradient-end: #0072FF;
    --white: #ffffffe7;
    --grey-text: #8a8f9c;
    --grey-border: rgba(255, 255, 255, 0.05);
    --grey-dark: #121620;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --navbar-height: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 24px);
    scrollbar-gutter: stable;
    color-scheme: dark;
}

section[id] {
    scroll-margin-top: calc(var(--navbar-height) + 24px);
}

button,
a,
.faq-toggle,
.mobile-menu-close,
.hamburger-btn,
.btn-neon-pill {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    outline: none;
}

button:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: none;
}

body {
    background-color: var(--black);
    background: linear-gradient(110deg, #0F121A 0%, #090C12 50%, #0F121A 100%);
    color: var(--white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

section:not(.visually-hidden) {
    transition: opacity 0.2s ease-out;
    will-change: opacity;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.huge-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

p {
    color: var(--grey-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.neon-text {
    background: linear-gradient(
        45deg,
        var(--neon-gradient-start) 0%,
        var(--neon-gradient-end) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-center { text-align: center; }
.container-full { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Accessibility & SEO --- */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    visibility: visible !important;
}

/* --- Page Transitions --- */
.page-wrapper {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-wrapper.fade-in {
    opacity: 1;
}

/* --- Placeholders --- */
.img-placeholder {
    border: 1px dashed var(--grey-border);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 500;
    gap: 12px;
    min-height: 350px;
}

.img-placeholder span {
    font-size: 0.75rem;
    color: var(--grey-text);
    text-transform: none;
}

/* --- Global Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 1000;
    background: rgba(9, 12, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--grey-border);
}

.navbar .container-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand img {
    height: 52px;
    width: 52px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
    object-fit: cover;
    transition: var(--transition-fast);
}

.brand-text {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--neon-blue);
}

.btn-download-outline {
    background: linear-gradient(145deg, var(--neon-gradient-start) 0%, var(--neon-gradient-end) 100%);
    color: #ffffff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.2);
    transition: var(--transition-fast);
}

.btn-download-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

/* --- Language Toggle --- */
.lang-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.lang-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--grey-text);
}

.aurix-toggle {
    width: 44px;
    height: 22px;
    background: #171B26;
    border: 1px solid var(--grey-border);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}

.aurix-toggle-thumb {
    width: 16px;
    height: 16px;
    background: var(--neon-blue);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.aurix-toggle.active .aurix-toggle-thumb {
    left: 24px;
    background: #0072FF;
}

/* --- Hamburger Button --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: var(--transition-fast);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    z-index: 1002;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--grey-border);
    transition: var(--transition);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.mobile-menu-download {
    text-align: center;
    background: linear-gradient(145deg, var(--neon-gradient-start) 0%, var(--neon-gradient-end) 100%);
    color: #ffffff;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
}

.mobile-menu-divider {
    height: 1px;
    background-color: var(--grey-border);
    margin: 24px 0;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* --- Hero Section --- */
.hero-split {
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1.2;
}

.main-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* --- Button Pill --- */
.btn-neon-pill {
    display: inline-block;
    background: linear-gradient(145deg, var(--neon-gradient-start) 0%, var(--neon-gradient-end) 100%);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0, 198, 255, 0.25);
    transition: var(--transition-fast);
}

.btn-neon-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 198, 255, 0.45);
}

/* --- Philosophy Section --- */
.philosophy-section {
    padding: 100px 0;
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
    background: rgba(255, 255, 255, 0.01);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2f 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-left h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.philosophy-left p {
    font-size: 1.1rem;
    max-width: 600px;
}

.philosophy-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.philosophy-right .philosophy-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
}

.philosophy-right .philosophy-card h3 {
    margin-bottom: 0;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--neon-blue);
    padding: 28px 32px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.08);
}

.philosophy-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.2);
}

.philosophy-card-content {
    flex: 1;
}

.philosophy-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.philosophy-card-media {
    width: 115px;
    height: 115px;
    min-width: 115px;
    border-radius: 16px;
    background: #0d111a;
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.philosophy-card:hover .philosophy-card-media {
    border-color: var(--neon-blue);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.25);
}

.control-svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-card:hover .control-svg {
    transform: scale(1.04);
}

@media (max-width: 540px) {
    .philosophy-card {
        padding: 20px;
        gap: 16px;
    }
    .philosophy-card-media {
        width: 80px;
        height: 80px;
        min-width: 80px;
        border-radius: 12px;
    }
}

/* ============================================================
   Interactive Control Card SVG Loop Animations (6s loop cycle)
   Actions initiate every 3 seconds
   ============================================================ */

/* --- Card 1: Resize & Drag Animation --- */
@keyframes animResizeDrag {
    0%, 10% {
        transform: translate(0px, 0px) scale(1);
    }
    30%, 55% {
        transform: translate(-26px, 16px) scale(1.22);
    }
    75%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes animTrailPulse {
    0%, 10% {
        opacity: 0.2;
        stroke-dashoffset: 0;
    }
    30%, 55% {
        opacity: 0.85;
        stroke-dashoffset: 12;
    }
    75%, 100% {
        opacity: 0.2;
        stroke-dashoffset: 0;
    }
}

.anim-floating-pip {
    transform-origin: 79px 54px;
    animation: animResizeDrag 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
}

.anim-trail {
    animation: animTrailPulse 6s ease-in-out infinite;
}

/* --- Card 2: Instant Swap Animation --- */
@keyframes animSwapBgFeed {
    0%, 12% {
        stroke: #38BDF8;
        fill: #121622;
    }
    26%, 60% {
        stroke: #FF8A65;
        fill: #1a151f;
    }
    74%, 100% {
        stroke: #38BDF8;
        fill: #121622;
    }
}

@keyframes animSwapPipFeed {
    0%, 12% {
        stroke: #FF8A65;
        fill: rgba(255, 138, 101, 0.2);
    }
    26%, 60% {
        stroke: #38BDF8;
        fill: rgba(56, 189, 248, 0.2);
    }
    74%, 100% {
        stroke: #FF8A65;
        fill: rgba(255, 138, 101, 0.2);
    }
}

@keyframes animSwapDotBg {
    0%, 12% {
        fill: #38BDF8;
    }
    26%, 60% {
        fill: #FF8A65;
    }
    74%, 100% {
        fill: #38BDF8;
    }
}

@keyframes animSwapDotPip {
    0%, 12% {
        fill: #FF8A65;
    }
    26%, 60% {
        fill: #38BDF8;
    }
    74%, 100% {
        fill: #FF8A65;
    }
}

@keyframes animTapRipple {
    0%, 8% {
        transform: scale(0.6);
        opacity: 0;
    }
    14% {
        transform: scale(1.1);
        opacity: 1;
    }
    22% {
        transform: scale(1.7);
        opacity: 0;
    }
    24%, 56% {
        transform: scale(0.6);
        opacity: 0;
    }
    62% {
        transform: scale(1.1);
        opacity: 1;
    }
    70% {
        transform: scale(1.7);
        opacity: 0;
    }
    72%, 100% {
        transform: scale(0.6);
        opacity: 0;
    }
}

.anim-swap-bg {
    animation: animSwapBgFeed 6s ease infinite;
}
.anim-badge-bg {
    animation: animSwapBgFeed 6s ease infinite;
}
.anim-dot-bg {
    animation: animSwapDotBg 6s ease infinite;
}

.anim-swap-pip {
    animation: animSwapPipFeed 6s ease infinite;
}
.anim-dot-pip {
    animation: animSwapDotPip 6s ease infinite;
}

.anim-tap-ripple {
    transform-origin: 81px 51px;
    animation: animTapRipple 6s ease-out infinite;
}

/* --- Card 3: Invert Split Screen Animation --- */
@keyframes animSplitMoveTop {
    0%, 10% {
        transform: translateY(0px);
    }
    30%, 55% {
        transform: translateY(56px);
    }
    75%, 100% {
        transform: translateY(0px);
    }
}

@keyframes animSplitMoveBottom {
    0%, 10% {
        transform: translateY(0px);
    }
    30%, 55% {
        transform: translateY(-56px);
    }
    75%, 100% {
        transform: translateY(0px);
    }
}

@keyframes animInvertCenterRotate {
    0%, 10% {
        transform: rotate(0deg);
    }
    30%, 55% {
        transform: rotate(180deg);
    }
    75%, 100% {
        transform: rotate(360deg);
    }
}

.anim-split-top {
    animation: animSplitMoveTop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
}

.anim-split-bottom {
    animation: animSplitMoveBottom 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
}

.anim-invert-center {
    animation: animInvertCenterRotate 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: 60px 60px;
    will-change: transform;
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
}

.features-header {
    margin-bottom: 60px;
}

.features-header h2 {
    font-size: 2.8rem;
    line-height: 1.1;
}

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

.feature-box {
    background: var(--grey-dark);
    border: 1px solid var(--grey-border);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    will-change: transform;
}

.feature-box:hover {
    border-color: var(--neon-blue);
}

.feature-preview {
    aspect-ratio: 16/10;
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--grey-border);
}

.preview-rear {
    width: 100%;
    height: 100%;
    background-image: url('assets/scenery_rear.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.preview-front {
    background-image: url('assets/portrait_front.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: 2;
}

.preview-pip .preview-front {
    width: 84px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    top: 12px;
    right: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.preview-split-v .preview-rear {
    height: 50%;
}
.preview-split-v .preview-front {
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.preview-split-h .preview-rear {
    width: 50%;
}
.preview-split-h .preview-front {
    width: 50%;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.preview-dual .preview-rear {
    width: 42%;
    height: 70%;
    top: 15%;
    left: 6%;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.preview-dual .preview-front {
    width: 42%;
    height: 70%;
    top: 15%;
    left: 52%;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    white-space: nowrap;
}

.feature-box-content p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Use Cases Section --- */
.uses-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--grey-border);
}

.uses-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-card {
    background: rgba(9, 12, 18, 0.6);
    border: 1px solid var(--grey-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.use-card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.use-card-content h3 {
    font-size: 1.2rem;
    color: #ffffff;
}

/* --- Privacy Section --- */
.privacy-section {
    padding: 130px 0 100px;
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
}

.privacy-intro {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.privacy-intro p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--grey-border);
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-fast);
}

.privacy-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
}

.privacy-icon {
    width: 48px;
    height: 48px;
    background: rgba(100, 181, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--neon-blue);
}

.privacy-card h3 {
    font-size: 1.1rem;
    color: #ffffff;
}

.privacy-card p {
    font-size: 0.9rem;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
}

.faq-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--grey-border);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.05rem;
    color: #ffffff;
    text-transform: none;
    letter-spacing: normal;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--grey-text);
    transition: var(--transition);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 24px;
}

.faq-content p {
    padding-bottom: 24px;
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--neon-blue);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--neon-blue);
}

.faq-item.active .faq-content {
    max-height: 200px;
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--grey-border);
    background: #090C12;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--grey-text);
}

.roboyaso-link {
    font-weight: 700;
    color: var(--neon-blue);
}

.roboyaso-link:hover {
    text-decoration: underline;
}

/* --- Contact & Success Page --- */
.contact-page {
    position: relative;
}

.contact-hero {
    padding: 180px 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--grey-text);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-form {
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid var(--grey-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--grey-border);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--grey-text);
    font-size: 1rem;
    font-weight: 400;
    pointer-events: none;
    transition: transform 0.25s ease, font-size 0.25s ease, color 0.25s ease;
    transform-origin: 0 0;
}

.form-textarea ~ .form-label {
    top: 18px;
}

/* Floating Label Logic using :placeholder-shown */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-36px) scale(0.85);
    color: var(--neon-blue);
}

.form-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

/* Hidden spam trap */
.hidden-field {
    display: none;
}

/* Success Page Styling */
.success-hero {
    padding: 200px 0 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.success-icon {
    font-size: 5rem;
    color: var(--neon-blue);
    margin-bottom: 24px;
    line-height: 1;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    :root {
        --navbar-height: 76px;
    }
    section:not(.visually-hidden) {
        opacity: 1 !important;
        transition: none !important;
        will-change: auto !important;
    }
    .demo-container {
        perspective: none;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .phone-mockup,
    .phone-mockup:hover {
        transform: none !important;
        transition: none !important;
        margin: 0 auto !important;
    }
    .container-full { padding: 0 32px; }
    .hero-split { padding-top: 150px; padding-bottom: 70px; flex-direction: column; text-align: center; gap: 40px; }
    .demo-controls { margin-top: 24px; margin-bottom: 48px; }
    .features-section { padding-top: 60px; }
    .hero-subtext { margin: 0 auto 40px; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .uses-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }
    html {
        scroll-padding-top: calc(var(--navbar-height) + 12px);
    }
    section[id] {
        scroll-margin-top: calc(var(--navbar-height) + 12px);
    }
    .navbar {
        padding: 10px 0;
    }
    .nav-brand img {
        height: 42px;
        width: 42px;
        border-radius: 10px;
    }
    .brand-text {
        font-size: 1.3rem;
    }
    .nav-menu { display: none; }
    .hamburger-btn { display: flex; }
    .hero-split { padding-top: 96px; padding-bottom: 50px; }
    .contact-hero { padding: 96px 0 60px; }
    .success-hero { padding: 100px 0 60px; }
    .demo-controls { margin-bottom: 60px; }
    .features-section { padding-top: 60px; }
    .main-headline { font-size: 2.8rem; }
    .huge-title { font-size: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .uses-grid { grid-template-columns: 1fr; }
    .privacy-grid { grid-template-columns: 1fr; }
    .pricing-table-container { border-radius: 18px; margin: 28px 0; }
    .pricing-table { table-layout: fixed; width: 100%; }
    .pricing-table th, .pricing-table td { padding: 14px 10px; font-size: 0.84rem; line-height: 1.3; vertical-align: middle; }
    .pricing-table th { font-size: 0.75rem; letter-spacing: 0.02em; }
    .pricing-table th:first-child, .pricing-table td.feature-name { width: 48%; padding-left: 14px; font-size: 0.82rem; }
    .pricing-table th.col-free, .pricing-table td.col-free { width: 26%; padding: 14px 6px; font-size: 0.78rem; text-align: center; }
    .pricing-table th.col-pro, .pricing-table td.col-pro { width: 26%; padding: 14px 6px; font-size: 0.78rem; text-align: center; }
    .pricing-table .check-icon { font-size: 1rem; }
    .pricing-table-footer-text { font-size: 0.9rem; padding: 0 8px; }
    .pricing-table-section { padding: 90px 0 80px; }
    .pricing-cta-wrap { margin-top: 36px; margin-bottom: 16px; }
    .privacy-section { padding: 90px 0 60px; }
    .footer-row { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- Interactive Demo & Mockups --- */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    width: 100%;
}

.demo-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 290px;
    height: 580px;
    margin: 0 auto;
    border-radius: 40px;
    border: 12px solid #1E2330;
    position: relative;
    background: #000;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s var(--transition);
    transform-style: preserve-3d;
}

.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-5px);
}

.phone-camera {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d0f14;
    z-index: 10;
    border: 2px solid #1e2330;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #090c12;
}

/* Base feeds */
.rear-feed, .front-feed {
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rear-feed {
    width: 100%;
    height: 100%;
    background-image: url('assets/scenery_rear.jpg');
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.front-feed {
    background-image: url('assets/portrait_front.jpg');
    position: absolute;
    z-index: 2;
}

/* Layout State 1: PiP */
.phone-screen.layout-pip .rear-feed {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.phone-screen.layout-pip .front-feed {
    width: 80px;
    height: 120px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    top: 24px;
    right: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Layout State 2: Split Vertical */
.phone-screen.layout-split-v .rear-feed {
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
}
.phone-screen.layout-split-v .front-feed {
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
    border-radius: 0;
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

/* Layout State 3: Split Horizontal */
.phone-screen.layout-split-h .rear-feed {
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
}
.phone-screen.layout-split-h .front-feed {
    width: 50%;
    height: 100%;
    top: 0;
    left: 50%;
    border-radius: 0;
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

/* Layout State 4: Dual Files */
.phone-screen.layout-dual .rear-feed {
    width: 44%;
    height: 60%;
    top: 20%;
    left: 4%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.phone-screen.layout-dual .front-feed {
    width: 44%;
    height: 60%;
    top: 20%;
    left: 52%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.phone-screen.layout-dual::after {
    content: 'rear_camera.mp4';
    position: absolute;
    bottom: 12%;
    left: 4%;
    width: 44%;
    text-align: center;
    font-size: 0.6rem;
    color: var(--grey-text);
    z-index: 3;
    font-family: monospace;
}
.phone-screen.layout-dual::before {
    content: 'front_camera.mp4';
    position: absolute;
    bottom: 12%;
    left: 52%;
    width: 44%;
    text-align: center;
    font-size: 0.6rem;
    color: var(--grey-text);
    z-index: 3;
    font-family: monospace;
}



/* Controls for Demo */
.demo-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
}

.demo-btn {
    --button-bg: #2B2B2D;
    background: var(--button-bg);
    border: 2px solid transparent;
    color: #FFFFFF;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.demo-btn span {
    white-space: nowrap;
}

.demo-btn svg {
    flex-shrink: 0;
    display: block;
}

.demo-btn:hover {
    transform: translateY(-2px);
    background: #3E3E42;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Specific active border & shadow color based on data-layout */
.demo-btn[data-layout="pip"].active {
    border-color: #4DB6AC;
    box-shadow: 0 0 16px rgba(77, 182, 172, 0.35);
}

.demo-btn[data-layout="split-v"].active {
    border-color: #42A5F5;
    box-shadow: 0 0 16px rgba(66, 165, 245, 0.35);
}

.demo-btn[data-layout="split-h"].active {
    border-color: #BA68C8;
    box-shadow: 0 0 16px rgba(186, 104, 200, 0.35);
}

.demo-btn[data-layout="dual"].active {
    border-color: #FF8A65;
    box-shadow: 0 0 16px rgba(255, 138, 101, 0.35);
}

@media (max-width: 480px) {
    .demo-controls {
        gap: 8px;
        max-width: 290px;
        margin: 20px auto 0;
    }
    .demo-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
        gap: 6px;
    }
    .demo-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* --- Pricing Table (Free/Pro) --- */
.pricing-table-section {
    padding: 130px 0 110px;
    border-bottom: 1px solid var(--grey-border);
}

.pricing-cta-wrap {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-table-container {
    width: 100%;
    margin: 40px 0;
    background: rgba(18, 22, 33, 0.3);
    border: 1px solid var(--grey-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th, .pricing-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--grey-border);
}

.pricing-table th {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.pricing-table td {
    color: var(--grey-text);
    font-size: 0.95rem;
}

.pricing-table td.feature-name {
    color: #ffffff;
    font-weight: 500;
}

.pricing-table th.col-free, .pricing-table td.col-free {
    width: 25%;
    text-align: center;
}

.pricing-table th.col-pro, .pricing-table td.col-pro {
    width: 25%;
    text-align: center;
    background: rgba(100, 181, 246, 0.02);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table td.col-pro {
    color: #ffffff;
}

.pricing-table th.col-pro {
    color: var(--neon-blue);
    font-weight: 900;
}

.pricing-table .check-icon {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-table .cross-icon {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.1rem;
}

.pricing-table-footer-text {
    text-align: center;
    font-size: 1rem;
    color: var(--white);
    margin-top: 16px;
    font-weight: 500;
}

/* --- Compatibility Section --- */
.compatibility-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--grey-border);
}

.compatibility-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--grey-border);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 750px;
    margin: 40px auto 0;
    backdrop-filter: blur(8px);
}

.compatibility-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.compatibility-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

@media (max-width: 480px) {
    :root {
        --navbar-height: 56px;
    }
    html {
        scroll-padding-top: calc(var(--navbar-height) + 8px);
    }
    section[id] {
        scroll-margin-top: calc(var(--navbar-height) + 8px);
    }
    .navbar {
        padding: 8px 0;
    }
    .nav-brand img {
        height: 36px;
        width: 36px;
        border-radius: 8px;
    }
    .brand-text {
        font-size: 1.15rem;
    }
    .container-full {
        padding: 0 16px;
    }
    .hero-split {
        padding-top: 84px;
        padding-bottom: 40px;
    }
    .contact-hero {
        padding: 84px 0 50px;
    }
    .success-hero {
        padding: 90px 0 50px;
    }
    .phone-mockup {
        width: 240px;
        height: 480px;
        border-width: 8px;
        border-radius: 30px;
    }
    .phone-screen.layout-pip .front-feed {
        width: 65px;
        height: 98px;
        border-radius: 10px;
        top: 16px;
        right: 14px;
    }
    .pricing-table-container {
        border-radius: 14px;
        margin: 20px 0;
    }
    .pricing-table th, .pricing-table td {
        padding: 10px 4px;
        font-size: 0.74rem;
        line-height: 1.25;
    }
    .pricing-table th {
        font-size: 0.65rem;
        padding: 10px 2px;
    }
    .pricing-table th:first-child, .pricing-table td.feature-name {
        width: 48%;
        font-size: 0.74rem;
        padding-left: 8px;
    }
    .pricing-table th.col-free, .pricing-table td.col-free {
        width: 26%;
        padding: 10px 2px;
        font-size: 0.68rem;
    }
    .pricing-table th.col-pro, .pricing-table td.col-pro {
        width: 26%;
        padding: 10px 2px;
        font-size: 0.68rem;
    }
    .pricing-table .check-icon {
        font-size: 0.88rem;
    }
    .pricing-table-footer-text {
        font-size: 0.82rem;
        padding: 0 4px;
    }
    .pricing-table-section {
        padding: 75px 0 65px;
    }
    .pricing-cta-wrap {
        margin-top: 30px;
        margin-bottom: 12px;
    }
    .privacy-section {
        padding: 75px 0 50px;
    }
    .compatibility-box {
        padding: 20px 16px;
    }
}
