:root {
    --bg-color: #0A0A0B;
    --card-bg: #141517;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1A8;
    
    --primary-color: #6366F1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --custom: #8B5CF6;
    
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-speed: 0.3s;
}

/* Light Theme Variables */
body.light-theme {
    --bg-color: #F1F5F9;           /* Slate 100 */
    --card-bg: #FFFFFF;
    --border-color: rgba(15, 23, 42, 0.1);
    --text-primary: #0F172A;        /* Slate 900 */
    --text-secondary: #475569;      /* Slate 600 */
    --primary-glow: rgba(99, 102, 241, 0.2);
}

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

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

/* Typography & Utilities */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; margin-bottom: 3rem; text-align: center; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--text-secondary); font-size: 1.1rem; }

span { color: var(--primary-color); }
.w-full { width: 100%; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.shadow-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    background-clip: text; /* Fixed lint: standard property */
    -webkit-text-fill-color: transparent;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px var(--primary-glow);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-color);
}

nav .nav-btn {
    padding: 0.5rem 1.25rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s;
    margin-right: 0.5rem;
}

body.light-theme .theme-toggle {
    background: rgba(15, 23, 42, 0.05);
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

body.light-theme .theme-toggle .icon-sun { display: block; }
body.light-theme .theme-toggle .icon-moon { display: none; }

/* Light Theme Adaptations */
body.light-theme .hero-content {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.1);
}

