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

:root {
    --primary-color: #000000;
    --primary-dark: #000000;
    --secondary-color: #000000;
    --accent-color: #000000;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-offwhite: #ffffff;
    --bg-section: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f5;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --gradient-1: linear-gradient(135deg, #000000 0%, #000000 100%);
    --gradient-2: linear-gradient(135deg, #000000 0%, #000000 100%);
    --gradient-3: linear-gradient(135deg, #000000 0%, #000000 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Abstract Texture Background - Removed colored gradients */

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.01) 2px, rgba(0, 0, 0, 0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.01) 2px, rgba(0, 0, 0, 0.01) 4px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #000000;
    box-shadow: var(--shadow-sm);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #000000;
    z-index: 0;
}


.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 2.4;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: 0.2px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    border: 2px solid #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #333333;
    border-color: #333333;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
}

/* Hero section override */
section.hero {
    background-color: #000000;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666666;
}

/* Products Section */
.products {
    background: #ffffff;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Abstract texture on card */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.01) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #000000;
    box-shadow: var(--shadow-xl);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-content {
    color: var(--text-secondary);
}

.product-intro {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.product-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.product-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.keyword {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Solutions Section */
.solutions {
    background: #ffffff;
    position: relative;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(0, 0, 0, 0.01) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: #000000;
    box-shadow: var(--shadow-xl);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-header {
    margin-bottom: 1.5rem;
}

.solution-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.solution-for {
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
}

.solution-content {
    color: var(--text-secondary);
}

.solution-outputs-title,
.solution-deliverables-title {
    font-weight: 600;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.solution-list {
    list-style: none;
    margin-bottom: 1.2rem;
}

.solution-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.solution-value {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-left: 3px solid #000000;
    border-radius: 6px;
    color: var(--text-primary);
    line-height: 1.6;
}

.solution-value strong {
    color: #000000;
}

/* About & Contact Section */
.about-contact {
    background: #ffffff;
    position: relative;
}

.about-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-section .section-title,
.contact-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.infrastructure {
    margin-bottom: 2rem;
}

.infrastructure-title,
.mission-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.infrastructure-list {
    list-style: none;
    color: var(--text-secondary);
}

.infrastructure-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.infrastructure-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.mission {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border-left: 4px solid #000000;
    position: relative;
    overflow: hidden;
}

.mission-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.contact-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

.contact-info {
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    color: #000000;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    color: #666666;
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

    .product-card,
    .solution-card {
        padding: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .product-card,
    .solution-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

/* Technology-inspired scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}
