/* Core styles */
@import url('components/base.css');
@import url('components/variables.css');
@import url('components/animations.css');
@import url('components/typography.css');

/* Layout components */
@import url('components/layout/grid.css');
@import url('components/layout/containers.css');
@import url('components/layout/spacing.css');

/* UI components */
@import url('components/ui/navigation.css');
@import url('components/ui/buttons.css');
@import url('components/ui/cards.css');
@import url('components/ui/forms.css');
@import url('components/ui/alerts.css');
@import url('components/ui/modals.css');
@import url('components/ui/tables.css');

/* Page specific styles */
@import url('components/hero.css');
@import url('components/pages/who-we-are.css');
@import url('components/chess.css');

/* Utils */
@import url('components/utils/helpers.css');
@import url('components/utils/responsive.css');

/* Footer component */
@import url('components/footer.css');

/* Variables */
:root {
    --primary-color: #2196f3;
    --primary-dark: #1976d2;
    --primary-hover: #42a5f5;
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --surface-color: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --radius-md: 8px;
    --btn-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --primary-gradient: linear-gradient(135deg, #00B7FF 0%, #2196f3 100%);
    --card-bg: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.1);
}

/* Homepage Styles */
.homepage {
    min-height: 100vh;
    color: var(--text-primary);
    padding-top: 60px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Feedback Section Styles */
.feedback-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #112240 0%, #1a365d 100%);
    position: relative;
    overflow: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, #64ffda, #00B7FF, #6495ED);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
    filter: blur(8px);
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.feedback-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 1.5rem;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.6;
    animation: fadeIn 1s ease-out;
}

.feedback-service-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2rem;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    animation: fadeIn 1.2s ease-out;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(0, 183, 255, 0.8), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 0;
}

.text-center {
    text-align: center !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.animated-title {
    position: relative;
    padding: 0.5rem 1rem;
    animation: titlePulse 3s ease-in-out infinite;
    transform-origin: center;
}

.animated-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 183, 255, 0), rgba(0, 183, 255, 0.8), rgba(0, 183, 255, 0));
    transform: translateX(-50%);
    border-radius: 50px;
    animation: widthPulse 4s ease-in-out infinite;
}

.animated-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 183, 255, 0), rgba(0, 183, 255, 0.8), rgba(0, 183, 255, 0));
    transform: translateX(-50%);
    border-radius: 50px;
    animation: widthPulse 4s ease-in-out infinite reverse;
}

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

@keyframes widthPulse {
    0%, 100% { width: 60px; opacity: 0.5; }
    50% { width: 120px; opacity: 0.8; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(0, 200, 255, 0.08) 0, rgba(0, 100, 255, 0.05) 30%, transparent 70%),
        radial-gradient(circle at 70% 80%, rgba(0, 150, 255, 0.08) 0, rgba(0, 50, 200, 0.05) 25%, transparent 65%);
    opacity: 0.7;
    z-index: 1;
}

.feedback-section .section-container {
    position: relative;
    z-index: 2;
}

.feedback-container {
    max-width: 700px;
    margin: 3rem auto;
}

.feedback-form {
    background: rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 183, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
}

.feedback-form:hover {
    border-color: rgba(0, 183, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 183, 255, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.inquiry-form textarea {
    min-height: 150px;
    resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: #00B7FF;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 183, 255, 0.2);
}

.inquiry-form button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.inquiry-form button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    transform: translateY(-100%);
    transition: transform 0.6s ease;
}

.inquiry-form button:hover::after {
    transform: translateY(0);
}

/* Removed feedback card styles since they are no longer needed */

/* Legacy hero background styles removed - now using components/hero.css */

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2rem;
    min-height: 90vh;
}

.hero-text {
    max-width: 700px;
    text-align: left;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 183, 255, 0.15);
    color: #00b7ff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 183, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.4);
    transform: translateZ(0);
}

.hero-badge i {
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(0, 183, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 183, 255, 0); }
}

/* Ticker tape animation removed */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}


.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00B7FF 0%, #2196f3 50%, #41a0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 183, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #64b5f6;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(100, 181, 246, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: #a8b2d1;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 650px;
}

.hero-buttons-wrapper {
    display: flex;
    width: 100%;
    margin: 2rem 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    max-width: 100%;
}