body.light-theme .navbar {
    background: rgba(241, 245, 249, 0.82);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

body.light-theme .logo-text {
    background: linear-gradient(to right, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .btn-secondary {
    background: #E2E8F0;
    color: #475569;
}

body.light-theme .feature-card {
    background: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body.light-theme .pricing-card {
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

body.light-theme footer {
    background: #E2E8F0;
}

/* Modal Light Theme Adjustments */
body.light-theme .modal-dark-vip {
    background: #FFFFFF;
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

body.light-theme .vip-title-row h3 {
    color: #0F172A;
}

body.light-theme .vip-input {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #0F172A;
}

body.light-theme .vip-btn {
    background: #E2E8F0;
    color: #475569;
}

body.light-theme .vip-btn.primary {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
}

body.light-theme .modal-welcome {
    background: #FFFFFF;
    color: #0F172A;
}

body.light-theme .welcome-title {
    color: #6366F1;
}

body.light-theme .welcome-text {
    color: #475569;
}

body.light-theme .welcome-links a {
    color: #6366F1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(10,10,11,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto; /* Required to catch the hover/click events */
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
    position: relative;
    pointer-events: none;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #8B5CF6;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero p {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    pointer-events: auto; /* Ensure buttons are clickable */
}

/* Playground Section */
.playground {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(20,21,23,0.5) 100%);
}

.demo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-controls h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.demo-controls p {
    margin-bottom: 2.5rem;
}

.category-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trigger-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.trigger-btn:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.trigger-btn.success:hover { border-color: var(--success); box-shadow: 0 0 15px rgba(16,185,129,0.1); }
.trigger-btn.error:hover { border-color: var(--error); box-shadow: 0 0 15px rgba(239,68,68,0.1); }
.trigger-btn.warning:hover { border-color: var(--warning); box-shadow: 0 0 15px rgba(245,158,11,0.1); }
.trigger-btn.info:hover { border-color: var(--info); box-shadow: 0 0 15px rgba(59,130,246,0.1); }
.trigger-btn.custom:hover { border-color: var(--custom); box-shadow: 0 0 15px rgba(139,92,246,0.1); }

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}
.success .btn-icon { background: rgba(16,185,129,0.2); color: var(--success); }
.error .btn-icon { background: rgba(239,68,68,0.2); color: var(--error); }
.warning .btn-icon { background: rgba(245,158,11,0.2); color: var(--warning); }
.info .btn-icon { background: rgba(59,130,246,0.2); color: var(--info); }
.custom .btn-icon { background: rgba(139,92,246,0.2); color: var(--custom); }

/* Device Mockup */
.device-container {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.device-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.device-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 5px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

.mock-icons {
    display: flex;
    gap: 5px;
}

.mock-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
}

.mock-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-card-line {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.w-half { width: 50%; }
.w-three-quarter { width: 75%; }

.mock-action {
    margin-top: auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

/* App Background inside Mockup */
.app-bg {
    background: #111;
    background-image: 
        radial-gradient(circle at top right, rgba(99,102,241,0.2) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(139,92,246,0.2) 0%, transparent 50%);
}

/* Modal Overlay Container */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: background 0.2s ease, backdrop-filter 0.2s ease, opacity 0.2s ease;
}

.modal-backdrop.active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

/* Base Modal Style - App Reveal Animation */
.premium-modal {
    width: 90%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Start out small and lower down */
    transform: scale(0.85) translateY(50px);
    opacity: 0;
    /* Spring physics cubic-bezier for a bouncy, app-like pop, sped up */
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-backdrop.active .premium-modal {
    /* Pop to normal size and position with a tiny delay so the background blackens first */
    transform: scale(1) translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

/* App Loading Spinner Overlay */
.app-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #6366F1;
    border-radius: 50%;
    animation: spin 0.6s infinite linear;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-backdrop.loading .app-loader {
    opacity: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Dark VIP Modal --- */
.modal-dark-vip {
    background: #121315;
    border: 1px solid rgba(255,255,255,0.05);
}
.vip-header-img {
    height: 120px;
    background: linear-gradient(to bottom, rgba(18,19,21,0) 0%, #121315 100%), 
                url('https://i.pinimg.com/originals/bf/3b/61/bf3b619167a7911bfc464d6ce706f21e.jpg') center/cover no-repeat;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}
.vip-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vip-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vip-title-row h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}
.vip-locked {
    background: rgba(59,130,246,0.1);
    color: #3B82F6;
    border: 1px solid #3B82F6;
    border-radius: 99px;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: bold;
}
.vip-subtitle {
    color: #3B82F6;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}
.vip-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.8rem;
    text-align: center;
    outline: none;
    width: 100%;
}
.vip-hwid {
    text-align: center;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    margin-top: -5px;
}
.vip-btn-row {
    display: flex;
    gap: 10px;
}
.vip-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    background: #2A2B2E;
    color: white;
    border: none;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
}
.vip-btn.primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}
.vip-btn-full {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(to right, #8B5CF6, #6366F1);
    color: white;
    border: none;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
}

/* --- Light Theme Gate Modal --- */
.modal-light-gate {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: inset 0 0 0 2px rgba(99,102,241,0.2), 0 20px 40px rgba(0,0,0,0.3);
}
.light-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.light-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -5px;
}
.light-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}
.light-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}
.light-hwid {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.light-btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
}
.light-btn-ghost {
    flex: 1;
    background: #F3F4F6;
    color: #111827;
    border: none;
    border-radius: 24px;
    padding: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}
.light-btn-main {
    width: 100%;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* --- Welcome Overlay Modal --- */
.modal-welcome {
    background: #0B1115;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.welcome-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.welcome-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}
.welcome-text {
    color: #A1A1AA;
    font-size: 0.75rem;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.welcome-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.welcome-check input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
}
.welcome-check label {
    font-size: 0.8rem;
    color: #fff;
}
.welcome-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.welcome-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 8rem 5%;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

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

.feature-card .icon {
    font-size: 4rem; /* Increased from 2.5rem */
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    width: 90px; /* Increased from 60px */
    height: 90px; /* Increased from 60px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px; /* Make it slightly more rounded to match the larger size */
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.05); /* subtle inner glow */
}

/* Ensure any images placed inside the icon container scale correctly */
.feature-card .icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

/* Pricing Section */
.pricing {
    padding: 6rem 5% 8rem;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(99,102,241,0.05) 100%);
    position: relative;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    padding: 3rem;
    border-radius: 24px;
    text-align: left;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card .tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    filter: blur(15px);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-btn:hover::before {
    opacity: 0.4;
}

.social-btn.youtube:hover {
    background: #FF0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

.social-btn.telegram:hover {
    background: #0088CC;
    box-shadow: 0 0 25px rgba(0, 136, 204, 0.5);
}

.social-btn svg {
    transition: transform 0.3s;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

/* Reviews Section */
.reviews {
    padding: 6rem 5%;
    position: relative;
    background: linear-gradient(180deg, rgba(20,21,23,0.5) 0%, var(--bg-color) 100%);
}

.reviews-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 1rem 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: slide-reviews 40s linear infinite;
    align-items: flex-start; /* Ensure cards don't stretch tall */
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes slide-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

.review-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, color 1s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 350px;
    flex-shrink: 0;
    height: max-content;
}

.review-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: 22px;
  background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
  animation: spin-card 2.5s linear infinite;
}

.review-card::after {
  content: "";
  position: absolute;
  top: 5%;
  left: 0;
  right: 0;
  z-index: -2;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.9);
  filter: blur(20px);
  background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2);
  opacity: 0.65;
  transition: opacity .5s ease;
  animation: spin-card 2.5s linear infinite;
}

@keyframes spin-card {
  0% { --rotate: 0deg; }
  100% { --rotate: 360deg; }
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card:hover::before, .review-card:hover::after {
  animation: none;
  opacity: 0;
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
    min-height: calc(1.5em * 4); /* Force 4-line skeleton height even on short reviews */
    
    /* Clamp text to 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-card p.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.read-more-btn {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-info .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.reviewer-info .meta h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.reviewer-info .meta .role {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.stars {
    color: #F59E0B;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
}

/* Light Theme Adaptations for Reviews */
body.light-theme .reviews {
    background: transparent;
}

body.light-theme .review-card {
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

body.light-theme .review-card:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .demo-controls {
        text-align: center;
    }
    
    .device-mockup {
        transform: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    nav {
        display: none;
    }
}

/* Scroll Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Liquid Cursor */
@media (pointer: fine) {
    body, a, button, .trigger-btn {
        cursor: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-blob {
    width: 32px;
    height: 32px;
    background-color: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    filter: blur(8px);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-active.cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

.cursor-active.cursor-blob {
    width: 50px;
    height: 50px;
    background-color: rgba(139, 92, 246, 0.4);
}