/* =============================================
   ShipMint — Base Styles
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* Material Symbols settings — matches the Google Fonts configuration */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Skip Navigation Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--navy);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section spacing */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section--dark {
    background: var(--navy);
    color: var(--text-primary);
}

.section--surface {
    background: var(--navy-surface);
    color: var(--text-primary);
}

.section--light {
    background: var(--light-bg);
    color: var(--light-text);
}

/* Section header (centered) */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-label .material-symbols-outlined {
    font-size: 16px;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section--light .section-header h2 {
    color: var(--light-text);
}

.section--light .section-label {
    color: var(--blue);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.7;
}

.section--light .section-header p {
    color: var(--light-text-secondary);
}

/* Light section card overrides */
.section--light .step-card,
.section--light .feature-card,
.section--light .faq-item {
    background: var(--light-surface);
    border-color: var(--light-border);
}

.section--light .step-card:hover,
.section--light .feature-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 144, 255, 0.25);
}

.section--light .step-card h3,
.section--light .feature-card h3 {
    color: var(--light-text);
}

.section--light .step-card p,
.section--light .feature-card p {
    color: var(--light-text-secondary);
}

.section--light .faq-question {
    background: var(--light-surface);
    color: var(--light-text);
}

.section--light .faq-answer {
    background: var(--light-surface);
}

.section--light .faq-answer p {
    color: var(--light-text-secondary);
}

.section--light .faq-item {
    border-color: var(--light-border);
}

.section--light .faq-item:hover {
    border-color: rgba(30, 144, 255, 0.25);
}

.section--light .faq-question .material-symbols-outlined {
    color: var(--light-text-muted);
}

.section--light .faq-item.active .faq-question .material-symbols-outlined {
    color: var(--blue);
}

/* Section divider — angled transition */
.section-divider {
    position: relative;
    height: 0;
    overflow: visible;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: block;
}

.section-divider--dark-to-light svg {
    fill: var(--light-bg);
}

.section-divider--light-to-dark {
    background: var(--light-bg);
}

.section-divider--light-to-dark svg {
    fill: var(--navy);
}

.section-divider--dark-to-light {
    background: var(--navy);
}

/* Highlighted text */
.highlight-blue {
    background: linear-gradient(135deg, var(--blue), #5BB5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-teal {
    color: var(--teal);
}

/* Utility: screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Utility: fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility: staggered children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}