.hero-buttons a {
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-button, 
.secondary-button {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.primary-button {
    background: linear-gradient(135deg, #00B7FF 0%, #2196f3 100%);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 183, 255, 0.3);
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2196f3 0%, #00B7FF 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.primary-button:hover::before {
    opacity: 1;
}

.secondary-button {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(0, 183, 255, 0.3);
    color: #00B7FF;
}

.secondary-button:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: rgba(0, 183, 255, 0.5);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 183, 255, 0.4);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.primary-button:hover .btn-icon,
.secondary-button:hover .btn-icon {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons a {
        width: 100%;
        min-width: unset;
    }
    
    .feedback-container {
        width: 90%;
        padding: 0 1rem;
    }
    
    .feedback-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .feedback-container {
        width: 95%;
    }
    
    .feedback-form {
        padding: 1.2rem;
    }
}

.primary-button,
.secondary-button {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-button {
    background: var(--primary-gradient);
    color: var(--text-primary);
    border: none;
}

.secondary-button {
    background: transparent;
    border: 2px solid #00B7FF;
    color: #00B7FF;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow);
}

.features-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #00B7FF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--text-primary);
}

.feature-card h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #8892b0;
    line-height: 1.6;
}

.stats-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #8892b0;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Navigation */
.main-nav {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Dropdown menu - Enhanced */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 6px;
    transition: all 0.3s ease;
}

.nav-dropdown > a::after {
    content: "";
    transition: transform 0.3s ease;
    margin-left: 0;
}

.nav-dropdown.active > a::after {
    transform: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 11000;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(0, 183, 255, 0.25);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 4px 0;
}

/* Đảm bảo dropdown không bị tràn ra ngoài màn hình */
.nav-dropdown:last-child .dropdown-content {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 183, 255, 0.5);
}

.dropdown-item {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-align: center;
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(0, 183, 255, 0.15);
    color: #00B7FF;
    transform: translateY(-2px);
}

/* Đã loại bỏ pseudo-element */

.dropdown-item.active {
    color: #00B7FF;
    background: rgba(33, 150, 243, 0.15);
    font-weight: 600;
}

/* Đã loại bỏ định dạng icon */

/* Only show dropdown when it has the show class (controlled by JS) */
.dropdown-content.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Style for active nav-dropdown */
.nav-dropdown.active > a {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.12);
    border-radius: 8px;
}

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

/* Thay đổi hiệu ứng khi hover vào nav-dropdown */
.nav-dropdown > a:hover {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.1);
    border-radius: 8px;
}

/* Mobile styles for dropdown - optimized */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
    }

    .dropdown-content {
        width: 100%;
        max-width: 280px;
        position: absolute;
        top: 60px;
        left: 50%;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-10px);
        background: rgba(10, 25, 47, 0.98);
        border: 1px solid rgba(0, 183, 255, 0.3);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
        z-index: 1010;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-item {
        padding: 15px 12px;
        font-size: 0.9rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 183, 255, 0.15);
        white-space: normal;
        word-break: normal;
        line-height: 1.3;
        text-align: center;
        display: block;
        width: 100%;
        color: #fff;
        text-decoration: none;
    }

    .dropdown-content.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

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

    .nav-dropdown > a::after {
        margin-left: 2px;
    }
}

@media (max-width: 480px) {
    .dropdown-content {
        width: 85%;
        top: 60px;
    }

    .dropdown-item {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Homepage */
.homepage {
    padding-top: 80px;
}

/* Hero section styles are now in components/hero.css */

/* Who We Are */
.who-we-are {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.97), rgba(17, 34, 64, 0.97));
    position: relative;
    overflow: hidden;
}

.who-we-are-header {
    padding: 8rem 4rem 4rem;
    text-align: center;
    position: relative;
}

.founder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(145deg, rgba(2,12,27,0.8) 0%, rgba(7,27,55,0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.founder-image-wrapper {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.founder-content {
    text-align: left;
}

@media (max-width: 1024px) {
    .who-we-are-header {
        padding: 6rem 2rem 3rem;
    }

    .founder-container {
        padding: 2rem;
    }
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.97), rgba(17, 34, 64, 0.97));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.contact-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(17, 34, 64, 0.95));
    z-index: 2;
}

.ai-waves-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    animation: wave 20s infinite linear;
}

.contact-container {
    position: relative;
    z-index: 2;
    background: rgba(30, 35, 41, 0.75);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--primary-gradient);
    transform: scale(1.1) rotate(10deg);
}

.contact-icon i {
    font-size: 2rem;
    color: #00B7FF;
    transition: var(--transition);
}

.contact-card:hover .contact-icon i {
    color: var(--text-primary);
}

.contact-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contactregar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.1));
    color: #00B7FF;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.contact-link:hover {
    background: var(--primary-gradient);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

.contact-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
}

