
/* Topcone Design System - Calm, architectural, restrained */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --background: hsl(220, 14%, 96%);
    --foreground: hsl(220, 20%, 18%);
    --card: hsl(0, 0%, 100%);
    --primary: hsl(210, 80%, 30%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(220, 14%, 94%);
    --muted: hsl(220, 12%, 92%);
    --muted-foreground: hsl(220, 10%, 46%);
    --border: hsl(220, 12%, 88%);
    --slate: hsl(210, 45%, 20%);
    --slate-foreground: hsl(210, 20%, 95%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

p {
    text-wrap: pretty;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(238, 241, 244, 0.95);
    backdrop-filter: blur(8px);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

.contact-link:hover {
    opacity: 0.8;
}

/* Sections */
section {
    padding: 6rem 1.5rem;
    position: relative;
}

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

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.section-title-area {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-divider {
    width: 3rem;
    height: 1px;
    background-color: var(--primary);
    opacity: 0.3;
}

.section-content {
    max-width: 48rem;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 48rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 300;
    color: var(--foreground);
    margin-bottom: 2.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--foreground);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-subtext {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.2s;
    margin-top: 1.5rem;
}

.cta-button:hover {
    opacity: 0.9;
}

/* List Items */
.list-items {
    list-style: none;
    margin-top: 1.5rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    opacity: 0.4;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Text Blocks */
.text-block {
    margin-bottom: 2rem;
}

.text-large {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--foreground);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.text-medium {
    font-size: 1.125rem;
    color: var(--foreground);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.text-base {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.text-primary {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
}

.callout {
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary);
    opacity: 0.4;
    margin-top: 2.5rem;
}

.callout p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--foreground);
    opacity: 0.9;
}

/* Background Variants */
.bg-card {
    background-color: var(--card);
}

.bg-slate {
    background-color: var(--slate);
    color: var(--slate-foreground);
}

.bg-slate h2,
.bg-slate .section-title {
    color: var(--slate-foreground);
}

.bg-slate .text-base,
.bg-slate .list-item {
    color: rgba(229, 235, 241, 0.8);
}

/* Contact Section */
.contact-info {
    margin-top: 2.5rem;
}

.contact-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--slate-foreground);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.contact-link-item:hover {
    color: var(--primary);
}

.contact-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 235, 241, 0.1);
}

.contact-links-title {
    font-size: 0.875rem;
    color: rgba(229, 235, 241, 0.5);
    margin-bottom: 0.75rem;
}

.contact-links a {
    display: block;
    font-size: 0.875rem;
    color: rgba(229, 235, 241, 0.6);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: var(--slate-foreground);
}

.logo-container {
    margin-top: 2rem;
    text-align: right;
}

.footer-logo {
    height: 5rem;
    width: auto;
    opacity: 0.6;
}

/* HiddenCost Article Page */
.article-container {
    padding: 8rem 1.5rem 4rem;
    max-width: 48rem;
    margin: 0 auto;
}

.article-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4rem;
}

.article-content {
    margin-top: 3rem;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.article-section p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-callout {
    padding-left: 1rem;
    border-left: 1px solid rgba(var(--primary), 0.2);
    margin: 1rem 0;
}

.article-callout p {
    margin-bottom: 0.75rem;
}

.emphasis {
    color: var(--foreground);
    opacity: 0.9;
}

/* Geometric Decorations (hidden on mobile) */
.geometric {
    position: absolute;
    border: 1px solid var(--primary);
    opacity: 0.15;
    display: none;
}

/* Responsive */
@media (min-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-text {
        font-size: 1.25rem;
    }
    
    .text-large {
        font-size: 1.875rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .geometric {
        display: block;
    }
    
    .section-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 5rem;
    }
    
    .section-title-area {
        grid-column: 1 / span 4;
        position: sticky;
        top: 8rem;
        align-self: start;
    }
    
    .section-content {
        grid-column: 6 / span 7;
    }
    
    section {
        padding: 8rem 3rem;
    }
    
    .footer-logo {
        height: 7rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .article-title {
        font-size: 3rem;
    }
}

/* ========================================
   NEW STYLES FOR WHAT-WE-BUILD PAGE
   Add these to your existing styles.css
   ======================================== */

/* Hero Section - Simpler variant for internal pages */
.hero-section-simple {
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Example Note (for "Example: Scan-N-Order" and "Example: Beacyn") */
.example-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    opacity: 0.6;
    font-style: italic;
    margin-top: 2rem;
}

/* For dark slate sections */
.bg-slate .example-note {
    color: var(--slate-foreground);
}

/* Responsive adjustments for hero-section-simple */
@media (min-width: 768px) {
    .hero-section-simple {
        padding: 8rem 3rem;
    }
}
