/* Main CSS for Virtuous Commerce */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables */
:root {
    --black: #000000;
    --near-black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --section-dark: #0f0f0f;
    --section-light: #f8f8f8;
    --mid-grey: #333333;
    --light-grey: #666666;
    --pale-grey: #999999;
    --border-light: #e0e0e0;
    --near-white: #cccccc;
    --white: #ffffff;
    --off-white: #fafafa;
}

/* Selection */
::selection {
    background: var(--white);
    color: var(--black);
}

/* Body */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 100;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 100;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 100;
    letter-spacing: -0.02em;
}

/* Section Base Styles */
section {
    padding: 10rem 0;
}

/* Container Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Dividers */
.section-divider {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.divider-line {
    width: 90%;
    max-width: 1400px;
    height: 1px;
    background: var(--border-light);
}

.divider-dark {
    background: var(--dark-grey);
}

/* Buttons */
.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 1px solid var(--white);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 1px solid var(--border-light);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

/* Form Styles */
.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--mid-grey);
    color: var(--white);
    padding: 1rem 0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-input::placeholder {
    color: var(--light-grey);
}

.form-input:focus {
    outline: none;
    border-color: var(--white);
}

.form-submit {
    background: transparent;
    border: 1px solid var(--mid-grey);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
    margin-top: 2rem;
    width: 100%;
}

.form-submit:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

/* Responsive Utilities */
@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    h2 {
        font-size: clamp(2.5rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
}