/* css/_base.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: var(--line-height-body);
    color: var(--text-body-neutral);
    overflow-x: hidden;
    /* Optional: If you want to set the body background explicitly */
    /* background: var(--body-background); */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Varela Round', sans-serif;
    color: var(--text-header-neutral);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--modal-background); 
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--padding-xl) var(--padding-xxxxl);
    box-shadow: var(--nav-shadow);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: var(--padding-sm) var(--padding-xxxxl);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-heading-h2);
    font-weight: 700;
    font-family: 'Varela Round', sans-serif;
	text-wrap: nowrap;
    color: var(--orange-dark);
    text-decoration: none;
    display: inline-flex;
    gap: var(--gap-xl);
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.logo img {
    height: var(--space-2-5);
    width: var(--space-2-5);
}

.logo span {
}

.nav-links {
    display: flex;
    gap: var(--gap-xxxxl);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-label-neutral); 
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--orange-darker);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem; /* -5px */
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--orange-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section with Parallax */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--green-gradient);
    transform-origin: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 var(--padding-xxxxl);
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: var(--font-size-xxxl); 
    font-weight: 700;
	color: white;
    margin-bottom: var(--margin-xxxl);
    line-height: var(--line-height-header);
}

.hero-content p {
    font-size: var(--font-size-md);
    margin-bottom: var(--margin-xxxxl);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--gap-xl);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    min-height: 100vh;
    padding: var(--padding-xxxxxxxl) var(--padding-xxxxl);
    display: flex;
    align-items: center;
    justify-content: center;
}

single-section {
    min-height: 100vh;
    padding: var(--space-6-25) var(--padding-xxxxl);
    display: flex;
    align-items: start;
    justify-content: center;
}

.section-container,
.section-container-centered {
    max-width: 1400px;
    width: 100%;
}

.section-container-centered {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: var(--margin-xxxxl);
}

.section-header h2 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: var(--margin-xl);
    color: var(--text-header-neutral);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-subtitle);
    max-width: 700px;
    margin: 0 auto;
}

/* Background Colors */
#features {
    background: var(--grey-lighter);
}

#pricing {
    background: var(--body-background);
}

#contact {
    background: var(--body-background);
}

/* Footer */
.footer {
    background: var(--footer-background); 
    color: white;
    padding: var(--padding-xxxxxxxl) var(--padding-xxxxl) var(--padding-xxxxl);
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-xxxxxxl);
    margin-bottom: var(--margin-xxxxxxl);
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--margin-xl);
    color: white;
}

.footer-section p {
    color: var(--text-label-light);
    line-height: var(--line-height-body);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--margin-sm);
}

.footer-section a {
    color: var(--text-label-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange-dark);
}

.footer-bottom {
    border-top: 1px solid var(--divider-light);
    padding-top: var(--padding-xxxxl);
    text-align: center;
    color: var(--text-label-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--padding-xxxxl);
    left: 50%;
    transform: translateX(-50%);
	z-index: 999;
    animation: bounce 2s infinite;
}

.scroll-indicator-overlay {
    display: none; /* Hide on desktop */
}

.scroll-indicator span {
    display: block;
    width: 1.875rem; 
    height: 3.125rem;
    border: 2px solid white; 
    border-radius: var(--border-radius-xxxl); 
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: var(--padding-md); 
    left: 50%;
    transform: translateX(-50%);
    width: 0.375rem; 
    height: 0.625rem; 
    background: white; 
    border-radius: var(--border-radius-xs); 
    animation: scroll 2s infinite;
}

.terms-content,
.privacy-content {
    display: inline-flex;
    flex-direction: column;
    gap: var(--gap-xl);
}

.terms-content ul,
.privacy-content ul {
    display: inline-flex;
    flex-direction: column;
    gap: var(--gap-xl);
}