/* Base Styling for NexCore Dynamics - Premium Industrial Exporter Site */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --card-dark: #1e293b;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition-speed: 0.3s;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* Header & Navigation */
header {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.logo span {
    color: var(--primary);
}

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 60%, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hardware-mockup {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #1e293b, #020617);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hardware-mockup::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(60px);
    opacity: 0.15;
}

.status-ring {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feature Grid */
.features-section {
    background-color: #0b1120;
    padding: 6rem 2rem;
}

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

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

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-dark);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Products Detail List */
.products-list {
    padding: 6rem 2rem;
}

.product-row {
    display: grid;
    grid-template-cols: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.product-row:nth-child(even) {
    direction: rtl;
}

.product-row:nth-child(even) .product-info {
    direction: ltr;
}

.product-media {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

.product-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-tag {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.product-info p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.product-specs td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.product-specs td:first-child {
    color: #64748b;
    font-weight: 500;
    width: 40%;
}

.product-specs td:last-child {
    color: var(--text-light);
    font-weight: 600;
}

/* Forms & Contacts */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1fr 1.2fr;
    gap: 4rem;
    padding: 6rem 2rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background-color: #0b1120;
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.2rem;
    border-radius: 0.75rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color var(--transition-speed);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background-color: #020617;
    padding: 4rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1.5fr repeat(3, 0.8fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #64748b;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-cols: 1fr;
        padding-top: 4rem;
        gap: 3rem;
    }
    .product-row {
        grid-template-cols: 1fr;
    }
    .product-row:nth-child(even) {
        direction: ltr;
    }
    .contact-container {
        grid-template-cols: 1fr;
    }
    .footer-grid {
        grid-template-cols: 1fr 1fr;
    }
}