/* LLM Leaderboard - Responsive enhancement */
.llm-leaderboard-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0f1520 0%, #1a2340 100%);
}

.leaderboard-table-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    color: var(--text-primary);
}

.leaderboard-table thead th {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.leaderboard-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-table a {
    color: #64ffda;
    text-decoration: none;
}

.leaderboard-table a:hover { text-decoration: underline; }

/* Mobile & small screens: convert table to a stacked card-like layout */
@media (max-width: 980px) {
    .leaderboard-table thead { display: none; }
    .leaderboard-table, .leaderboard-table tbody, .leaderboard-table tr, .leaderboard-table td { display: block; width: 100%; }
    .leaderboard-table tr { border: 1px solid rgba(255,255,255,0.2); padding: 0.5rem; margin: 0.5rem 0; }
    .leaderboard-table td { display: block; padding: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.15); position: relative; padding-left: 40%; }
    .leaderboard-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 40%;
        padding-left: 0.75rem;
        font-weight: 600;
        color: #cbd5e1;
        text-transform: uppercase;
    }
}

/* Base styles */
body {
    background: linear-gradient(to bottom, #0a192f 0%, #112240 100%);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}

.app-content {
    flex: 1 0 auto;
    width: 100%;
    overflow-y: visible;
    padding-bottom: 20px;
}

.site-footer, .footer {
    flex-shrink: 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.scrollable-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-container {
    backdrop-filter: blur(12px);
    background: rgba(10, 25, 47, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-left img {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav-left img:hover {
    transform: scale(1.05);
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.1);
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(33, 150, 243, 0.95);
    backdrop-filter: blur(12px);
}

/* Tech Section Styles */
.tech-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    position: relative;
}

.tech-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 200px));
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem auto;
    max-width: 1000px;
}

.tech-logo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 25, 45, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: var(--transition);
    width: 100%;
    height: 100px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.tech-logo-item:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
}

.tech-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
    filter: brightness(1) contrast(1.2);
    transition: var(--transition);
}

/* Brand icons: slightly smaller + keep original brand colors */
.tech-logo.tech-logo--brand {
    max-width: 80px;
    max-height: 30px;
    filter: none;
}

.tech-logo-item:hover .tech-logo {
    filter: brightness(1.1) contrast(1.2);
}

.tech-logo-item:hover .tech-logo.tech-logo--brand {
    filter: none;
}

@media (max-width: 768px) {
    .tech-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .tech-logo-item {
        width: 100%;
        height: 80px;
        padding: 1rem;
    }

    .tech-logo {
        max-width: 120px;
        max-height: 42px;
    }

    .tech-logo.tech-logo--brand {
        max-width: 72px;
        max-height: 28px;
    }
}

@media (max-width: 420px) {
    .tech-logos {
        gap: 1rem;
    }
}

/* Training Partner Section */
.training-partner-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
    position: relative;
    overflow: hidden;
}

.training-partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.partner-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1rem;
    color: #64ffda;
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 500;
}

.partner-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.partner-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    max-width: 1200px;
}

.partner-logo-wrapper {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 600px;
}

.partner-logo-card {
    background: rgba(13, 25, 45, 0.8);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-logo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.partner-logo-wrapper:hover .partner-logo-card {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 15px 50px rgba(100, 255, 218, 0.2);
}

.partner-logo-wrapper:hover .partner-logo-card::before {
    left: 100%;
}

.partner-logo {
    max-width: 250px;
    max-height: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(1) contrast(1.1);
    transition: all 0.3s ease;
}

.partner-logo-wrapper:hover .partner-logo {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

.partner-info {
    margin-top: 1rem;
}

.partner-name {
    color: #ccd6f6;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.partner-institution {
    color: #8892b0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .training-partner-section {
        padding: 3rem 1rem;
    }

    .partner-description {
        font-size: 1.1rem;
    }

    .partner-subtitle {
        font-size: 1rem;
    }

    .partner-logo-card {
        padding: 2rem 1.5rem;
    }

    .partner-logo {
        max-width: 180px;
        max-height: 180px;
        margin-bottom: 1.5rem;
    }

    .partner-name {
        font-size: 1.2rem;
    }

    .partner-institution {
        font-size: 1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .founder-profile {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    /* Hero mobile styles are now in components/hero.css */

    .main-nav {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    body {
        padding-top: 60px;
    }

    .footer {
        padding: 15px 0;
        position: relative;
    }
}

/* Hide LLM Leaderboard section from UI (soft delete) */
.llm-leaderboard-section { display: none !important; }