/* ========================
   Hero Section - StampTour Intro 전용
   ======================== */
.hero {
    position: relative;
    min-height: 90vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px !important;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero .container {
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    padding: 60px 20px !important;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 30px !important;
    line-height: 1.2 !important;
    color: white !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.hero-subtitle {
    font-size: 1.5rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 30px !important;
    font-weight: 500 !important;
}

.hero-description {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 40px !important;
}

.hero-buttons {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.hero-stamp-container {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    overflow: visible;
    z-index: 10;
}

.stamp-animation {
    width: 100%;
    height: 100%;
    position: relative;
    animation: stampShrink 2s ease-out 0.3s forwards;
    opacity: 0;
    transform: scale(15) rotate(-15deg);
}

@keyframes stampShrink {
    0% {
        opacity: 0.3;
        transform: scale(15) rotate(-15deg);
    }
    40% {
        opacity: 0.8;
        transform: scale(8) rotate(-13deg);
    }
    70% {
        opacity: 1;
        transform: scale(1.2) rotate(-10deg);
    }
    85% {
        transform: scale(0.9) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-10deg);
    }
}

.stamp-circle {
    width: 100%;
    height: 100%;
    border: 12px solid rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: stampShake 0.3s ease-out 1.5s;
}

@keyframes stampShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.stamp-inner {
    text-align: center;
    padding: 20px;
}

.stamp-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, #6366f1, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stamp-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.stamp-subtext {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stamp-border-effect {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px dashed rgba(245, 158, 11, 0.5);
    border-radius: 50%;
    animation: rotateBorder 20s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================
   What is StampTour Section
   ======================== */
.what-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.what-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.what-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.what-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.what-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================
   Why StampTour Section
   ======================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.why-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================
   Types Section
   ======================== */
.types-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.type-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.type-header {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.type-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: typeRotate 20s linear infinite;
}

@keyframes typeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.type-header.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.type-header.global {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.type-header.maker {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.type-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.type-icon {
    font-size: 4rem;
    color: white;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.type-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.type-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.type-body {
    padding: 40px 30px;
}

.type-features {
    list-style: none;
    margin-bottom: 30px;
}

.type-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.type-features li:last-child {
    border-bottom: none;
}

.type-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.type-best {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.type-best-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.type-best-desc {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.type-link {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.type-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* ========================
   Process Section
   ======================== */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.process-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-number-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 2;
}

.process-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.process-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.process-description {
    color: var(--text-light);
    line-height: 1.7;
}

.process-item::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

.process-item:last-child::before {
    display: none;
}

/* ========================
   Comparison Section
   ======================== */
.comparison-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.comparison-table th {
    padding: 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--light-color);
}

.comparison-check {
    color: #10b981;
    font-size: 1.5rem;
}

.comparison-cross {
    color: #ef4444;
    font-size: 1.5rem;
}

/* ========================
   CTA Section
   ======================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: typeRotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   Responsive Design
   ======================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    .hero-stamp-container {
        display: none !important;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column !important;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .what-container,
    .why-grid,
    .types-container {
        grid-template-columns: 1fr !important;
    }

    .comparison-container {
        padding: 30px 20px;
        overflow-x: auto;
    }

    .comparison-table {
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .process-item {
        flex-direction: column;
        gap: 20px;
    }

    .process-number-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-item::before {
        left: 30px;
        top: 60px;
    }

    .section-padding {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .type-name {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }
}
