/* 
  Woojoo Sulbi - Premium Landing Page Styles 
  Theme: Deep Blue, Glassmorphism, Modern, Trustworthy
*/

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap");


:root {
    /* Colors */
    --primary-color: #0F172A;
    /* Deep Navy Blue */
    --primary-light: #1E293B;
    /* Lighter Navy */
    --accent-color: #38BDF8;
    /* Sky Blue Accent */
    --accent-glow: rgba(56, 189, 248, 0.5);
    --text-main: #F8FAFC;
    /* Off-white for dark backgrounds */
    --text-muted: #94A3B8;
    /* Muted gray text */
    --text-dark: #0F172A;
    /* Dark text for light backgrounds */
    --white: #FFFFFF;
    --bg-dark: #020617;
    /* Very dark blue/black background */
    --glass-bg: rgba(30, 41, 59, 0.7);
    /* For glassmorphism */
    --border-color: rgba(148, 163, 184, 0.1);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    --glow-text: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: pan-y;
    /* Optimize mobile vertical scroll */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    text-shadow: var(--glow-text);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    scroll-margin-top: 100px;
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-text {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: -2rem;
    /* Increase hover area to bridge gap to menu */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-radius: 8px;
    transition: 0.2s;
    text-align: center;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-cyan);
}

.nav-button {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-dark);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 100%);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.25;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    /* Glass feel */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-link {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link i {
    transition: transform 0.2s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(56, 189, 248, 0.2);
    margin-top: 30px;
    /* Half of step-number height */
    position: relative;
    top: 0;
}

.step-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), #0ba5e92b);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: rgba(30, 41, 59, 0.3);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-item i {
    font-size: 2rem;
    color: var(--accent-color);
    padding: 1rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
}

.method-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.method-item p {
    color: var(--text-muted);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    /* Slightly lighter block */
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: #020617;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-title-large {
        font-size: 3.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .img-placeholder {
        height: 300px;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    .nav-list {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
    }

    /* Hero */
    .hero-title-large {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 !important;
        /* Remove inline margin if present */
        justify-content: center;
    }

    /* Sections General */
    .premium-section {
        padding: 80px 0;
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Process Section */
    .process-steps {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }

    .solution-steps {
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
    }

    .step {
        margin-bottom: 2rem;
        background: rgba(255, 255, 255, 0.03);
        padding: 1.5rem;
        border-radius: 12px;
        opacity: 1;
        /* Make visible by default on mobile */
    }

    .step-num {
        position: static;
        display: inline-block;
        margin-bottom: 0.5rem;
        background: transparent;
        padding: 0;
    }

    .step-connector {
        display: none;
    }

    /* Solution Visual (Rotating Circles) */
    .solution-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .visual-circle.outer {
        width: 280px;
        height: 280px;
    }

    .visual-circle.inner {
        width: 180px;
        height: 180px;
    }

    .visual-icon {
        font-size: 3rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* CTA */
    .cta-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title-large {
        font-size: 2rem;
    }

    /* Ensure visual doesn't overflow on small screens */
    .visual-circle.outer {
        width: 250px;
        height: 250px;
    }

    .visual-circle.inner {
        width: 150px;
        height: 150px;
    }
}

/* Animations & Interactions */
.fade-up {
    opacity: 0;
    transform: translateY(15px);
    /* Reduced distance to feel faster */
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements if needed, or handle via JS loop */
.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* Sticky Header Scrolled State */
.header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    /* Shrink slightly */
}

/* Mobile Menu Active State (Overlay) */
@media (max-width: 768px) {
    .nav-list {
        display: flex;
        position: fixed;
        top: 70px;
        /* Header height approx */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-bottom: 3rem;
    }

    .nav-list.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-list li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }



    /* Mobile Dropdown Override */
    .dropdown {
        margin-bottom: 0;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0;
        margin-top: 1rem;
        min-width: auto;
    }

    .dropdown-item {
        font-size: 1.2rem;
        color: var(--neon-cyan);
        padding: 0.5rem 0;
    }
}

/* =========================================
   PREMIUM THEME (Card Terminals)
   Theme: Chaos to Order / Cyberpunk / Neon
   ========================================= */

body.premium-theme {
    --bg-deep-black: #0a0a0a;
    --bg-card-dark: #121212;
    --neon-cyan: #00f3ff;
    --neon-purple: #b23aff;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;

    background-color: var(--bg-deep-black);
    color: var(--text-white);
}

/* Utilities */
.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.text-neon-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(178, 58, 255, 0.5);
}

.bg-deep-black {
    background-color: var(--bg-deep-black);
}

.text-neon-gradient {
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.badge-neon {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 9999px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.badge-neon.cyan {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* Header Override */
.premium-header {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-neon {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: 600;
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: var(--bg-deep-black);
    box-shadow: 0 0 20px var(--neon-cyan);
}

.btn-neon-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    color: var(--bg-deep-black);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    transition: transform 0.3s;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.btn-neon-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.6);
}

/* Hero Section */
.premium-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    /* Add padding to prevent content touching edges */
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title-large {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.scroll-hint {
    position: relative;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 20px;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-white);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Sections */
.premium-section {
    padding: 150px 0;
    position: relative;
}

.section-heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: 0.3s;
    will-change: transform, border-color, box-shadow;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-purple);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px -10px rgba(178, 58, 255, 0.2);
}

.card-icon-box {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.card-icon-box.danger {
    color: #ff4757;
}

/* Solution Section */
.solution-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.solution-text {
    flex: 1;
}

.solution-visual {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-steps {
    margin-top: 3rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

.step {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0.3;
    transition: 0.2s;
    /* Ultra-fast */
    will-change: opacity;
}

.step.active {
    opacity: 1;
}

.step-num {
    position: absolute;
    left: -3rem;
    /* Align close to border */
    background: var(--bg-deep-black);
    padding: 0.2rem;
    color: var(--neon-cyan);
    font-weight: 700;
}

.visual-circle {
    border-radius: 50%;
    border: 2px solid rgba(0, 243, 255, 0.1);
    position: absolute;
}

.visual-circle.outer {
    width: 400px;
    height: 400px;
    border-style: dashed;
    animation: spin 20s linear infinite;
}

.visual-circle.inner {
    width: 250px;
    height: 250px;
    border-color: var(--neon-purple);
    animation: spinReverse 15s linear infinite;
}

.visual-icon {
    font-size: 5rem;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    100% {
        transform: rotate(-360deg);
    }
}

/* CTA */
.cta-premium {
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title-large {
        font-size: 3.5rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solution-wrapper {
        flex-direction: column;
    }
}

/* =========================================
   CUSTOM CURSOR INTERACTION
   ========================================= */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover State */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-purple);
    mix-blend-mode: screen;
}

/* Hide default cursor on desktop */
@media (min-width: 992px) {
    body {
        cursor: none;
    }

    a,
    button,
    .btn {
        cursor: none;
    }

    input,
    textarea {
        cursor: text;
    }
}

/* Hide custom cursor on mobile/tablet */
@media (max-width: 991px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto;
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-prev,
.slider-next {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--neon-cyan);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--neon-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* Kakao Contact Card Refactor */
.kakao-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(254, 229, 0, 0.05);
    border: 2px solid #FEE500;
    border-radius: 20px;
}

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

.kakao-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #FEE500 !important;
}

.kakao-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.kakao-desc {
    color: var(--text-gray);
    line-height: 1.6;
}

.kakao-id {
    color: #FEE500;
}

.btn-kakao {
    background: #FEE500;
    color: #3C1E1E;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(254, 229, 0, 0.2);
}

.btn-kakao i {
    font-size: 1.5rem;
}

.btn-kakao:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 229, 0, 0.4);
    background: #ffeb33;
}

@media (max-width: 768px) {
    .kakao-card {
        padding: 1.5rem;
    }

    .kakao-icon {
        font-size: 3rem;
    }

    .kakao-title {
        font-size: 1.2rem;
    }

    .btn-kakao {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}


/* =========================================
   TILE CALCULATOR STYLES
   ========================================= */

.calc-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
}

.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.calc-input-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-input-wrapper {
    position: relative;
    width: 100%;
}

.calc-input {
    width: 100%;
    padding: 1rem;
    padding-right: 3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 1.1rem;
    transition: 0.3s;
}

.calc-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Result Box */
.result-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    margin: 1rem 0;
}

