/* styleClaude.css - Secure CSS with enhanced styling */

/* Base styles with security considerations */
* {
    box-sizing: border-box;
}

/* Prevent content injection via CSS */
*::before,
*::after {
    content: none !important;
}

/* Disable user-select on sensitive elements */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Main container */
.container {
    width: 100vw;
    height: 100vh;
    padding: 0;
    border: 0;
    margin: 0;
    background: linear-gradient(135deg, #610a60 0%, #8b1a8b 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
}

/* Contact Button */
.contact-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #610a60, #8b1a8b);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(97, 10, 96, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(97, 10, 96, 0.4);
    background: linear-gradient(135deg, #7a0c79, #a01fa0);
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(97, 10, 96, 0.3);
}

.contact-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalBackdropFadeIn 0.3s ease;
}

@keyframes modalBackdropFadeIn {
    from { 
        opacity: 0; 
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1; 
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 5% auto;
    padding: 40px;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(97, 10, 96, 0.2);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #610a60, #8b1a8b, #610a60);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -10px -10px 0 0;
}

.close:hover,
.close:focus {
    color: #610a60;
    background-color: rgba(97, 10, 96, 0.1);
    outline: none;
}

/* Form Styles */
.modal-content h2 {
    color: #610a60;
    margin-bottom: 30px;
    font-family: inherit;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #610a60, #8b1a8b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-family: inherit;
    font-size: 14px;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #610a60;
    box-shadow: 
        0 0 0 3px rgba(97, 10, 96, 0.1),
        0 4px 15px rgba(97, 10, 96, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.submit-btn {
    background: linear-gradient(135deg, #610a60, #8b1a8b);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(97, 10, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::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.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7a0c79, #a01fa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(97, 10, 96, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(97, 10, 96, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideDown 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.notification-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* SVG Circle Animations */
.circle-group {
    opacity: 0;
    transform: scale(0);
    animation: circleAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    cursor: pointer;
}

.circle-group circle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-text {
    transform: translateY(0%) scale(0);
    opacity: 0;
    pointer-events: none;
    animation: textAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: all 0.3s ease;
}

/* Enhanced animations */
@keyframes circleAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(-90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hover effects for circles */
.circle-group:hover circle {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.circle-group:hover .circle-text {
    transform: translateY(0) scale(1.05);
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .contact-button {
        top: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .modal-content h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group textarea {
        border-width: 3px;
    }
    
    .submit-btn,
    .contact-button {
        border: 2px solid white;
    }
}

/* Focus visible for better keyboard navigation */
.contact-button:focus-visible,
.submit-btn:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid #610a60;
    outline-offset: 2px;
}

/* Print