/* Google Fonts */
/* Outfit is imported in HTML */

:root {
    --bg-color: #0F172A;
    --surface-color: rgba(30, 41, 59, 0.7);
    --primary-color: #A855F7;
    /* Purple Neon */
    --secondary-color: #06B6D4;
    /* Cyan Neon (Fresher than plain blue) */
    --accent-color: #F59E0B;
    /* Amber/Gold */
    --text-primary: #FFFFFF;
    /* Pure White */
    --text-secondary: #CBD5E1;
    /* Silver/Light Gray (Removed blue-ish dullness) */

    --glass-border: 1px solid rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: var(--glass-blur);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: var(--glass-border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: white;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top center, rgba(168, 85, 247, 0.15), transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #D8B4FE;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Visuals & Glass Cards */
.glass-card {
    background: var(--surface-color);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
}

.app-window {
    padding: 0;
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.app-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #EF4444;
}

.yellow {
    background: #F59E0B;
}

.green {
    background: #10B981;
}

.url-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 15px;
    border-radius: 6px;
    font-size: 12px;
    color: #aaa;
    flex: 1;
    text-align: center;
}

.placeholder-ui {
    display: flex;
    height: 350px;
}

.sidebar {
    width: 30%;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar .item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar .item.active {
    background: rgba(168, 85, 247, 0.2);
    color: white;
}

.main-view {
    padding: 20px;
    flex: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.card-grid .card {
    background: rgba(255, 255, 255, 0.05);
    height: 80px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #ddd;
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 85, 247, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.purple {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary-color);
}

.blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--secondary-color);
}

.amber {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-color);
}

.red {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Magic Clean */
.dark-bg {
    background-color: #0B1120;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.badge-pill {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ddd;
}

.check-list i {
    color: var(--primary-color);
}

.clean-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pile {
    padding: 20px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pile span {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.pile.junk {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.pile.junk span {
    background: rgba(0, 0, 0, 0.3);
    color: #aaa;
    text-decoration: line-through;
}

.pile.clean {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.pile.clean span {
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
    font-weight: bold;
}

.arrow i {
    font-size: 2rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card .header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.pricing-card .currency {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .subtext {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-card .features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    text-align: center;
}

.pricing-card .features li.disabled {
    color: #555;
    text-decoration: line-through;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
    margin-top: 100px;
    background: #0B1120;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.brand h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Scroll Animation Classes */
[data-animate] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].in-view {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 768px) {

    .hero-content,
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile nav for now */
    .pricing-card.featured {
        transform: scale(1);
    }

    .clean-visual,
    .app-window {
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .brand-group {
        flex-direction: column;
        gap: 15px;
    }

    .links {
        text-align: center !important;
    }
}

/* Brand Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: white;
}

.modal-logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 5px;
    /* Spacing for ring */
    background: conic-gradient(from 0deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    /* animation: spin 4s linear infinite; -- Saved for loading screen use */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-logo-container img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #000;
    position: relative;
    z-index: 2;
    display: block;
}

.protection-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* Above image */
    border-radius: 50%;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}