/* ===================================
   Elvar Landing Page Styles
   Dark mode, minimal, professional
   =================================== */

/* CSS Variables - Color Scheme */
:root {
    --bg-primary: #0f1115;
    --bg-secondary: #141821;
    
    --text-primary: #f5f5f5;
    --text-secondary: #9ca3af;
    
    --border-subtle: #1f2430;
    
    --accent: #3b82f6;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Layout Container
   =================================== */

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===================================
   Header
   =================================== */

header {
    margin-bottom: 4rem;
}

.logo {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===================================
   Main Content
   =================================== */

main {
    flex: 1;
}

section {
    margin-bottom: 3rem;
}

section p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
}

/* About Section */
.about p {
    margin-bottom: 0;
}

/* Products Section */
.products p {
    color: var(--text-primary);
}

/* Support Section */
.support {
    margin-top: 4rem;
    padding-top: 3rem;
}

.support h2 {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.support p {
    margin-bottom: 1.25rem;
}

.email {
    display: inline-block;
    font-size: 1.0625rem;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.email:hover {
    border-bottom-color: var(--accent);
}

.email:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ===================================
   Footer
   =================================== */

footer {
    margin-top: 4rem;
    padding-top: 2rem;
}

footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.copyright {
    margin-bottom: 0.625rem;
}

.legal {
    margin-bottom: 0;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet and larger */
@media (min-width: 640px) {
    .container {
        padding: 4rem 2rem;
    }
    
    header {
        margin-bottom: 4.5rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.0625rem;
    }
    
    section {
        margin-bottom: 3.5rem;
    }
    
    section p {
        font-size: 1.0625rem;
    }
    
    .support {
        margin-top: 4.5rem;
    }
    
    .support h2 {
        font-size: 1.5rem;
    }
    
    .email {
        font-size: 1.125rem;
    }
    
    footer {
        margin-top: 4.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 4rem 2rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

