* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066ff;
    --primary-light: #00d4ff;
    --primary-dark: #003d99;
    --bg-dark: #0a0e27;
    --bg-darker: #13162b;
    --bg-card: #0c1124;
    --text-primary: #f0f4f8;
    --text-secondary: #a8b2c1;
    --border: #2a3150;
    --accent: #00d4ff;
    --success: #00d97e;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: slideGrid 20s linear infinite;
}

@keyframes slideGrid {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 50px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    perspective: 1000px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.code-animation-box {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 2px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    padding: 2rem;
    animation: float 4s ease-in-out infinite;
}

.code-display {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.85rem;
    line-height: 1.8;
}

.code-line {
    color: var(--accent);
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 1.8em;
}

.code-line.comment {
    color: var(--text-secondary);
}

.code-line.keyword {
    color: var(--primary);
}

.code-line.string {
    color: var(--success);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FEATURE SHOWCASE ===== */
.showcase {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.showcase-visual {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 2rem;
    position: relative;
}

.features::after {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    background-color: #4a5568;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: none;
    margin: 0 auto;
}

.feature-card {
    background: transparent;
    border: none;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 1.5rem;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: none;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 10;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 1.8em;
    line-height: 1.2;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 2.7em;
    line-height: 1.35;
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 6rem 2rem;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 4rem 0;
    position: relative;
}

.info-section::before {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    background-color: #4a5568;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 102, 255, 0.2));
}

.shield-main {
    animation: shieldPulse 3s ease-in-out infinite;
}

.lock-body {
    animation: lockAnimation 2s ease-in-out infinite;
}

.lock-keyhole {
    animation: lockAnimation 2s ease-in-out infinite;
}

.lock-shackle {
    animation: lockAnimation 2s ease-in-out infinite;
}

.ring-1 {
    animation: ringExpand 2s ease-out infinite;
}

.ring-2 {
    animation: ringExpand 2.5s ease-out infinite;
}

@keyframes lockAnimation {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes ringExpand {
    0% { opacity: 1; r: 70; }
    100% { opacity: 0; r: 95; }
}

.info-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.info-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.info-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    border-radius: 0;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item:hover {
    transform: translateX(5px);
    border-color: transparent;
    background: transparent;
}

.benefit-icon-svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: var(--accent);
}

.benefit-icon-svg svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    stroke: currentColor;
    fill: none;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 2rem;
    position: relative;
}

.testimonials::before {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    background-color: #4a5568;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: none;
}

.testimonial-card {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 300px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.2);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: auto;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    color: var(--white);
}

.author-avatar svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 6rem 2rem;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 2px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.pricing-period {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    margin-right: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-form {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
}

.info-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== OBFUSCATION PAGE ===== */
.obfuscation {
    padding: 3rem 2rem;
}

.obfuscation-container {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 100px;
}

.obf-header {
    display: none;
}

.obf-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.obf-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== TABS ===== */
.tabs-container {
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 0;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 12px 12px 0 0;
    padding: 0.5rem;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0;
}

.tab-button:hover {
    color: var(--primary-light);
}

.tab-button.active {
    color: var(--text-secondary);
    background: transparent;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    width: 103.8%;
    transform: translate(-1.8%);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Editor Workspace */
.editor-workspace {
    display: grid;
    gap: 1.5rem;
}

.editor-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.editor-header {
    background: var(--bg-darker);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.editor-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: none;
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.btn-small:hover {
    background: rgba(0, 102, 255, 0.35);
    transform: translateY(-1px);
}

.btn-obfuscate-header {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
    border: none;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-obfuscate-header svg {
    width: 16px;
    height: 16px;
}

.btn-obfuscate-header:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.5) 0%, rgba(0, 212, 255, 0.3) 100%);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
    color: var(--white);
}

.editor-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Upload Workspace */
.upload-workspace {
    display: grid;
    gap: 1.5rem;
}

.upload-zone {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.upload-zone:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.upload-zone.drag-over {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.upload-icon {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.upload-icon svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.2));
    animation: lockAnimation 2s ease-in-out infinite;
}

.upload-zone h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.upload-zone p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: auto;
}

.upload-info {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: left;
}

.upload-info h4 {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.upload-info ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.upload-info li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.upload-info li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

.upload-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Terminal Display */
.terminal-container {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
    display: none;
}

.terminal-container.active {
    display: block;
}

.terminal-header {
    background: var(--bg-card);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-header h4 {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-title svg {
    color: var(--accent);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.terminal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.terminal-close:hover {
    color: var(--accent);
}

.terminal-output {
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--success);
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal-output.error {
    color: #ff6b6b;
}

/* Obfuscate Action */
.obfuscate-action {
    display: none;
}

.btn-obfuscate {
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-obfuscate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-obfuscate span {
    position: relative;
    z-index: 2;
}

.btn-obfuscate:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

.btn-obfuscate:hover::before {
    left: 100%;
}

.btn-obfuscate:active {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Settings Panel */
.settings-panel {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(42, 49, 80, 0.5);
}

.settings-header {
    margin-bottom: 2.5rem;
}

.settings-header h3 {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.settings-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.settings-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.setting-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.5) 0%, rgba(10, 14, 39, 0.2) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.setting-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.1) 0%, rgba(10, 14, 39, 0.3) 100%);
}

.setting-card-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-card-header h4 {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin: 0;
}

.setting-info-tooltip {
    position: relative;
    display: flex;
    align-items: center;
}

.setting-info-tooltip svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.setting-info-tooltip:hover svg {
    color: var(--accent);
}

.tooltip-content {
    position: absolute;
    bottom: auto;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    background: var(--bg-darker);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 1rem;
    min-width: 300px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    flex-direction: column;
    gap: 0.5rem;
    white-space: normal;
}

.setting-info-tooltip:hover .tooltip-content {
    display: flex;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-darker);
}

.tooltip-title {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.tooltip-type {
    display: inline-block;
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
}

.tooltip-default {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.tooltip-warning {
    font-size: 0.8rem;
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 2px solid #ff9800;
}

.tooltip-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.setting-items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label:not(.toggle-switch) {
    cursor: pointer;
    font-size: 0.88rem;
    flex: 1;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}

.setting-item input[type="checkbox"]:checked + label {
    color: var(--white);
}

.setting-item:hover label:not(.toggle-switch) {
    color: var(--white);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(42, 49, 80, 0.8);
    border: 1px solid rgba(42, 49, 80, 1);
    transition: all 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.toggle-switch .slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-switch .slider::after {
    content: '';
    position: absolute;
    height: 6px;
    width: 6px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-switch input:checked + .slider {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.3);
}

.toggle-switch input:checked + .slider::after {
    background-color: transparent;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(20px);
    background-color: var(--white);
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-trigger {
    background: linear-gradient(135deg, rgba(20, 25, 50, 0.9) 0%, rgba(15, 18, 35, 0.95) 100%);
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
    padding: 0.9rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.dropdown-trigger:hover {
    border-color: rgba(0, 212, 255, 0.7);
    background: linear-gradient(135deg, rgba(25, 32, 60, 0.95) 0%, rgba(18, 22, 42, 1) 100%);
}

.dropdown-trigger.active {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

.dropdown-value {
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    width: 18px;
    height: 18px;
    color: rgba(0, 212, 255, 0.6);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 18, 35, 0.98) 0%, rgba(10, 12, 28, 1) 100%);
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 212, 255, 0.1);
    overflow: hidden;
    z-index: 1;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.dropdown-menu.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    z-index: 9998;
}

.dropdown-option {
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent);
    padding-left: 1.25rem;
}

.dropdown-option.selected {
    background: rgba(0, 102, 255, 0.15);
    color: var(--accent);
    font-weight: 600;
}

.dropdown-option.selected:hover {
    background: rgba(0, 102, 255, 0.25);
}

.option-text {
    flex: 1;
}

.checkmark {
    width: 18px;
    height: 18px;
    color: var(--success);
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.dropdown-option.selected .checkmark {
    opacity: 1;
}

.dropdown-option.disabled {
    color: rgba(168, 178, 193, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
}

.dropdown-option.disabled:hover {
    background: transparent;
    color: rgba(168, 178, 193, 0.5);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== PAGE TRANSITIONS ===== */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.9) 100%);
    color: var(--text-primary);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    max-width: 350px;
    font-size: 0.95rem;
    font-weight: 500;
}

.toast.fadeOut {
    animation: fadeOut 0.5s ease-out forwards;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: #ff6b6b;
    color: #ff6b6b;
}

.toast.info {
    border-left-color: var(--accent);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content,
    .showcase,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        flex: 0 0 calc(25% - 1.5rem);
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        margin-top: 200px;
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .info-svg {
        max-width: 250px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .code-animation-box {
        height: 300px;
        padding: 1rem;
    }

    .code-display {
        font-size: 0.75rem;
    }

    .obfuscation-container {
        margin-top: 200px;
    }

    .showcase,
    .features,
    .pricing,
    .contact {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px) scale(1);
    }

    .contact-grid {
        gap: 2rem;
    }

    .obfuscate-controls {
        flex-direction: column;
    }

    .obfuscate-controls .btn-primary {
        flex: none;
        width: 100%;
    }

    /* Mobile Obfuscation Styles */
    .obfuscation {
        padding: 2rem 1rem;
    }

    .tabs {
        gap: 0;
        padding: 0.25rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        min-width: max-content;
        flex-shrink: 0;
    }

    .tab-icon svg {
        width: 16px;
        height: 16px;
    }

    .tab-content {
        padding: 1rem;
    }

    .editor-box {
        min-height: 300px;
    }

    .editor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .editor-header h3 {
        font-size: 0.9rem;
    }

    .editor-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-small {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        flex: 1;
        min-width: 60px;
    }

    .upload-zone {
        min-height: 300px;
        padding: 1.5rem;
    }

    .upload-icon svg {
        width: 45px;
        height: 45px;
    }

    .upload-zone h3 {
        font-size: 1.1rem;
    }

    .upload-zone p {
        font-size: 0.9rem;
    }

    .upload-info {
        padding-top: 1.5rem;
    }

    .upload-info h4 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .upload-info li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .upload-info p {
        font-size: 0.85rem;
    }

    .settings-panel {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .settings-header h3 {
        font-size: 1.1rem;
    }

    .settings-header p {
        font-size: 0.85rem;
    }

    .settings-grid-pro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .setting-card {
        padding: 1.2rem;
    }

    .setting-card-header h4 {
        font-size: 0.8rem;
    }

    .terminal-container {
        margin-top: 1rem;
    }

    .terminal-header {
        padding: 0.6rem 0.8rem;
    }

    .terminal-header h4 {
        font-size: 0.75rem;
    }

    .terminal-title svg {
        width: 18px;
        height: 18px;
    }

    .terminal-output {
        padding: 0.8rem;
        font-size: 0.8rem;
        max-height: 250px;
    }

    .toggle-switch {
        width: 40px;
        height: 22px;
    }

    .toggle-switch .slider::before {
        width: 18px;
        height: 18px;
    }

    .toggle-switch input:checked + .slider::before {
        transform: translateX(18px);
    }

    .dropdown-trigger {
        padding: 0.75rem 0.8rem;
        font-size: 0.85rem;
    }

    .dropdown-arrow {
        width: 16px;
        height: 16px;
    }

    .dropdown-option {
        padding: 0.75rem 0.8rem;
        font-size: 0.85rem;
    }

    .dropdown-menu {
        max-height: 250px;
    }

    .toast-container {
        bottom: 1rem;
        right: 1rem;
    }

    .toast {
        max-width: 280px;
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
}
