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

body {
    font-family: 'Lexend', sans-serif;
    background: linear-gradient(135deg, #0a1a1a 0%, #1a2f2f 50%, #1f3d2d 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);

}

/* PWA Standalone Mode için */
@media (display-mode: standalone) {
    body {
        background: linear-gradient(135deg, #0a1a1a 0%, #1a2f2f 50%, #1f3d2d 100%);
        /* Safe area için ek padding */
        padding-top: max(env(safe-area-inset-top), 20px);
        padding-bottom: max(env(safe-area-inset-bottom), 20px);
    }
    
    .header {
        padding-top: 0; /* Body'de zaten safe area var */
    }
    
    .footer {
        margin-bottom: 0;
        padding-bottom: max(env(safe-area-inset-bottom), 2rem);
    }
}

/* Notch'lu iPhone'lar için */
@supports (padding: max(0px)) {
    .pwa-install-banner {
        bottom: max(env(safe-area-inset-bottom), 20px);
        left: max(env(safe-area-inset-left), 50%);
        right: max(env(safe-area-inset-right), auto);
        transform: translateX(max(calc(-50% - env(safe-area-inset-left)), -50%));
    }
}

/* iOS Safari için özel düzeltmeler */
@supports (-webkit-touch-callout: none) {
    body {
        /* iOS'ta daha yumuşak scroll */
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content,
    .qr-content,
    .ios-install-content {
        /* Modal'lar için safe area desteği */
        padding-top: max(env(safe-area-inset-top), 2rem);
        padding-bottom: max(env(safe-area-inset-bottom), 2rem);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
    animation: glow 8s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.8; }
}

.logo {
    width: 250px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DAA520, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: #B0B0B0;
    font-size: 1.1rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Live Prices Section */
.live-prices-section {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.live-prices-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, #DAA520, transparent);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.live-prices-section:hover::before {
    opacity: 0.3;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.live-prices-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.live-prices-title i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.live-prices-subtitle {
    color: #E0E0E0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.live-prices-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 50%, #B8860B 100%);
    color: #1a2f2f;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.live-prices-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.live-prices-btn:hover::before {
    width: 300px;
    height: 300px;
}

.live-prices-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.5);
}

.live-prices-btn i {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    margin: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #FFD700;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: #fff;
    text-decoration: none;
    height: 100%;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #DAA520;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
    color: #FFD700;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.info-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FFD700;
    text-align: center;
}

.info-text {
    color: #E0E0E0;
    line-height: 1.8;
    text-align: center;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-text {
    color: #B0B0B0;
    font-size: 0.9rem;
}

.footer-text a {
    color: #DAA520;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-text a:hover {
    color: #FFD700;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a2f2f 0%, #2a3f3f 100%);
    margin: auto;
    padding: 2rem;
    border-radius: 20px;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(218, 165, 32, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #B0B0B0;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.modal-note {
    background: rgba(218, 165, 32, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid rgba(218, 165, 32, 0.3);
    color: #FFD700;
    font-size: 0.9rem;
}

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: #B0B0B0;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* IBAN List */
.iban-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.iban-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.iban-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.bank-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.iban-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.iban-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #1a2f2f;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.action-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.action-btn i {
    font-size: 1rem;
}

/* Company Info */
.company-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #B0B0B0;
    line-height: 1.6;
    text-align: center;
}

/* QR Modal */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.qr-content {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.qr-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.qr-close:hover {
    color: #000;
    transform: rotate(90deg);
}

#qrTitle {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

#qrCodeContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 256px;
}

#qrCodeContainer canvas,
#qrCodeContainer img {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

/* Copy Success Message */
.copy-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    display: none;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a2f2f 0%, #2a3f3f 100%);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    display: none;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 90%;
    width: 400px;
    animation: slideUp 0.5s ease;
}

.pwa-install-banner.show {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.pwa-banner-icon {
    font-size: 2rem;
    color: #DAA520;
}

.pwa-banner-content {
    flex: 1;
}

.pwa-banner-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.pwa-banner-text {
    font-size: 0.85rem;
    color: #B0B0B0;
}

.pwa-banner-actions {
    display: flex;
    gap: 0.5rem;
}

.pwa-install-btn {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: #1a2f2f;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pwa-install-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    transform: scale(1.05);
}

.pwa-close-btn {
    background: transparent;
    color: #B0B0B0;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pwa-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    transform: rotate(90deg);
}

/* iOS Install Modal */
.ios-install-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.ios-install-modal.show {
    display: flex;
}

.ios-install-content {
    background: linear-gradient(135deg, #1a2f2f 0%, #2a3f3f 100%);
    padding: 2rem;
    border-radius: 20px;
    max-width: 90%;
    width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(218, 165, 32, 0.3);
    animation: slideIn 0.3s ease;
}

.ios-close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    color: #B0B0B0;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ios-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    transform: rotate(90deg);
}

.ios-install-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ios-install-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ios-install-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-install-step i {
    font-size: 1.5rem;
    color: #DAA520;
    min-width: 30px;
    text-align: center;
}

.ios-install-step span {
    color: #E0E0E0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .iban-number {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .pwa-install-banner {
        width: 95%;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 180px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-link {
        padding: 1.5rem 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .iban-actions {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header,
    .footer,
    .pwa-install-banner,
    .modal {
        display: none !important;
    }
}