/* ==========================================================================
   Base Styles and CSS Variables
   ========================================================================== */

:root {
    /* Elegant Modern Color Palette */
    --primary-color: #2d4a87;
    --primary-light: #4a6fa5;
    --primary-dark: #1e3a5f;
    --secondary-color: #ff6b6b;
    --secondary-light: #ff8e8e;
    --secondary-dark: #ff4757;
    --accent-color: #26d0ce;
    --accent-light: #4dd0ce;
    --accent-dark: #1abc9c;
    --gold-color: #f39c12;
    --gold-light: #f1c40f;
    --gold-dark: #e67e22;
    --purple-color: #9b59b6;
    --purple-light: #bb6bd9;
    --purple-dark: #8e44ad;
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-light: #78909c;
    --text-white: #ffffff;
    --background-light: #ffffff;
    --background-gray: #f8faff;
    --background-cream: #fefefe;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --background-card: rgba(255, 255, 255, 0.95);
    --border-color: #e1e8ed;
    --border-light: #f0f3f7;
    --shadow-light: rgba(45, 74, 135, 0.08);
    --shadow-medium: rgba(45, 74, 135, 0.15);
    --shadow-heavy: rgba(45, 74, 135, 0.25);
    --shadow-colored: rgba(255, 107, 107, 0.15);

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: 0 8px 25px var(--shadow-colored);
    border: 2px solid transparent;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-colored);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
}

.btn--primary:active {
    transform: translateY(-1px);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-medium);
    z-index: 1000;
    transition: var(--transition);
}

.nav__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav__logo {
    height: 40px;
    width: auto;
}

.nav__title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(45, 74, 135, 0.1);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav__link {
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--secondary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(155, 89, 182, 0.08) 30%,
        rgba(38, 208, 206, 0.08) 60%,
        rgba(243, 156, 18, 0.08) 100%),
        radial-gradient(circle at 25% 75%, rgba(255, 107, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(38, 208, 206, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.04) 0%, transparent 70%);
    background-color: var(--background-cream);
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e1e8ed' fill-opacity='0.4'%3E%3Ccircle cx='40' cy='40' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero__content {
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.hero__highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color), var(--purple-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: var(--font-weight-bold);
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--purple-color));
    border-radius: 2px;
    opacity: 0.4;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 0.7; transform: scaleX(1.02); }
}

.hero__description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    color: var(--text-secondary);
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-lg);
}

.hero__image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero__logo-showcase {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__logo {
    position: relative;
    z-index: 4;
    animation: gentleFloat 8s ease-in-out infinite;
}

.hero__logo-img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(45, 74, 135, 0.25));
    transition: all 0.4s ease;
}

.hero__logo:hover .hero__logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 20px 45px rgba(45, 74, 135, 0.35));
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    background: linear-gradient(135deg, var(--primary-color), var(--purple-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    position: relative;
    font-weight: var(--font-weight-bold);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Catalog Section
   ========================================================================== */

.catalog {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, 
        rgba(247, 250, 252, 0.9) 0%, 
        rgba(255, 255, 255, 0.9) 50%,
        rgba(247, 250, 252, 0.9) 100%);
    position: relative;
}

.catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 107, 107, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(38, 208, 206, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(155, 89, 182, 0.03) 0%, transparent 60%);
    z-index: 0;
}

.catalog__container {
    position: relative;
    z-index: 1;
}

.catalog__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.catalog__filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    border: 2px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 74, 135, 0.1);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 74, 135, 0.2);
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn--active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(38, 208, 206, 0.4);
    font-weight: var(--font-weight-semibold);
    transform: translateY(-2px);
}

.filter-btn--active:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    box-shadow: 0 12px 35px rgba(38, 208, 206, 0.5);
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.book-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    border: 1px solid var(--border-light);
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(45, 74, 135, 0.05) 0%, 
        rgba(38, 208, 206, 0.05) 50%,
        rgba(155, 89, 182, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

/* Cores específicas para cada categoria */
.book-card[data-category="tecnologia"]::before {
    background: linear-gradient(135deg, 
        rgba(45, 74, 135, 0.08) 0%, 
        rgba(74, 111, 165, 0.08) 100%);
}

.book-card[data-category="ficcao"]::before {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.08) 0%, 
        rgba(255, 142, 142, 0.08) 100%);
}

.book-card[data-category="desenvolvimento"]::before {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.08) 0%, 
        rgba(241, 196, 15, 0.08) 100%);
}

.book-card[data-category="ciencia"]::before {
    background: linear-gradient(135deg, 
        rgba(155, 89, 182, 0.08) 0%, 
        rgba(187, 107, 217, 0.08) 100%);
}

.book-card:hover::before {
    opacity: 1;
}

.book-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px var(--shadow-medium);
    border-color: rgba(45, 74, 135, 0.3);
}

/* Efeitos hover específicos por categoria */
.book-card[data-category="tecnologia"]:hover {
    border-color: rgba(45, 74, 135, 0.4);
    box-shadow: 0 25px 60px rgba(45, 74, 135, 0.2);
}

.book-card[data-category="ficcao"]:hover {
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.2);
}

.book-card[data-category="desenvolvimento"]:hover {
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 25px 60px rgba(243, 156, 18, 0.2);
}

.book-card[data-category="ciencia"]:hover {
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 0 25px 60px rgba(155, 89, 182, 0.2);
}

