/* CSS Variables */
:root {
    /* Color System */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(218, 11%, 25%);
    --primary-foreground: hsl(210, 60%, 98%);
    --secondary-foreground: hsl(210, 60%, 98%);
    --accent-foreground: hsl(210, 60%, 98%);
    --neutral-light: hsl(210, 20%, 98%);
    --neutral-medium: hsl(215, 16%, 47%);
    --neutral-dark: hsl(215, 25%, 27%);
    --border: hsl(215, 12%, 88%);
    --ring: hsl(214, 84%, 29%);
    --radius: 0.5rem;

    /* Gray Scale */
    --gray-50: rgb(249 250 251);
    --gray-100: rgb(243 244 246);
    --gray-200: rgb(229 231 235);
    --gray-300: rgb(209 213 219);
    --gray-400: rgb(156 163 175);
    --gray-500: rgb(107 114 128);
    --gray-600: rgb(75 85 99);
    --gray-700: rgb(55 65 81);
    --gray-800: rgb(31 41 55);
    --gray-900: rgb(17 24 39);

    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;

    /* Layout */
    --container-max-width: 80rem;
}

/* Reset */
* {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--border);
}

*::before,
*::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--border);
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Roboto",
        sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
}

body {
    margin: 0;
    line-height: inherit;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Roboto",
        sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}

button {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    background-color: transparent;
    background-image: none;
    border: none;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    height: 2.5rem;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    box-shadow:
        0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn-primary:hover {
    background-color: hsl(214, 84%, 25%);
    transform: translateY(-2px) scale(1.05);
}

.btn-secondary {
    background-color: var(--background);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-form {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.75rem 1.5rem;
    width: 100%;
}

.btn-form:hover {
    background-color: hsl(188, 76%, 32%);
    transform: translateY(-1px) scale(1.02);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.products-section,
.mission-section,
.testimonials-section,
.team-section,
.market-section,
.contact-section {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .contact-form-container,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section,
    .mission-section,
    .contact-section {
        background: white;
        color: black;
    }
}