/* ========================================
   UTOx402 Widget Landing Page — Premium Style
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: 'Orbitron', monospace;
    color: #17f53d;
}
h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
}
h2 {
    font-size: 2.4rem;
    text-align: center;
    margin: 3rem 0 1.5rem;
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #17f53d;
    border-radius: 2px;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
p {
    color: #ccc;
    margin-bottom: 1rem;
}
code {
    background: #111;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #17f53d;
    font-size: 0.9rem;
}

/* HEADER */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #222;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #17f53d;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
}
.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #17f53d;
}
.nav-desktop a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-desktop a:hover {
    color: #17f53d;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #17f53d;
    border-radius: 3px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* MOBILE MENU */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-overlay.active { transform: translateX(0); }
.mobile-nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 1rem;
}

/* HERO */
.hero {
    padding: 6rem 0 4rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.highlight {
    background: linear-gradient(90deg, #17f53d, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
.subtitle {
    font-size: 1.3rem;
    color: #aaa;
    margin: 1.5rem 0 2rem;
}
.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cta-group button, .cta-group a {
    flex: 1;
    min-width: 180px;
}

/* BUTTONS */
.btn-primary {
    background: #17f53d;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    background: #12cc3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23,245,61,0.3);
}
.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #17f53d;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-secondary:hover {
    background: rgba(23,245,61,0.1);
    transform: translateY(-3px);
}

/* WIDGET PREVIEW */
.widget-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.widget-preview img {
    width: 100%;
    display: block;
}
.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #17f53d;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    background: #111;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: #17f53d;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(23,245,61,0.15);
}
.feature-card i {
    font-size: 2.5rem;
    color: #17f53d;
    margin-bottom: 1rem;
}

/* DEMO & CODE */
.demo-widget {
    max-width: 640px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.code-box {
    background: #111;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #333;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
}
.code-box pre {
    margin: 0;
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}
.code-box code {
    color: #17f53d;
    font-family: 'Courier New', monospace;
}
.code-box button {
    margin-top: 1.5rem;
    width: 100%;
}
.embed-tips {
    text-align: center;
    font-size: 0.95rem;
    color: #aaa;
    margin-top: 1rem;
}

/* PREMIUM CARD */
.bg-premium {
    background: linear-gradient(135deg, #111, #0a0a0a);
}
.premium-card {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #17f53d;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #17f53d;
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}
.premium-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}
.premium-features li {
    padding: 0.7rem 0;
    color: #ccc;
    position: relative;
    padding-left: 2rem;
}
.premium-features li::before {
    content: 'Check';
    color: #17f53d;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}
.footer a {
    color: #17f53d;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        order: -1;
    }
    h1 {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-desktop { display: none; }
    .cta-group { flex-direction: column; }
    .cta-group button, .cta-group a { width: 100%; }
}