.book-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.book-card__image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.book-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-card__img {
    transform: scale(1.1);
}

.book-card__category {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 25px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--shadow-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* Cores específicas para cada categoria */
.book-card[data-category="tecnologia"] .book-card__category {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(45, 74, 135, 0.3);
}

.book-card[data-category="ficcao"] .book-card__category {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.book-card[data-category="desenvolvimento"] .book-card__category {
    background: linear-gradient(135deg, var(--gold-color) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.book-card[data-category="ciencia"] .book-card__category {
    background: linear-gradient(135deg, var(--purple-color) 0%, var(--purple-dark) 100%);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.book-card__content {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 255, 0.95) 100%);
    position: relative;
    z-index: 1;
}

.book-card__title {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    transition: var(--transition);
}

/* Cores específicas para títulos por categoria */
.book-card[data-category="tecnologia"] .book-card__title {
    color: var(--primary-color);
}

.book-card[data-category="ficcao"] .book-card__title {
    color: var(--secondary-color);
}

.book-card[data-category="desenvolvimento"] .book-card__title {
    color: var(--gold-color);
}

.book-card[data-category="ciencia"] .book-card__title {
    color: var(--purple-color);
}

.book-card__author {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-medium);
    opacity: 0.8;
}

.book-card__description {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    opacity: 0.9;
}

.book-card__price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    position: relative;
}

/* Cores específicas para preços por categoria */
.book-card[data-category="tecnologia"] .book-card__price {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-card[data-category="ficcao"] .book-card__price {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-card[data-category="desenvolvimento"] .book-card__price {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-card[data-category="ciencia"] .book-card__price {
    background: linear-gradient(135deg, var(--purple-color), var(--purple-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-card__price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Linhas decorativas específicas por categoria */
.book-card[data-category="tecnologia"] .book-card__price::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.book-card[data-category="ficcao"] .book-card__price::after {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
}

.book-card[data-category="desenvolvimento"] .book-card__price::after {
    background: linear-gradient(90deg, var(--gold-color), var(--gold-light));
}

.book-card[data-category="ciencia"] .book-card__price::after {
    background: linear-gradient(90deg, var(--purple-color), var(--purple-light));
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(247, 250, 252, 0.9) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(38, 208, 206, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(155, 89, 182, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.about__container {
    position: relative;
    z-index: 1;
}

.about__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.about__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about__title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.about__text-content {
    margin-bottom: var(--spacing-4xl);
}

.about__text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    margin: var(--spacing-3xl) 0;
}

.feature {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-2xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--purple-color));
    border-radius: 20px 20px 0 0;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.feature__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: white;
    font-size: var(--font-size-xl);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.feature__title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.feature__description {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--purple-color));
    border-radius: 20px 20px 0 0;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.stat__number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--secondary-color), var(--purple-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat__label {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.about__logo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, 
        rgba(247, 250, 252, 0.9) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(243, 156, 18, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(38, 208, 206, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.contact__container {
    position: relative;
    z-index: 1;
}

.contact__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
}

.contact__subtitle {
    color: var(--primary-color);
    margin-bottom: var(--spacing-2xl);
}

.contact__item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.contact__item i {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    margin-top: var(--spacing-xs);
}

.contact__item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact__form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: var(--spacing-2xl);
    border-radius: 24px;
    box-shadow: 0 20px 50px var(--shadow-light);
    border: 2px solid rgba(45, 74, 135, 0.1);
    position: relative;
    overflow: hidden;
}

.contact__form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(45, 74, 135, 0.05) 0%, 
        rgba(38, 208, 206, 0.05) 30%,
        rgba(155, 89, 182, 0.05) 60%,
        rgba(243, 156, 18, 0.05) 100%);
    animation: gentleRotate 30s linear infinite;
    z-index: 0;
}

.contact__form > * {
    position: relative;
    z-index: 1;
}

@keyframes gentleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form__group {
    margin-bottom: var(--spacing-lg);
}

.form__label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid rgba(45, 74, 135, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

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

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--purple-color) 100%);
    color: white;
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M30 30c0 16.569-13.431 30-30 30v-60c16.569 0 30 13.431 30 30z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.footer__container {
    position: relative;
    z-index: 1;
}

.footer__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer__description {
    color: var(--text-light);
    line-height: 1.6;
}

.footer__title {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__link {
    color: var(--text-light);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--secondary-color);
}

.social__links {
    display: flex;
    gap: var(--spacing-md);
}

.social__link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social__link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border-color: transparent;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --spacing-4xl: 3rem;
    }

    .hero__container {
        gap: var(--spacing-2xl);
    }

    .about__features {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.5rem;
        --spacing-3xl: 2rem;
        --spacing-4xl: 2.5rem;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-2xl);
        box-shadow: 0 5px 20px var(--shadow-medium);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: block;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__logo-showcase {
        height: 250px;
    }

    .hero__logo-img {
        width: 200px;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .catalog__filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.75rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
    }

    .catalog__grid {
        grid-template-columns: 1fr;
    }

    .hero__logo-showcase {
        height: 200px;
    }

    .hero__logo-img {
        width: 150px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .header,
    .nav__toggle,
    .hero__buttons,
    .contact__form,
    .footer {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    .hero,
    .catalog,
    .about,
    .contact {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
