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

:root {
    --bg-base: #030303;
    --bg-surface: rgba(15, 15, 15, 0.4);
    --bg-surface-hover: rgba(25, 25, 25, 0.6);
    --accent-red: #ea3323;
    --accent-dark: #8b130a;
    --text-main: #f3f3f3;
    --text-muted: #888888;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(234, 51, 35, 0.3);
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 51, 35, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    transition: width 0.3s, height 0.3s;
    will-change: transform;
}

.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: top 0.4s ease;
}

.floating-nav.hidden {
    top: -100px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-content .logo img {
    height: 32px;
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.15s ease-out;
    position: relative;
    padding: 0.5rem;
}

.magnetic {
    transition: transform 0.15s ease-out, color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4px;
    border: 1px solid var(--border-glass);
    margin-right: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s;
    padding: 0.5rem;
}

.btn-top:hover {
    color: var(--text-main);
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.btn-purchase-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-dark));
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(234, 51, 35, 0.3);
    transition: all 0.3s;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.btn-purchase-nav:hover {
    box-shadow: 0 0 30px rgba(234, 51, 35, 0.6);
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(234, 51, 35, 0.12);
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(234, 51, 35, 0.5);
    transition: all 0.25s;
}

.btn-purchase svg {
    color: var(--accent-red);
    stroke: var(--accent-red);
}

.btn-purchase:hover {
    background: rgba(234, 51, 35, 0.22);
    border-color: var(--accent-red);
}

.main-container {
    position: relative;
    z-index: 10;
}

.section-padding {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-red));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    transition: all 0.3s;
}

.text-outline:hover {
    color: var(--accent-red);
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 20px rgba(234, 51, 35, 0.5);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 12rem;
    position: relative;
}

