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

html, body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    height: 100vh;
    height: 100dvh; /* 모바일에서 더 정확한 뷰포트 높이 */
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #4f46e5;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4f46e5;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.btn-login {
    background: none;
    border: 2px solid #4f46e5;
    color: #4f46e5;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #4f46e5;
    color: white;
}

.btn-signup {
    background: #4f46e5;
    border: 2px solid #4f46e5;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: #3730a3;
    border-color: #3730a3;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(80px, 12vh, 120px) 0 clamp(30px, 5vh, 50px);
    padding: clamp(80px, 12dvh, 120px) 0 clamp(30px, 5dvh, 50px); /* 모바일 지원 */
    margin-top: 75px;
    flex-shrink: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    opacity: 0.9;
    line-height: 1.5;
}

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

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
    border: none;
    padding: 1.35rem 2.7rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1.35rem 2.7rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #4f46e5;
}



/* Features Section */
.features {
    padding: clamp(20px, 3vh, 40px) 0;
    padding: clamp(20px, 3dvh, 40px) 0; /* 모바일 지원 */
    background: #f8fafc;
    flex: 1;
    display: flex;
    align-items: center;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 2.5vw, 3rem);
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    height: 100%;
    align-items: stretch;
}

.feature-card {
    background: white;
    padding: clamp(2rem, 4vh, 3rem);
    border-radius: clamp(12px, 1.5vw, 20px);
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #4f46e5;
}

.feature-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    width: clamp(55px, 4vw, 65px);
    height: clamp(55px, 4vw, 65px);
    border-radius: clamp(12px, 1.5vw, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    line-height: 1.3;
}

.feature-card p {
    color: #374151;
    line-height: 1.7;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    margin: 0;
    flex: 1;
}

.feature-card small {
    color: #6b7280;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    display: block;
    margin-top: clamp(1rem, 2vh, 1.5rem);
    padding-top: clamp(1rem, 2vh, 1.5rem);
    border-top: 1px solid #f3f4f6;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-image {
    background: transparent;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.product-brand {
    color: #4f46e5;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.product-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-apply {
    width: 100%;
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-apply:hover {
    background: #3730a3;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8fafc;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.review-card {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.review-card:hover {
    transform: none;
}

.review-header {
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    color: #4f46e5;
}

.reviewer-details h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.rating {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-date {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: clamp(10px, 1.5vh, 15px) 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: clamp(80px, 8vh, 100px);
    min-height: clamp(80px, 8dvh, 100px); /* 모바일 지원 */
    flex-shrink: 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta-content h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 700;
    margin-bottom: clamp(0.3rem, 0.8vh, 0.5rem);
}

.cta-content p {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    margin-bottom: 0;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 15px 0;
    flex-shrink: 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    color: #fbbf24;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #fbbf24;
}

.divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-auth {
        gap: 0.5rem;
    }
    
    .btn-login,
    .btn-signup {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    

    
    .hero-content h1 {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features h2,
    .products h2,
    .reviews h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-left: 55px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .products-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .features,
    .products,
    .reviews,
    .cta {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-left: 50px;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.product-card,
.review-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
} 