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

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    background-color: #050505;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Animations */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,133,96,0.6) 0%, rgba(0,0,0,0) 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100,80,180,0.4) 0%, rgba(0,0,0,0) 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(120,90,60,0.5) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

/* Container Layout */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
    color: #fff;
    background: linear-gradient(to right, #ffffff, #a88560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Main Wrapper */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Content (Left Side) */
.content {
    flex: 1;
    max-width: 817px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge {
    background: rgba(168, 133, 96, 0.1);
    color: #a88560;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 133, 96, 0.3);
    backdrop-filter: blur(5px);
}

.title {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.highlight {
    color: #a88560;
    background: linear-gradient(120deg, #d4af37, #a88560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 3rem;
    word-break: keep-all;
}

.subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a88560, #d4af37);
    border-radius: 2px;
    animation: loadProgress 2s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 65%; }
}

.progress-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #888888;
    letter-spacing: 0.1rem;
    margin-bottom: 2rem;
}

/* Contact Info */
.contact-info {
    font-size: 0.95rem;
    color: #999;
    border-left: 2px solid #a88560;
    padding-left: 1rem;
}

/* Visual Content (Right Side) */
.visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #111;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 2px #333,
        inset 0 0 0 1px #555;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: hoverPhone 6s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes hoverPhone {
    0% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 30px;
    overflow-y: auto; /* Allow scrolling if image is long */
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none; /* Firefox */
}

.phone-screen::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.app-image {
    width: 100%;
    height: auto;
    display: block;
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    border-radius: 30px;
    pointer-events: none;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.float-1 {
    width: 120px;
    height: 120px;
    top: 50px;
    right: -20px;
    animation: floatShape 8s ease-in-out infinite alternate;
}

.float-2 {
    width: 80px;
    height: 80px;
    bottom: 80px;
    left: -40px;
    background: linear-gradient(135deg, rgba(168,133,96,0.2), rgba(0,0,0,0));
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(30px) rotate(15deg); }
}

/* Footer */
.footer {
    padding-bottom: 2rem;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Outfit', sans-serif;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin-top: 2rem;
    }

    .content {
        align-items: center;
    }

    .contact-info {
        border-left: none;
        border-top: 2px solid #a88560;
        padding-left: 0;
        padding-top: 1rem;
    }

    .phone-mockup {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        animation: hoverPhoneMobile 6s ease-in-out infinite alternate;
    }

    @keyframes hoverPhoneMobile {
        0% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0); }
        100% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-15px); }
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}
