/* 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, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background-color: rgba(10, 10, 10, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 2rem;
    width: 2rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.company-name {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22d3ee;
}

.company-info {
    font-size: 0.75rem;
    color: #a3a3a3;
}

/* Desktop Navigation - Hidden on Mobile */
.nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

.partner-btn {
    display: none;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #0a0a0a;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.partner-btn:hover {
    background-color: #f5f5f5;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #d4d4d4;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.menu-icon, .close-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hidden {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    color: #d4d4d4;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.mobile-partner-btn {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    text-align: center;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.mobile-partner-btn:hover {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: 
        radial-gradient(ellipse at top, rgba(56, 189, 248, 0.35), transparent 60%),
        radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    max-width: 48rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #d4d4d4;
}

.hero-note {
    color: #a3a3a3;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-primary {
    display: inline-block;
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    background-color: #22d3ee;
    color: #0a0a0a;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #67e8f9;
}

.btn-secondary {
    display: inline-block;
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    background-color: #262626;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #404040;
}

.hero-address {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #a3a3a3;
}

/* Section Styles */
.section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-alt {
    background-color: rgba(23, 23, 23, 0.4);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-description {
    color: #d4d4d4;
    max-width: 48rem;
    margin-bottom: 2.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.feature-card {
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.feature-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: #22d3ee;
}

.feature-title {
    font-weight: 600;
}

.feature-description {
    font-size: 0.875rem;
    color: #a3a3a3;
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.sector-card {
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sector-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: #22d3ee;
}

.sector-title {
    font-weight: 600;
}

.sector-points {
    list-style: disc;
    list-style-position: inside;
    font-size: 0.875rem;
    color: #a3a3a3;
}

.sector-points li {
    margin-bottom: 0.25rem;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.kpi-card {
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-value {
    font-size: 1.875rem;
    font-weight: 800;
}

.kpi-label {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #a3a3a3;
}

/* Integration Grid */
.integration-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.integration-card {
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.integration-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: #22d3ee;
}

.integration-title {
    font-weight: 600;
}

.integration-points {
    list-style: disc;
    list-style-position: inside;
    font-size: 0.875rem;
    color: #a3a3a3;
}

.integration-points li {
    margin-bottom: 0.25rem;
}

/* Security List */
.security-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4d4d4;
}

.security-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: #22d3ee;
}

/* CTA Section */
.cta-section {
    background-color: rgba(23, 23, 23, 0.6);
}

.cta-card {
    border-radius: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-description {
    color: #d4d4d4;
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cta-info {
    font-size: 0.875rem;
    color: #a3a3a3;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0 1rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #a3a3a3;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    font-size: 0.875rem;
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

/* Hosting Section - Separated Style */
.hosting-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.hosting-link {
    text-align: center;
    font-size: 0.875rem;
    color: #737373;
}

.hosting-link a {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.hosting-link a:hover {
    color: #67e8f9;
}

/* ==================== */
/* MEDIA QUERIES - FIXED */
/* ==================== */

/* Mobile First - Default styles are for mobile */

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    /* Hide mobile menu button on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Show desktop navigation on tablet/desktop */
    .nav-menu {
        display: flex;
    }
    
    .partner-btn {
        display: inline-block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .footer-container {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kpi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content {
        padding: 7rem 0;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .security-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-card {
        padding: 3rem;
    }
}

/* Mobile specific styles - Ensure mobile menu button is visible only on mobile */
@media (max-width: 767px) {
    .nav-menu {
        display: none !important;
    }
    
    .partner-btn {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
}