:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-grey: #aaaaaa;
    --samsung-blue: #1c69ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.after-text {
    display: none !important;
}
.nav-links-container {
    padding: 20px;
    display: flex;
    gap: 40px;
    background-color: #ffffff;
    font-family: 'SamsungOne', 'Segoe UI', Roboto, sans-serif;
}

.lux-link {
    text-decoration: none;
    color: #1428a0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.lux-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background-color: #1428a0;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lux-link:hover {
    color: #0c1a6d;
}

.lux-link:hover::after {
    width: 100%;
}

.lux-link .arrow {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.lux-link:hover .arrow {
    transform: translateX(-5px);
}

.external-icon {
    width: 14px;
    height: 14px;
    margin-left: 8px;
    fill: currentColor;
}

.site-link {
    padding: 8px 16px;
    border: 1px solid rgba(20, 40, 160, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.site-link:hover {
    background-color: rgba(20, 40, 160, 0.05);
    border-color: rgba(20, 40, 160, 1);
}

.site-link::after {
    display: none;
}

/* This ensures that when the body has the .mode-after class:
   1. The 'Before' text is hidden 
   2. The 'After' text is shown */
body.mode-after .before-text {
    display: none !important;
}

body.mode-after .after-text {
    display: block !important;
    text-align: center;
}
body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Samsung Sharp Sans', 'Segoe UI', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

header {
    background: var(--text-white);
    color: var(--bg-black);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

nav {
    display: flex;
    gap: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    width: 70px;
    transition: opacity 0.3s;
}

.nav-item:hover { opacity: 0.7; }

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.active {
    border-bottom: 2px solid var(--samsung-blue);
    padding-bottom: 5px;
}

section {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    max-width: 800px;
    line-height: 1.1;
}
#control {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    padding: 20px 0;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

p {
    color: var(--text-grey);
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.input-lag-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.lag-box {
    flex: 1;
    position: relative;
}

.lag-box img {
    width: 100%;
    border: 1px solid #333;
    border-radius: 4px;
}

.lag-label {
    margin-top: 20px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.off { color: #fff; }
.on { color: var(--samsung-blue); }

.split-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1.2;
}

.split-image img {
    width: 100%;
    box-shadow: 0 0 50px rgba(255,255,255,0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    fill: white;
    margin-bottom: 15px;
}
h3{
    margin-top: 15px;
    margin-bottom: 15px;
}
.demo {
    position: relative;
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    border-radius: 2px;
}

.demo:hover {
    background-color: var(--text-white);
    color: var(--bg-black);
}

.demo::after {
    content: attr(data-tooltip); 
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 100;
}

.demo::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo:hover::after, 
.demo:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 130%;
}

.demo:hover::before {
    bottom: 110%;
}

.toggle-btn {
    background-color: var(--samsung-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
    background: linear-gradient(90deg, #ff0000, #990000, #ff4d4d, #ff0000);
  background-size: 300% 100%;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: glowShift 3s infinite linear;
}

.toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(255, 0, 0, 1);
}

.toggle-btn:active {
  transform: scale(0.98);
}


.effect-container {
    position: relative;
    padding: 19px;
    transition: all 0.4s ease-in-out;
    border: 4px solid transparent;
}

.mode-after .effect-container {
    border: 4px dotted #25c63b;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: scale(1.02);
}

.effect-container img {
    transition: filter 0.4s ease;
}

body:not(.mode-after) .effect-container img {
    filter: grayscale(30%) brightness(80%);
}

.mode-after .effect-container img {
    filter: grayscale(0%) brightness(100%);
}

.after-text {
    display: none;
}

.mode-after .before-text {
    display: none;
}

.mode-after .after-text {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.subscribe-container {
    padding: 80px 10%;
    background-color: #000;
    display: flex;
    justify-content: center;
}

.subscribe-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: linear-gradient(145deg, #111111 0%, #000000 100%);
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    margin-top: -90px;
}

.subscribe-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--samsung-blue);
}

.subscribe-content {
    flex: 1;
    z-index: 2;
}

.sub-tag {
    color: var(--samsung-blue);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.subscribe-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: left;
}

.subscribe-content p {
    color: var(--text-grey);
    margin-bottom: 30px;
    text-align: left;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.subscribe-form input:focus {
    border-color: var(--samsung-blue);
}

.subscribe-form button {
    background-color: var(--samsung-blue);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.subscribe-form button:hover {
    background-color: #004ecc;
    transform: translateY(-2px);
}

.comparison-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    font-family: sans-serif;
}

.top-image-row {
    display: flex;
    width: 100%;
    padding-bottom: 20px;
    background-color: #ffffff;
}

.empty-spacer {
    flex: 0 0 200px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 150px;
    height: auto;
}

.comparison-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.comparison-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.table-title {
     text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    padding: 20px 0; 
    color: black;
}

.top-image-row {
    display: flex;
    margin-bottom: 10px;
}

.empty-spacer {
    flex: 0 0 220px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.image-container img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #000;
}

.row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.cell {
    flex: 1;
    padding: 24px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.cell.label {
    flex: 0 0 220px;
    justify-content: flex-start;
    text-align: left;
    font-weight: bold;
    color: #000;
    padding-left: 10px;
}

.row.header {
    border-bottom: 2px solid #000;
    background-color: #fff;
}

.row.header .cell {
    font-weight: 800;
    font-size: 16px;
}

.info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 6px;
    color: #666;
    cursor: pointer;
}

.footer-row {
    border-bottom: none;
    padding-top: 20px;
}
.buy-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s ease;
}

.buy-button:hover {
    background-color: #333;
}
.footer-row {
    border-bottom: none !important;
    margin-top: 20px;
    padding-bottom: 40px;
}

.footer-row .cell {
    background-color: transparent;
    padding: 10px 15px;
}

.buy-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: 1px solid #000;
}

.buy-button:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.after-text {
    display: none;
}

.mode-after .after-text {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mode-after .before-text {
    display: none;
}
@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
    }
    .subscribe-card {
        padding: 30px 20px;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .split-section { flex-direction: column; text-align: center; }
    h1 { font-size: 2rem; }
    nav { display: none; }
}

