.page-main-content {
    padding-top: 60px;
}

:root {
    --theme-color: #3b82f6;
    --subText-color: #9ca3af;
    --dark-color: #e5e7eb;
    --white-color: #111827;
    --bg-secondary: #1f2937;
}

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

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    word-break: keep-all;
    background-color: var(--white-color);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #374151;
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 1.8rem;
    width: auto;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: -0.05em;
    line-height: 1;
}

.logo-text sup {
    font-size: 0.6rem;
    top: -0.7em;
    position: relative;
    font-weight: 300;
    color: #a0aec0;
    line-height: 0;
    vertical-align: baseline;
}

.navbar .nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--theme-color);
    transform: scaleX(0);
    transition: transform 0.1s ease-in-out;
}

.navbar .nav-links a:hover {
    color: var(--theme-color);
}

.navbar .nav-links a:hover::after {
    transform: scaleX(1);
}

.hamburger-menu {
    display: none;
    font-size: 36px;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark-color);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background-color: var(--bg-secondary);
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
}

.modal-content.active {
    right: 0;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: var(--dark-color);
    text-decoration: none;
}

.modal-nav-links a {
    display: block;
    padding: 15px 0;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #374151;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid var(--theme-color);
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease-out;
    box-shadow: 0px 0px 2rem rgba(255, 255, 255, 0.4);
}

.cta-button::after {
    content: '→';
    position: absolute;
    opacity: 0;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%) translateX(10px);
    transition: all 0.25s ease-out;
    font-weight: 600;
    color: #ffffff;
}

.cta-button:hover {
    color: #ffffff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4), 0px 0px 3rem rgba(255, 255, 255, 0.6);
    padding-right: 3.5rem;
}

.cta-button:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    right: 1.5rem;
}
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.gigafloors-footer {
    color: #F8F9FA;
    line-height: 1.5;
}

.footer-black-body {
    background-color: #000000;
    color: #F8F9FA;
    padding: 40px 20px 0;
}

.body-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    padding-bottom: 40px;
}

.main-info {
    flex: 1 1 300px;
}

.footer-black-body .logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
    display: block;
    margin-bottom: 15px;
}

.company-desc {
    font-size: 0.9em;
    color: #AAAAAA;
    line-height: 1.6;
    margin-bottom: 20px;
}

.links-container {
    display: flex;
    flex: 2 1 500px;
    justify-content: space-between;
    gap: 30px;
}

.info-group {
    flex: 1 1 150px;
    font-size: 0.9em;
}

.group-title {
    color: #FFFFFF;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.info-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-group li {
    margin-bottom: 8px;
}

.info-group a {
    color: #AAAAAA;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}

.info-group a:hover {
    color: #FFFFFF;
}

.sub-footer-bottom {
    border-top: 1px solid #333333;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.sub-footer-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: #AAAAAA;
}

.company-details p {
    margin: 5px 0;
}

.copyright-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8em;
    color: #888888;
    padding: 10px 0 30px;
}

.gigaflops-mega {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gigaflops-mega .mega-text {
    text-align: center;
    font-size: 15vw;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 0;
    line-height: 1.2;
    background-image: linear-gradient(to top,
    #000000 25%,
    rgba(255, 255, 255, 0.1) 35%,
    #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .user-logos {
        gap: 3rem;
    }
}
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.contact-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-backdrop.active {
    opacity: 1;
}

.contact-panel {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 500px;
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-panel.active {
    transform: scale(1);
    opacity: 1;
}

.contact-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--subText-color);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.contact-close-btn:hover {
    color: var(--dark-color);
    transform: rotate(90deg);
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--subText-color);
}

.contact-form-group {
    margin-bottom: 1.25rem;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--subText-color);
    margin-bottom: 0.5rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--white-color);
    border: 1px solid #374151;
    border-radius: 8px;
    color: var(--dark-color);
    font-size: 1rem;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #555e71;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

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

.contact-form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--theme-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.contact-submit-btn:hover {
    background-color: #2563eb;
    transform: scale(1.02);
}

.contact-submit-btn:disabled {
    background-color: #374151;
    cursor: not-allowed;
}

.is-glitching {
    filter: url(#glitch-filter);
}

#scroll-fx-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 130, 246, 0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.1s ease;
}

#scroll-fx-overlay.active {
    opacity: 0.2;
}

.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-out;
    color: white;
}

.fab-primary {
    background-color: var(--theme-color);
}

.fab-primary svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.fab-primary:hover {
    background-color: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.fab-secondary {
    background-color: var(--bg-secondary);
    border: 1px solid #374151;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.fab-secondary svg {
    width: 28px;
    height: 28px;
}

.fab-secondary.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.fab-secondary:hover {
    background-color: #374151;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 1rem;
        right: 1rem;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 1rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Pretendard', sans-serif;
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.8em;
}

.dropdown-toggle:hover::after {
    transform: scaleX(0);
}

.dropdown.active .dropdown-toggle {
    color: var(--theme-color);
}

.dropdown-content {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background-color: var(--bg-secondary);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 1001;
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.navbar .nav-links .dropdown-content a {
    color: var(--dark-color);
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.7rem 1.5rem;
    margin: 0;
}

.navbar .nav-links .dropdown-content a svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.navbar .nav-links .dropdown-content a:hover svg {
    opacity: 1;
}

.navbar .nav-links .dropdown-content a::after {
    display: none;
}

.navbar .nav-links .dropdown-content a:hover {
    background-color: #374151;
    color: #fff;
    transform: none;
}
.navbar .nav-links a.active {
    color: var(--theme-color);
}

.navbar .nav-links a.active::after {
    transform: scaleX(1);
}