/* CommerceSong LLC — Polished Professional Styling */

:root {
    --color-text: #1a1a2e;
    --color-text-secondary: #4a4a5a;
    --color-text-tertiary: #6b6b7b;
    --color-background: #ffffff;
    --color-background-subtle: #f7f8fa;
    --color-background-warm: #fafbfc;
    --color-accent: #3d5a80;
    --color-accent-light: #4a6fa5;
    --color-accent-subtle: #e8eef4;
    --color-border: #e2e4e9;
    --color-border-subtle: #eef0f3;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --container-width: 760px;
    --spacing-section: 5rem;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

html {
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Layout */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(61, 90, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(61, 90, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.hero .tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero .intro {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 580px;
}

/* Main Content */
main {
    flex: 1;
}

/* Sections */
.section {
    padding: var(--spacing-section) 0;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.25rem;
}

/* Services Section */
.section--services {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border-subtle);
}

.services-grid {
    display: grid;
    gap: 1rem;
}

.service {
    padding: 1.5rem 1.75rem;
    background: var(--color-background);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.service:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-subtle);
    transform: translateY(-1px);
}

.service h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.service p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    padding-left: 1rem;
}

/* Approach Section */
.section--approach {
    background: linear-gradient(180deg, var(--color-background-subtle) 0%, var(--color-background-warm) 100%);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.section--approach > .container {
    max-width: 640px;
}

.section--approach p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.approach-list {
    margin: 1.75rem 0 2rem;
    padding-left: 0;
    list-style: none;
}

.approach-list li {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.85rem;
    padding-left: 1.75rem;
    position: relative;
}

.approach-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.closing {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    background: var(--color-background);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    margin-top: 1.75rem;
}

/* Principal Section */
.section--principal {
    background-color: var(--color-background);
    padding-bottom: 4rem;
}

.principal-card {
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafd 100%);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.principal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.principal-card .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    background: var(--color-accent-subtle);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.principal-card .name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.principal-card > p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.link-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    background: var(--color-background);
    border: 1.5px solid var(--color-accent);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.link-linkedin:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Contact Section */
.section--contact {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--color-background-subtle) 0%, #eef1f5 100%);
    border-top: 1px solid var(--color-border-subtle);
    text-align: center;
}

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

.email {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    background: var(--color-background);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.email:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    color: var(--color-accent-light);
}

/* Footer */
footer {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(135deg, #1a2332 0%, #263140 50%, #1e2a38 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 640px) {
    html {
        font-size: 16px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 3.5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .section h2 {
        font-size: 1.35rem;
    }
    
    .service {
        padding: 1.25rem 1.5rem;
    }
    
    .service h3::before {
        width: 6px;
        height: 6px;
    }
    
    .service p {
        padding-left: 0.75rem;
    }
    
    .principal-card {
        padding: 2rem 1.75rem;
    }
    
    .principal-card .name {
        font-size: 1.6rem;
    }
}

/* Subtle animation for interactive elements */
a {
    transition: all 0.2s ease;
}
