/* General Body & Font Styles */
:root {
    --color-custom-dark: #0d1117;
    --color-text-primary: #c9d1d9;
    --color-text-secondary: #9FA6B2; /* Increased contrast */
    --color-text-tertiary: #c9d1d9; /* Increased contrast */
    --color-border-custom: rgba(255, 255, 255, 0.1);
    --color-bg-black: #000000;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-custom-dark);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Reusable Components */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.text-gradient {
    background: linear-gradient(135deg,#dc2626,#ef4444,#f87171,#3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bg-gradient {
    background: linear-gradient(135deg, #dc2626, #ef4444, #f87171, #3b82f6);
}
.bg-gradient:hover {
    background: linear-gradient(135deg, #b91c1c, #d93737, #f46262, #2563eb);
}
.hidden { display: none; }

/* Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-custom);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo-link {
    display: block;
    width: 10rem;
}

.logo-img {
    height: 100%;
    width: auto;
}

.desktop-nav-group {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav-group { display: flex; }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    background: linear-gradient(135deg,#dc2626,#ef4444,#f87171,#3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link.active {
    background: linear-gradient(135deg,#dc2626,#ef4444,#f87171,#3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.get-started-btn {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.mobile-menu-btn {
    display: block;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}
@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}
.hamburger-icon {
    height: 1.5rem;
    width: 1.5rem;
}

.mobile-menu {
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
    .mobile-menu { display: none; }
}

.mobile-menu-link {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}
.mobile-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn-container {
    padding: 1rem;
}

.mobile-get-started {
    display: block;
    text-align: center;
}

/* Main Content Wrapper for Sticky Footer */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.contact-card {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border-custom);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.4s ease;
}

@media (min-width: 768px) {
    .contact-card { padding: 3rem; }
}

.contact-card:hover {
    border-color: transparent;
}
.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #dc2626, #ef4444, #f87171, #3b82f6);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}
.contact-card:hover::before {
    opacity: 1;
}

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

.contact-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: white;
}

.contact-subheading {
    margin-top: 0.5rem;
    color: var(--color-text-tertiary);
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.contact-text {
    font-weight: 600;
    color: white;
}

.contact-link, .contact-value {
    font-weight: 400;
    color: #d1d5db;
}

.contact-link:hover {
    background: linear-gradient(135deg,#dc2626,#ef4444,#f87171,#3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-black);
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-custom);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.footer-about {
    grid-column: span 1 / span 1;
}

@media (min-width: 768px) {
    .footer-about { grid-column: span 2 / span 2; }
}

.footer-logo-wrapper {
    width: 9rem;
}
.footer-logo-img {
    width: 100%;
    height: auto;
}

.footer-description {
    margin-top: 1rem;
    line-height: 1.5;
    color: var(--color-text-tertiary);
    max-width: 28rem;
}

.footer-heading {
    font-weight: 600;
    color: #e5e7eb;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-tertiary);
}
.footer-links li:hover {
    color: white;
}

.footer-socials {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-text-tertiary);
    transition: color 0.2s;
}
.social-icon:hover {
    color: white;
}


.footer-copyright-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--color-border-custom);
    text-align: center;
}

.footer-copyright {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
}
