:root {
    --bg-color: #0d0f14;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-primary: #ffffff;
    --accent-secondary: #aaaaaa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
}

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

[hidden] {
    display: none !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.glow-1 {
    top: -10%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(13, 15, 20, 0) 70%);
    animation-delay: 0s;
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(13, 15, 20, 0) 70%);
    animation-delay: -5s;
}

.glow-3 {
    top: 40%;
    left: -20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(13, 15, 20, 0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.nav-cta {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-icon-btn svg {
    display: block;
}

.nav-icon-btn:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: -2px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 99px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    pointer-events: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.icon-container {
    width: 240px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #0b0b0b;
    border-radius: 50px;
    box-shadow: 0 0 0 1px inset rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 51px;
    background: rgba(255, 255, 255, 0.08);
    z-index: -1;
    filter: blur(2px);
    transition: all 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.05) translateY(-5px);
}

.icon-container:hover::before {
    inset: -3px;
    filter: blur(4px);
    background: rgba(255, 255, 255, 0.15);
}

.pet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 2px;
}

.eye {
    width: 16px;
    height: 30px;
    background-color: var(--text-primary);
    border-radius: 8px;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.smile {
    width: 54px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 6px;
}

.icon-container:hover .smile {
    transform: scale(1.1) translateY(-2px);
}

.pet-icon.blink .eye {
    transform: scaleY(0.1);
}

.title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #ffffff, #888888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.slogan {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 600px;
}

.pricing-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.1);
}

.price-header {
    text-align: left;
}

.price-header h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.check {
    color: var(--accent-secondary);
    font-weight: bold;
}

.primary-btn {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    color: #000000;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.primary-btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.primary-btn:hover .btn-glow {
    opacity: 1;
    transform: scale(1);
}

.primary-btn:active {
    transform: translateY(1px);
}

@keyframes dashStart {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: dashStart 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.icon-container {
    animation-delay: 0.1s;
}

.title {
    animation-delay: 0.2s;
}

.slogan {
    animation-delay: 0.3s;
}

.pricing-card {
    animation-delay: 0.4s;
}

.showcase {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #888888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.video-container {
    flex: 1;
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.showcase-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    background-color: #0b0b0b;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-content {
        padding: 0 1.25rem;
    }

    .nav-link {
        display: none;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .pricing-card {
        padding: 2.5rem 1.5rem;
    }

    .price {
        font-size: 3rem;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .feature-text {
        max-width: 100%;
    }
}

.legal-hub-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 99px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.legal-hub-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.legal-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    justify-content: flex-end;
    align-items: flex-end;
    padding: 1.5rem;
}

.legal-modal-overlay.open {
    display: flex;
}

.legal-modal-content {
    background: #12141a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    animation: modal-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.legal-modal-close:hover {
    color: var(--text-primary);
}

.legal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.legal-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.legal-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.legal-section p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0.4rem 0;
}

.legal-section ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-modal-content::-webkit-scrollbar {
    width: 4px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
}