.hero-typography {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.glitch-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.subtitle-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(234, 51, 35, 0.1);
    border: 1px solid rgba(234, 51, 35, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #ff6b6b;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
    animation: pulse 1.5s infinite;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.hero-action-dock {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    padding: 0.5rem 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 3.5rem;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dock-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dock-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.dock-item i {
    color: var(--accent-red);
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.dock-primary {
    background: rgba(234, 51, 35, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(234, 51, 35, 0.2);
}

.dock-primary:hover {
    background: rgba(234, 51, 35, 0.2);
    color: #fff;
    border-color: rgba(234, 51, 35, 0.5);
    box-shadow: 0 0 15px rgba(234, 51, 35, 0.3);
}

.dock-primary i {
    opacity: 1;
}

.hero-visual {
    position: relative;
    max-width: 1200px;
    width: 90vw;
    margin: 0 auto;
    perspective: 1200px;
}

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.app-mockup {
    transform: rotateX(5deg) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-mockup:hover {
    transform: rotateX(0deg) scale(1);
    border-color: var(--border-glass-hover);
}

.mockup-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.mac-controls {
    display: flex;
    gap: 6px;
}

.mac-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.mac-controls span:nth-child(1) {
    background: #ff5f56;
}

.mac-controls span:nth-child(2) {
    background: #ffbd2e;
}

.mac-controls span:nth-child(3) {
    background: #27c93f;
}

.mockup-title {
    flex-grow: 1;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.app-image {
    width: 100%;
    display: block;
}

.console-body {
    height: 70vh;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.55;
    padding: 0.75rem 1rem;
    background: #080808;
    scrollbar-width: thin;
    scrollbar-color: rgba(234, 51, 35, 0.3) transparent;
    user-select: text;
    -webkit-user-select: text;
}

.console-body::-webkit-scrollbar {
    width: 6px;
}

.console-body::-webkit-scrollbar-track {
    background: transparent;
}

.console-body::-webkit-scrollbar-thumb {
    background: rgba(234, 51, 35, 0.3);
    border-radius: 3px;
}

.console-entry {
    padding: 0.1rem 0;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.console-entry .time {
    color: #555;
}

.console-entry .level-info {
    color: #4ade80;
}

.console-entry .level-warn {
    color: #facc15;
}

.console-entry .level-ok {
    color: #22d3ee;
}

.console-entry .msg {
    color: #aaa;
}

.console-entry .highlight {
    color: var(--accent-red);
}

.console-entry .count {
    color: #c084fc;
}

.float-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}

.float-element:nth-child(2) {
    top: -20px;
    right: -40px;
}

.float-element:nth-child(3) {
    bottom: 40px;
    left: -50px;
}

.delay-1 {
    animation-delay: 0s;
}

.delay-2 {
    animation-delay: -3s;
}

.icon-accent {
    color: var(--accent-red);
    width: 32px;
    height: 32px;
}

.mini-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mini-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-item {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 51, 35, 0.4);
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(234, 51, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    color: var(--accent-red);
}

.bento-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.bento-header-flex {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.icon-massive {
    width: 150px;
    height: 150px;
    stroke-width: 0.5;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    right: -20px;
    bottom: -20px;
    transform: rotate(-15deg);
}

.modes-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-top: 1.5rem;
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.modes-badge {
    margin-bottom: 1rem;
}

.no-api-card {
    position: relative;
    overflow: hidden;
}

.mode-card {
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mode-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
}

.mode-icon {
    width: 56px;
    height: 56px;
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-icon i {
    width: 28px;
    height: 28px;
}

.danger-icon {
    color: var(--accent-red);
    background: rgba(234, 51, 35, 0.1);
    border-color: rgba(234, 51, 35, 0.3);
}

.mode-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.mode-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.mode-badge.danger {
    background: rgba(234, 51, 35, 0.15);
    border-color: rgba(234, 51, 35, 0.4);
    color: #ff6b6b;
    box-shadow: 0 0 10px rgba(234, 51, 35, 0.2);
}

.mode-features {
    list-style: none;
    margin-bottom: auto;
}

.mode-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #d1d1d1;
    line-height: 1.4;
}

.mode-features li i {
    flex-shrink: 0;
    margin-top: 3px;
}

.mode-features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.2rem;
    margin-bottom: auto;
}

.feature-col h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    opacity: 0.6;
}

.feature-col ul {
    list-style: none;
}

.feature-col li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: #cfcfcf;
}

.feature-col li i {
    width: 18px;
    height: 18px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.tech-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tags span {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

.tech-tags span.danger-tag {
    color: #ff6b6b;
    border-color: rgba(234, 51, 35, 0.2);
    background: rgba(234, 51, 35, 0.05);
}

.mt-auto {
    margin-top: auto;
}

.mode-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -40px;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    transform: rotate(15deg);
}

.mode-bg-icon i {
    width: 300px;
    height: 300px;
    stroke-width: 1;
}

.danger-bg {
    color: rgba(234, 51, 35, 0.03);
}

.premium-modules-section {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 5rem;
}

.modules-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stack-card {
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
}

.stack-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stack-left {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.stack-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.stack-icon i {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.stack-left h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin: 0 0 0.8rem;
    color: #fff;
    text-transform: uppercase;
}

.stack-left p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.stack-right {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.clean-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #c0c0c0;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.clean-list li:last-child {
    border-bottom: none;
}

.clean-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

.clean-list li i {
    width: 18px;
    height: 18px;
    color: #555;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.clean-list li:hover i {
    color: var(--accent-red);
}

.spotlight-card {
    position: relative;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(234, 51, 35, 0.1), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.func-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.func-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

.func-card-left h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.func-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.func-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.func-icon-wrap i,
.func-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.func-card-right {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.func-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.func-feature i,
.func-feature svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-red);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.split-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-ticks {
    list-style: none;
}

.feature-ticks li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check {
    color: var(--accent-red);
    width: 24px;
}

.image-perspective {
    padding: 10px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.image-perspective:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.image-perspective img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.perspective-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent-red);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

.gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
}

.gallery-main img {
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.gallery-click-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 8px;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #fff;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.gallery-main:hover .gallery-click-hint {
    opacity: 1;
}

.gallery-thumbs {
    display: flex;
    gap: 0.6rem;
}

.gallery-thumb {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;
}

.gallery-thumb.active {
    border-color: var(--accent-red);
    opacity: 1;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb img {
    width: 100%;
    height: 52px;
    object-fit: cover;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox-img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    display: block;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(234, 51, 35, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(234, 51, 35, 0.3);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.price-block {
    margin: 1.5rem 0 1rem;
}

.price-main {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.price-renewal {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.trial-block {
    margin: 1.5rem 0;
    display: inline-flex;
}

.trial-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.trial-label i {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

.trial-label i {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

.trial-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.price-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-trial:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.btn-trial i,
.btn-trial svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 1.2rem 5%;
    text-align: center;
}

.footer .logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 0.3rem;
}

.footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 51, 35, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(234, 51, 35, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(234, 51, 35, 0);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-item.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.tall {
        grid-row: span 1;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .mode-features-grid {
        grid-template-columns: 1fr;
    }

    .mode-bg-icon i {
        width: 200px;
        height: 200px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .float-element {
        display: none;
    }

    .glitch-text {
        font-size: 6rem;
    }

    .stack-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .func-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.wide {
        grid-column: span 1;
    }

    .nav-links {
        display: none;
    }

    .glitch-text {
        display: none;
    }
}