@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --primary: #1A34FF;
    /* Arturia Blue */
    --accent: #D54C8D;
    --dark: #000000;
    --light-bg: #F0F4F8;
    --white: #ffffff;
    --text-main: #111111;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Arturia-style Geometric Grainy Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #F8FAFC;
    background-image:
        linear-gradient(45deg, #E0E7FF 0%, transparent 70%),
        linear-gradient(-45deg, #FFEDF5 0%, transparent 70%),
        linear-gradient(135deg, #FFFBEB 0%, transparent 70%);
    overflow: hidden;
}

.bg-blobs::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
}

/* Navbar (Black header style) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo-you {
    color: var(--white);
    letter-spacing: -2px;
}

.logo-bus {
    background: linear-gradient(135deg, #00C6FF, #0072FF, #D54C8D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
}

.btn-login {
    background: var(--primary);
    padding: 0.7rem 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-login:hover {
    filter: brightness(1.2);
}

/* Hero Section */
.hero {
    padding: 6rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: var(--white);
    padding: 4rem 3rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    display: none;
    /* Arturia style focuses on typography/card in hero */
}

/* Product Section */
.products {
    padding: 4rem 5%;
    position: relative;
}

.section-head {
    margin-bottom: 4rem;
    text-align: center;
}

.section-head h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-head p {
    font-size: 1.1rem;
    opacity: 0.6;
}

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

.card {
    background: var(--white);
    padding: 3rem 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.card.youtube::before { background: #ff0000; }
.card.netflix::before { background: #E50914; }
.card.disney::before { background: #0063e5; }

.badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.card .price span {
    font-size: 1rem;
    opacity: 0.5;
    font-weight: 400;
}

.card .stock {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.card ul li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    border: none;
}

.card.youtube .btn-buy { background: #ff0000; }
.card.netflix .btn-buy { background: #E50914; }
.card.disney .btn-buy { background: #0063e5; }

.btn-buy:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* Login Page Adaptations */
.login-container {
    padding-top: 5rem;
    display: flex;
    justify-content: center;
}

.login-card {
    background: var(--white);
    padding: 4rem 3rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.login-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    padding: 1rem;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.social-btn img {
    width: 24px;
}

.btn-google {
    background: #e7e7e2;
    color: #333;
}

.btn-kakao {
    background: #FEE500;
    color: #191919;
    border: none;
}

.btn-naver {
    background: #03C75A;
    color: white;
    border: none;
}

.social-btn:hover {
    background: #f8f8f8;
}

.back-home {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.5;
}

.back-home:hover {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

/* Guide Page */
.guide-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 70px - 100px); /* Adjust to center mostly */
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    margin-bottom: 5rem;
}

.guide-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

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

.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.guide-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.guide-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.guide-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.guide-cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}