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

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --background: #ffffff;
    --surface: #f5f5f7;
    --border-color: #d2d2d7;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-start: #007AFF;
    --gradient-end: #5856D6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
}

.logo img {
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.compatibility-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.mockup-container {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
    border-radius: 30px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dynamic-island-demo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.island-capsule {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 30px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.btn {
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    padding: 100px 0;
    background: white;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 50px;
    background: var(--surface);
    border-radius: 20px;
    margin-top: 40px;
}

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

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

.about-product {
    padding: 100px 0;
    background: var(--surface);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.quality-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.badge-item svg {
    color: var(--primary-color);
}

.badge-item span {
    font-weight: 600;
    text-align: center;
}

.products-section {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 2px solid var(--primary-color);
}

.badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--surface);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: auto 50px auto 50px auto 50px auto;
    gap: 20px;
    align-items: center;
    margin-top: 50px;
}

.step-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
}

.compatibility {
    padding: 100px 0;
    background: white;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.compatibility-item {
    text-align: center;
    padding: 40px;
    background: var(--surface);
    border-radius: 20px;
}

.compatibility-item svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.compatibility-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.compatibility-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.admin-showcase {
    padding: 100px 0;
    background: var(--surface);
}

.admin-frame {
    max-width: 1000px;
    margin: 50px auto 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.admin-header {
    background: #f6f6f6;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-dots {
    display: flex;
    gap: 8px;
}

.admin-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.admin-dots span:nth-child(1) {
    background: #ff5f56;
}

.admin-dots span:nth-child(2) {
    background: #ffbd2e;
}

.admin-dots span:nth-child(3) {
    background: #27c93f;
}

.admin-title {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.admin-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 400px;
}

.admin-sidebar {
    background: var(--surface);
    padding: 30px 0;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.sidebar-item:hover {
    background: rgba(0, 122, 255, 0.1);
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.admin-main {
    padding: 40px;
}

.admin-main h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-row span {
    font-size: 16px;
}

.toggle {
    width: 50px;
    height: 28px;
    background: var(--border-color);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.toggle.active {
    background: var(--success-color);
}

.toggle.active::after {
    transform: translateX(22px);
}

.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 5px;
}

.page-number {
    font-size: 12px;
    margin-top: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px var(--shadow);
    padding: 25px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cookie-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
}

.product-detail-image {
    position: sticky;
    top: 100px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.product-detail-info h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.product-detail-info .price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-detail-info .description {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.features-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.cart-container {
    padding: 80px 0;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px var(--shadow);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-size: 16px;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px;
}

.remove-item {
    background: #ff3b30;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-item:hover {
    background: #d52e23;
}

.cart-summary {
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: none;
    margin-top: 10px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart svg {
    width: 120px;
    height: 120px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.checkout-container {
    padding: 80px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.checkout-form h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.order-summary {
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-name {
    font-weight: 500;
}

.order-item-quantity {
    color: var(--text-secondary);
    font-size: 14px;
}

.success-container {
    text-align: center;
    padding: 100px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon svg {
    color: white;
    width: 60px;
    height: 60px;
}

.success-container h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.success-container p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item-content p {
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.about-container {
    padding: 80px 0;
}

.about-hero {
    text-align: center;
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    margin: 20px 0 5px;
    padding: 0 20px;
}

.team-card p {
    color: var(--text-secondary);
    padding: 0 20px 20px;
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Download loading modal */
.download-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.download-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.download-modal {
    background: var(--background);
    border-radius: 20px;
    padding: 40px 36px 36px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.download-modal-overlay.show .download-modal {
    transform: translateY(0) scale(1);
}

.download-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.download-modal-close:hover {
    color: var(--text-primary);
}

.download-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.download-modal-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.download-modal-text span {
    color: var(--text-primary);
    font-weight: 600;
}

.download-email-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.download-email-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.download-email-error {
    min-height: 18px;
    margin: 8px 2px 4px;
    font-size: 13px;
    color: #ff3b30;
    text-align: left;
}

.download-email-submit {
    width: 100%;
    margin-top: 6px;
}

.download-modal-fineprint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.download-success-icon {
    color: var(--success-color);
    margin: 0 auto 18px;
    display: flex;
    justify-content: center;
}

/* Free download card */
.free-download-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px 40px;
    text-align: center;
    box-shadow: 0 20px 50px var(--shadow);
}

.free-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.free-download-card h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.free-price {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.free-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 28px;
    text-align: left;
    max-width: 320px;
}

.free-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: var(--text-primary);
    font-size: 15px;
    border-bottom: 1px solid var(--surface);
}

.free-features li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 16px;
    height: 8px;
    border-left: 2px solid var(--success-color);
    border-bottom: 2px solid var(--success-color);
    transform: translateY(-70%) rotate(-45deg);
}

.free-download-card .btn-download {
    width: 100%;
}

.free-download-card .compatibility-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}
