:root {
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 22, 0.6);
    --surface-light: rgba(255, 255, 255, 0.05);
    --surface-border: rgba(255, 255, 255, 0.1);
    
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #3b82f6;
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(236,72,153,0.05) 40%, rgba(5,5,5,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: screen;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }

/* Typography */
h1, h2, h3, h4, .logo, .badge {
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    font-size: 1.125rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    background: #fff;
    color: #000;
    font-size: 0.95rem;
}

.btn-primary-sm:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: var(--surface-light);
    color: white;
    border: 1px solid var(--surface-border);
    font-size: 1.125rem;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .dot {
    color: var(--primary);
}

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

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-sphere.one {
    top: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.gradient-sphere.two {
    bottom: -20%;
    left: 10%;
    width: 800px;
    height: 800px;
    background: var(--secondary);
    animation-delay: -5s;
    animation-duration: 25s;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* About Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    font-size: 3.5rem;
}

.about-text .section-desc {
    margin-left: 0;
    font-size: 1.125rem;
}

.about-visual {
    position: relative;
    height: 500px;
}

.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2rem;
    position: absolute;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.main-card {
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.main-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-card-1 {
    width: 200px;
    top: 10%;
    right: 5%;
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.sub-card-2 {
    width: 220px;
    bottom: 10%;
    left: 5%;
    z-index: 4;
    animation: float 8s infinite ease-in-out reverse;
}

.sub-card-1 .card-icon, .sub-card-2 .card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: linear-gradient(145deg, var(--surface-color), rgba(10,10,12,0.8));
    backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.glass-panel:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.glass-panel:hover .feature-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    border-color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Vision CTA */
.cta-box {
    position: relative;
    padding: 5rem 2rem;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.3;
    z-index: 0;
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    background: #020202;
    padding-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.info-list li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.info-list strong {
    color: #fff;
    margin-right: 0.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--surface-border);
    color: #666;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.reveal-text, .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.right {
    transform: translateX(50px);
}

.reveal-text.active, .scroll-reveal.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title { font-size: 4rem; }
    .about-visual { height: 400px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .section-title { font-size: 2.5rem; }
    .cta-box h2 { font-size: 2rem; }
    .main-card { width: 260px; }
    .sub-card-1 { width: 160px; right: 0; }
    .sub-card-2 { width: 160px; left: 0; }
}
