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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #fff;
}


/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    font-family: "Do Hyeon", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    font-style: normal;
    font-size: 1.75rem;
    color: #cc2d3a;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    padding-top:2px;
    object-fit: cover;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 1.1rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    flex-direction: row;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: #e63946;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #333;
    border: 2px solid #4722226d;
    font-size: 1rem;
}

.btn-logout {
    background: transparent;
    color: #333;
    border: 2px solid #4722226d;
    font-size: 1rem;
}

.btn-logout:hover {
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-2px);
}

.btn-login:hover {
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-2px);
}

.btn-signup {
    background: #e63946;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    font-size: 1rem;
}

.btn-signup:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 80px 120px;
    text-align: center;
    background: linear-gradient(135deg, #fae6e6 0%, #ffdfe4 100%);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }   
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    color: #e63946;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge::before {
    content: '🩸';
    font-size: 1.2rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
    color: #cc2d3a;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(230, 57, 70, 0.2);
    z-index: -1;
    animation: expandWidth 1s ease 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.section-title span {
    color: #e63946;
    font-weight: 700;
    font-family: "Do Hyeon", sans-serif;
    font-size: 1.2em;
    letter-spacing: 1px;
    position: relative;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 80px;
    padding-bottom: 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    margin-top: 50px;
    padding: 60px 80px;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 0.5fr);
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s;
}

.stat-item.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    margin: 100px 80px;
    padding: 80px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b7a 100%);
    border-radius: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: white;
    color: #e63946;
    position: relative;
    z-index: 1;
}

.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.2);
}

/* Footer */
footer {
    padding: 60px 80px 40px;
    background: #cc2d3a;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    font-family: "Do Hyeon", sans-serif;
    margin-bottom: 20px;
}

.footer-desc {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f8f8f8;
    transform: translateY(-2px);
    border-bottom: 1px solid #fff;
    transition: all 0.2s;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #fff;
    color: #fff;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {

    nav,
    .hero,
    .how-it-works,
    .cta {
        padding-left: 30px;
        padding-right: 30px;
    }

    .steps,
    .stats,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}