.result-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-calc {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    color: black;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.result-row {
    margin-bottom: 0.8rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.result-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: bold;
    min-width: 70px;
    text-align: left;
}

.result-val {
    color: var(--white);
    text-align: right;
    flex: 1;
}

.tile-preset-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}


/* Mobile Responsiveness for Calculator */
@media (max-width: 992px) {
    .calc-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .calc-container {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .calc-layout {
        gap: 2rem;
    }

    .result-value {
        font-size: 3rem;
    }

    .btn-calc {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .result-val {
        text-align: left;
    }

    .tile-preset-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
    }

    .calc-input-row.responsive {
        flex-direction: column;
    }

    .layout-controls-grid {
        flex-direction: column;
        gap: 0.5rem;
    }

    .layout-controls-grid>div {
        max-width: none !important;
        width: 100%;
    }
}



/* =========================================
   TILE LAYOUT STYLES
   ========================================= */

/* Visualizer Styles */
.visualizer-container {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    padding: 1rem;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.visualizer-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.visualizer-controls button {
    white-space: nowrap;
}

.visualizer-controls button.active {
    background: var(--neon-cyan);
    color: black;
    border-color: var(--neon-cyan);
}

.canvas-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    /* Ensure responsiveness */
}

.visualizer-info {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.8rem;
    pointer-events: none;
    /* Let clicks pass through */
}

/* Mobile Responsiveness for Tile Layout */
@media (max-width: 992px) {
    .calc-layout {
        grid-template-columns: 1fr;
    }

    .visualizer-container {
        min-height: 400px;
        /* Reducing min-height for tablets */
    }
}

@media (max-width: 768px) {
    .visualizer-container {
        min-height: 350px;
        padding: 0.5rem;
    }

    .visualizer-controls {
        gap: 0.5rem;
    }

    .visualizer-controls button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .visualizer-info {
        font-size: 0.7rem;
        bottom: 5px;
        right: 5px;
        max-width: 90%;
        text-align: right;
    }

    /* Make visualizer buttons scrollable if too many? or wrap better */
    .visualizer-controls {
        justify-content: space-between;
    }

    .visualizer-controls>button {
        flex: 1;
    }
}