/* NousBase Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
    background: #f8f9fa;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0891b2;
    --accent: #7c3aed;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --border: #e2e8f0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.03), transparent 60%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.3;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 80px 0;
    background: white;
    margin: 40px 0;
}

section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-dark);
}

section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
}

.principle {
    margin: 24px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
    transition: border-color 0.3s;
}

.principle:hover {
    border-left-color: var(--accent);
}

.principle-title {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Domain Grid */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.domain-item {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.domain-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    border-color: transparent;
}

/* Method List */
.method-list {
    margin-top: 32px;
}

.method-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    color: var(--text-dark);
    position: relative;
    padding-left: 24px;
}

.method-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.method-item:last-child {
    border-bottom: none;
}

/* Products Showcase */
.products {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
}

.products h2 {
    text-align: center;
    margin-bottom: 48px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.product-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cinansys Section */
.cinansys-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cinansys-section .container {
    position: relative;
    z-index: 1;
}

.cinansys-section h2 {
    color: white;
}

.cinansys-section p {
    color: #cbd5e1;
}

.cinansys-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cinansys-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.footer-socials a {
  color: #555;
  font-size: 22px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: #000;
  transform: translateY(-2px);
}


/* Footer */
footer {
    background: white;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.closing {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 32px;
}

.footer-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    section h2 {
        font-size: 26px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .domain-grid {
        grid-template-columns: 1fr;
    }
}