/* Sayfa yapısını düzelt */
html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    padding: 0;
}

#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

.footer {
    margin-top: auto;
}

/* Hata mesajı animasyonu - layout shift önleme */
.payment-error-notification {
    animation: slideDown 0.3s ease-out;
    transform-origin: top;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
        margin-top: 20px;
        margin-bottom: 0;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* Page content - reCAPTCHA varsa sabit boşluk */
.recaptcha-active .page-content {
    margin-top: 320px !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .recaptcha-active .page-content {
        margin-top: 280px !important;
    }
}

/* Mobile'da daha fazla */
@media (max-width: 768px) {
    .recaptcha-active .page-content {
        margin-top: 240px !important;
    }
}

/* Contact Method - Icons */
.telegram-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: url('../assets/images/telegram-icon.svg') no-repeat center;
    background-size: cover;
}

.whatsapp-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: url('../assets/images/whatsapp-icon.svg') no-repeat center;
    background-size: cover;
}

.phone-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: url('../assets/images/phone-icon.svg') no-repeat center;
    background-size: cover;
}

.text-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: url('../assets/images/text-icon.svg') no-repeat center;
    background-size: cover;
}

/* Contact Method Title */
.method-title {
    color: #474747;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Contact Method Cards */
.form-checked {
    position: relative;
    cursor: pointer;
    padding: 1rem 2.25rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.form-checked input {
    display: none;
}

.form-checked .checked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.form-checked .checked-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(37, 18, 102, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.form-checked input:checked ~ .checked-overlay {
    border-color: #673DE6;
}

.form-checked:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 61, 230, 0.15);
}

/* ============================================ */
/* OFFER MODAL STYLES */
/* ============================================ */

/* Backdrop overlay */
.offer-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.offer-modal-backdrop.hidden {
    display: none;
    opacity: 0;
}

/* Modal container */
.offer-modal-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Close button */
.offer-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #6b7280;
}

.offer-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.offer-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Icon */
.offer-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #ef4444;
}

.offer-modal-icon.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #3b82f6;
}

.offer-modal-icon svg {
    width: 48px;
    height: 48px;
}

/* Title */
.offer-modal-title {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

/* Message */
.offer-modal-message {
    margin: 0 0 2rem 0;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Actions */
.offer-modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

/* Buttons */
.offer-modal-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

.offer-modal-btn-primary {
    background: linear-gradient(135deg, #673DE6 0%, #8B5CF6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(103, 61, 230, 0.3);
}

.offer-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(103, 61, 230, 0.4);
}

.offer-modal-btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
}

.offer-modal-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Responsive design */
@media (max-width: 640px) {
    .offer-modal-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .offer-modal-title {
        font-size: 1.5rem;
    }
    
    .offer-modal-message {
        font-size: 0.9375rem;
    }
    
    .offer-modal-icon {
        width: 70px;
        height: 70px;
    }
    
    .offer-modal-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Hero Triangle - Büyütülmüş boyut */
.hero-triangle {
    width: 900px !important;
    height: 500px !important;
    bottom: -80px !important;
    animation: float 6s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Decorative shapes */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    animation: float 8s ease-in-out infinite;
}

.decorative-shape:nth-child(1) {
    width: 120px;
    height: 120px;
    left: 5%;
    animation-delay: 0s;
}

.decorative-shape:nth-child(2) {
    width: 80px;
    height: 80px;
    right: 10%;
    animation-delay: 2s;
}

.decorative-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 15%;
    animation-delay: 4s;
}
