/* ============================================
   MODERN MINIMALIST STYLE - APPLE INSPIRED
   ============================================ */

/* === RESET & BASE === */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    color: #1d1d1f;
    line-height: 1.6;
    font-size: 17px;
    letter-spacing: -0.022em;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0;
}

h1 {
    font-size: 56px;
    line-height: 1.07;
    font-weight: 700;
}

h2 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

h3 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

p {
    font-size: 17px;
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 1.2em;
}

/* === HEADER & NAVIGATION === */
.moto-widget-menu {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.03);
}

.moto-widget-menu__item {
    padding: 12px 20px !important;
}

.moto-widget-menu__link {
    color: #1d1d1f !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.moto-widget-menu__link:hover {
    color: #0066CC !important;
}

/* === BUTTONS === */
.moto-widget-button a,
.moto-widget-button button,
button,
.btn {
    background: #0071e3;
    color: #ffffff !important;
    border: none;
    border-radius: 980px;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.moto-widget-button a:hover,
.moto-widget-button button:hover,
button:hover,
.btn:hover {
    background: #0077ED;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

/* === PRODUCT IMAGES === */
.moto-widget-image img,
img[data-src*="official_products"] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.moto-widget-image:hover img {
    transform: scale(1.05);
}

/* === CARDS & CONTAINERS === */
.moto-container,
.moto-cell {
    background: transparent;
}

.moto-widget {
    padding: 40px 0;
}

/* Product Cards */
.moto-widget-row {
    margin: 60px 0;
}

.moto-widget-text {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 48px;
    margin: 24px 0;
    border: none !important;
    box-shadow: none;
}

/* === SECTIONS === */
section {
    padding: 80px 0;
}

.moto-section {
    border: none !important;
    background: #ffffff;
}

.moto-section:nth-child(even) {
    background: #f5f5f7;
}

/* === SPACING === */
.moto-spacing-top-large {
    padding-top: 100px !important;
}

.moto-spacing-bottom-large {
    padding-bottom: 100px !important;
}

.moto-spacing-top-medium {
    padding-top: 60px !important;
}

.moto-spacing-bottom-medium {
    padding-bottom: 60px !important;
}

/* === PRODUCT GRID === */
.moto-widget-row .moto-cell {
    padding: 24px;
}

.product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* === HERO SECTION === */
.hero {
    text-align: center;
    padding: 120px 20px !important;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

.hero h1 {
    margin-bottom: 16px;
}

.hero p {
    font-size: 21px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* === FORMS === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 17px;
    color: #1d1d1f;
    transition: all 0.2s ease;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* === FOOTER === */
footer {
    background: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 48px 0;
}

footer p,
footer a {
    color: #6e6e73;
    font-size: 14px;
}

footer a:hover {
    color: #0071e3;
}

/* === LINKS === */
a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover:not(.btn-primary):not(.btn-secondary-small):not(.btn) {
    color: #0077ED;
    text-decoration: none;
}

/* === BUTTON LINKS - Override global link hover === */
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:visited {
    color: #ffffff !important;
}

/* CTA Section - синий текст на белой кнопке */
.cta-section a.btn-primary,
.cta-section a.btn-primary:hover,
.cta-section a.btn-primary:focus,
.cta-section a.btn-primary:active,
.cta-section a.btn-primary:visited {
    color: #0071e3 !important;
}

a.btn-secondary-small,
a.btn-secondary-small:visited {
    color: #0071e3 !important;
}

a.btn-secondary-small:hover {
    color: #ffffff !important;
}

/* === PRODUCT CARD BUTTON OVERRIDES === */
.product-card a.btn-primary,
.product-card a.btn-primary:hover,
.product-card a.btn-primary:focus,
.product-card a.btn-primary:active,
.buttons-group a.btn-primary,
.buttons-group a.btn-primary:hover,
.buttons-group a.btn-primary:focus,
.buttons-group a.btn-primary:active {
    color: #ffffff !important;
}

.product-card a.btn-secondary-small:hover,
.buttons-group a.btn-secondary-small:hover {
    color: #ffffff !important;
}

/* === RESPONSIVE === */
@media (max-width: 1068px) {
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 40px;
    }
    
    .moto-widget-text {
        padding: 32px;
    }
}

@media (max-width: 735px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    
    .hero {
        padding: 60px 20px !important;
    }
    
    .moto-widget-text {
        padding: 24px;
        border-radius: 16px;
    }
    
    .product-card {
        padding: 24px;
    }
}

/* === IMAGES WITH PRODUCT STYLING === */
img[src*="official_products"],
img[data-src*="official_products"] {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img[src*="official_products"]:hover,
img[data-src*="official_products"]:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* === SMOOTH ANIMATIONS === */
/* Removed global color transition to fix button hover issues */

/* === REMOVE OLD GRADIENTS === */
[style*="gradient"],
[class*="gradient"] {
    background: #ffffff !important;
}

/* === CLEAN BORDERS === */
.moto-container_header,
.moto-container_content {
    border: none !important;
    box-shadow: none !important;
}

/* === OVERRIDE OLD COLORS === */
.moto-bg-color1,
.moto-bg-color2,
.moto-bg-color3,
.moto-bg-color_custom2 {
    background: #ffffff !important;
}

.moto-color1,
.moto-color2,
.moto-color3 {
    color: #1d1d1f !important;
}
