/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #F9FAFB;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #4B5563;
}

small {
    font-size: 14px;
    color: #6B7280;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 250ms ease-out;
    min-width: 140px;
}

.btn-primary {
    background-color: #007AFF;
    color: #F9FAFB;
}

.btn-primary:hover {
    background-color: #0059B8;
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(0, 122, 255, 0.12);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background-color: #F3F4F6;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
}

.navbar-brand h2 {
    color: #007AFF;
    margin: 0;
    font-size: 24px;
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 200ms ease;
}

.nav-link:hover {
    color: #007AFF;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5F2FF 100%);
    padding: 160px 0 96px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: #4B5563;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    color: #007AFF;
    margin-bottom: 4px;
}

.stat p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #4B5563;
}

/* Solutions Section */
.solutions {
    padding: 96px 0;
    background-color: #FFFFFF;
}

.solution-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    background-color: #F3F4F6;
    padding: 8px;
    border-radius: 12px;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    color: #6B7280;
}

.tab-button.active {
    background-color: #FFFFFF;
    color: #007AFF;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.solution-item {
    background-color: #F9FAFB;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 300ms ease;
}

.solution-item:hover {
    border-color: #007AFF;
    transform: translateY(-4px);
    box-shadow: 0px 8px 24px rgba(0, 122, 255, 0.12);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.solution-item h3 {
    margin-bottom: 16px;
    color: #111827;
}

.solution-item p {
    color: #4B5563;
}

/* Performance Section */
.performance {
    padding: 96px 0;
    background-color: #F9FAFB;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.performance-card {
    background-color: #FFFFFF;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.performance-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0px 8px 24px rgba(0, 122, 255, 0.12);
}

.performance-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.performance-card h3 {
    font-size: 36px;
    color: #007AFF;
    margin-bottom: 8px;
}

.performance-card p {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.performance-card small {
    color: #6B7280;
    line-height: 1.4;
}

/* About Section */
.about {
    padding: 96px 0;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h3 {
    color: #111827;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 32px;
    font-size: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature strong {
    display: block;
    color: #111827;
    margin-bottom: 8px;
}

.about-feature p {
    margin: 0;
    color: #4B5563;
}

.vision-text {
    margin-top: 32px;
    padding: 24px;
    background-color: #F0F9FF;
    border-radius: 12px;
    border-left: 4px solid #007AFF;
}

.vision-text h4 {
    color: #007AFF;
    margin-bottom: 12px;
}

.vision-text p {
    color: #111827;
    margin: 0;
    font-style: italic;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-stat {
    background-color: #F9FAFB;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
}

.about-stat h4 {
    font-size: 36px;
    color: #007AFF;
    margin-bottom: 8px;
}

.about-stat p {
    color: #4B5563;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 96px 0;
    background-color: #F9FAFB;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h3 {
    margin-bottom: 24px;
    color: #111827;
}

.contact-item {
    margin-bottom: 16px;
    color: #4B5563;
}

.contact-item strong {
    color: #111827;
}

.contact-testimonial {
    margin-top: 32px;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 12px;
    border-left: 4px solid #007AFF;
}

.contact-testimonial blockquote {
    font-style: italic;
    margin-bottom: 12px;
    color: #111827;
}

.contact-testimonial cite {
    color: #6B7280;
    font-size: 14px;
}

.contact-note {
    margin-top: 24px;
    padding: 20px;
    background-color: #FEF3C7;
    border-radius: 8px;
    border-left: 4px solid #F59E0B;
}

.contact-note p {
    color: #92400E;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Forms */
.contact-form {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    height: 56px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    background-color: #FFFFFF;
    transition: all 200ms ease-in-out;
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6B7280;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #F9FAFB;
    padding: 64px 0 32px;
}

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

.footer-brand h3 {
    color: #007AFF;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9CA3AF;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-section h4 {
    color: #F9FAFB;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-section ul li a:hover {
    color: #007AFF;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Typography adjustments */
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    /* Hero section */
    .hero {
        padding: 120px 0 64px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }

    /* Solutions */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 4px;
    }

    /* Performance */
    .performance-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Navigation */
    .navbar-menu {
        display: none;
    }

    /* Button adjustments for mobile */
    .btn {
        width: 100%;
        max-width: 200px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional spacing utilities */
.spacing-xs { margin: 8px; }
.spacing-sm { margin: 16px; }
.spacing-md { margin: 24px; }
.spacing-lg { margin: 32px; }
.spacing-xl { margin: 48px; }
.spacing-xxl { margin: 64px; }
.spacing-xxxl { margin: 96px; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #007AFF;
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
}

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

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* System Architecture Section */
.system-architecture {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.arch-component {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arch-component::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #007AFF, #4CAF50);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.arch-component:hover::before {
    transform: scaleX(1);
}

.arch-component:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.15);
    border-color: #007AFF;
}

.arch-icon {
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
}

.arch-component h4 {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.arch-component p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.arch-component ul {
    list-style: none;
    padding: 0;
}

.arch-component li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95em;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.arch-component li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.arch-component li:last-child {
    border-bottom: none;
}

/* Card hover effects */
.card-hover {
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 32px rgba(0, 122, 255, 0.15);
}

/* Mobile responsive for system architecture */
@media (max-width: 768px) {
    .architecture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .system-architecture {
        padding: 20px;
        margin-top: 20px;
    }
    
    .arch-component {
        padding: 20px;
    }
    
    .arch-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    .arch-component h4 {
        font-size: 1.1em;
    }
    
    .arch-component p {
        font-size: 0.95em;
    }
    
    .arch-component li {
        font-size: 0.9em;
    }
}

/* Contact Guide Styles */
.contact-form-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-guide {
    text-align: center;
}

.contact-guide h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4em;
    font-weight: 600;
}

.contact-guide p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1.1em;
    line-height: 1.6;
}

.consultation-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-benefits li {
    padding: 0.75rem 0;
    color: #495057;
    font-size: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.consultation-benefits li:last-child {
    border-bottom: none;
}

.contact-guide .btn {
    font-size: 1.1em;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.contact-guide .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

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

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border: none;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
}

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

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.close:hover {
    opacity: 1;
}

/* Form Styles */
.inquiry-form {
    padding: 30px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.inquiry-form::-webkit-scrollbar {
    width: 8px;
}

.inquiry-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.inquiry-form::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

.inquiry-form::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.form-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.95em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 8px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    margin: 0;
}

.checkbox-grid label:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.form-submit-section {
    text-align: center;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1e7e34);
}

.submit-note {
    margin-top: 15px;
    color: #6c757d;
    font-size: 0.9em;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3em;
    }
    
    .inquiry-form {
        padding: 20px;
        max-height: calc(95vh - 100px);
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #E5E7EB;
    background: linear-gradient(135deg, #007AFF, #4CAF50);
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-close {
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 0.7;
}

.inquiry-form {
    padding: 30px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.form-section {
    margin-bottom: 32px;
    padding: 24px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.form-section h3 {
    color: #1F2937;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007AFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
    font-size: 14px;
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 12px;
}

.checkbox-row {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.checkbox-label:hover {
    background-color: #F3F4F6;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    width: auto;
    margin: 0;
    transform: scale(1.1);
    accent-color: #007AFF;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    padding: 24px 0;
    border-top: 1px solid #E5E7EB;
    margin-top: 24px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Error Message Styles */
.error-message {
    color: #EF4444;
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: "⚠️";
    font-size: 12px;
}

/* Success/Error States */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

.form-group.has-success input,
.form-group.has-success select,
.form-group.has-success textarea {
    border-color: #10B981;
    background-color: #F0FDF4;
}

/* Loading State for Submit Button */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 32px;
    background-color: #10B981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 300ms ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background-color: #EF4444;
}

.notification.info {
    background-color: #007AFF;
}

/* Scrollbar Styling for Modal */
.inquiry-form::-webkit-scrollbar {
    width: 8px;
}

.inquiry-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.inquiry-form::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.inquiry-form::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .inquiry-form {
        padding: 20px;
    }
    
    .form-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-row {
        flex-direction: column;
        gap: 8px;
    }
}