/* Base Reset & Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: #16161f;
    --color-text: #e8e8ed;
    --color-text-muted: #8b8b99;
    --color-accent-blue: #3b82f6;
    --color-accent-cyan: #22d3ee;
    --color-accent-orange: #f97316;
    --color-accent-green: #10b981;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-truth {
    color: var(--color-text);
}

.logo-setter {
    color: var(--color-accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s var(--ease-out);
}

.nav-links a:hover {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 70% 30%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Styles */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-cyan);
    margin-bottom: 1rem;
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
}

/* Products Section */
.products-section {
    padding: 8rem 2rem;
    background: var(--color-bg-secondary);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.alphasignal-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.eaftos-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
}

.product-logo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.product-tagline {
    color: var(--color-accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.eaftos-card .product-tagline {
    color: var(--color-accent-orange);
}

.product-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.product-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
}

.eaftos-card .product-features li::before {
    color: var(--color-accent-orange);
}

.product-link {
    display: inline-block;
    color: var(--color-accent-cyan);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.2s var(--ease-out);
}

.product-link:hover {
    text-decoration: underline;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-accent-orange);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-accent-cyan);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-column a,
.footer-column span {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-accent-cyan);
}

.footer-column span {
    color: var(--color-text-muted);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Contact & Legal Pages */
.page-container {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul {
    color: var(--color-text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--color-accent-cyan);
}

.contact-info {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info strong {
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
