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

@font-face {
    font-family: 'IRANSansX';
    src: url('IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('IRANSansXFaNum-Light.woff2') format('woff2'),
         url('IRANSansXFaNum-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'IRANSansX', 'Vazir', 'Tahoma', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 20px;
    background: #ffffff;
    flex-shrink: 0;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.curved-section {
    flex: 1;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    padding: 30px 10px 0;
    position: relative;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    font-size: 28px;
    font-weight: bold;
    font-family: 'IRANSansX', 'Vazir', 'Tahoma', sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #061F2C;
    text-shadow: none;
}

.subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666666;
    opacity: 0.9;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
}

.btn {
    padding: 20px 35px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'IRANSansX', 'Vazir', 'Tahoma', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #F6AF00 0%, #F6AF00 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F6AF00 0%, #F6AF00 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 83, 0, 0.4);
    border: 2px solid #F6AF00;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #061F2C 0%, #061F2C 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #061F2C 0%, #061F2C 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(29, 29, 27, 0.4);
    border: 2px solid #061F2C;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 20px;
}

.footer {
    background: transparent;
    color: #666666;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    flex-shrink: 0;
    border-top: 1px solid #e8e2d5;
    margin-top: auto;
}

.footer a {
    color: #F6AF00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer a:hover {
    color: #F6AF00;
    text-shadow: 0 1px 3px rgba(255, 83, 0, 0.5);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .logo {
        max-width: 150px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo-section {
        padding: 30px 20px 15px;
    }
    
    .curved-section {
        padding: 20px 20px 0;
    }
    
    .footer {
        padding: 10px 15px;
        font-size: 11px;
    }
}

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

.content {
    animation: fadeInUp 0.8s ease-out;
}

.btn {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn:nth-child(2) {
    animation-delay: 0.4s;
}
