/* Apple Store Style CSS */
/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --apple-white: #ffffff;
    --apple-black: #1d1d1f;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-nav-height: 48px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--apple-black);
    background-color: var(--apple-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Apple Style */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--apple-nav-height);
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.apple-nav-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apple-nav-logo img {
    height: 20px;
    width: auto;
    display: block;
}

.apple-nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.apple-nav-menu li a {
    color: var(--apple-black);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.apple-nav-menu li a:hover {
    opacity: 1;
}

.apple-nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.apple-nav-actions a {
    color: var(--apple-black);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.apple-nav-actions a:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.apple-nav-actions .btn-primary-apple {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

.apple-nav-actions .btn-primary-apple:hover {
    background-color: var(--apple-blue-hover);
}

/* Main Content */
.apple-main {
    margin-top: var(--apple-nav-height);
}

/* Hero Section */
.apple-hero {
    text-align: center;
    padding: 60px 0 80px;
    background-color: var(--apple-white);
}

.apple-hero-title {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 8px;
    color: var(--apple-black);
}

.apple-hero-subtitle {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.007em;
    margin-bottom: 20px;
    color: var(--apple-black);
}

.apple-hero-description {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: var(--apple-gray);
    margin-bottom: 30px;
}

.apple-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.apple-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 980px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

.apple-btn-secondary {
    background-color: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
}

.apple-btn-secondary:hover {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

.apple-link {
    color: var(--apple-blue);
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
}

.apple-link:hover {
    text-decoration: underline;
    color: var(--apple-blue-hover);
}

.apple-link::after {
    content: ' ›';
    font-size: 20px;
    margin-left: 4px;
}

/* Hero Image */
.apple-hero-image {
    max-width: 100%;
    height: auto;
    margin: 40px auto 0;
    display: block;
}

/* Product Section */
.apple-section {
    padding: 80px 0;
    text-align: center;
}

.apple-section-dark {
    background-color: var(--apple-black);
    color: var(--apple-white);
}

.apple-section-dark .apple-hero-title,
.apple-section-dark .apple-hero-subtitle,
.apple-section-dark .apple-hero-description {
    color: var(--apple-white);
}

.apple-section-light {
    background-color: var(--apple-light-gray);
}

.apple-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Product Grid */
.apple-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.apple-product-card {
    background-color: var(--apple-white);
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.apple-product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.apple-product-card h3 {
    font-size: 32px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: 0.004em;
    margin-bottom: 8px;
    color: var(--apple-black);
}

.apple-product-card p {
    font-size: 19px;
    line-height: 1.21053;
    font-weight: 400;
    letter-spacing: 0.012em;
    color: var(--apple-gray);
    margin-bottom: 20px;
}

.apple-product-card img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* Footer Apple Style */
.apple-footer {
    background-color: var(--apple-light-gray);
    padding: 40px 0 20px;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--apple-gray);
}

.apple-footer-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-footer-section {
    margin-bottom: 30px;
}

.apple-footer-section h6 {
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--apple-black);
    margin-bottom: 10px;
}

.apple-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apple-footer-links li {
    margin-bottom: 8px;
}

.apple-footer-links a {
    color: var(--apple-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.apple-footer-links a:hover {
    color: var(--apple-black);
}

.apple-footer-legal {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.apple-footer-copyright {
    color: var(--apple-gray);
}

.apple-footer-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.apple-footer-legal-links a {
    color: var(--apple-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.apple-footer-legal-links a:hover {
    color: var(--apple-black);
}

/* Language Selector Apple Style */
.apple-language-selector {
    position: relative;
}

.apple-language-btn {
    background: transparent;
    border: none;
    color: var(--apple-black);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.apple-language-btn:hover {
    opacity: 1;
}

.apple-language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--apple-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 180px;
    margin-top: 8px;
    display: none;
}

.apple-language-dropdown.show {
    display: block;
}

.apple-language-dropdown a {
    display: block;
    padding: 8px 20px;
    color: var(--apple-black);
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.apple-language-dropdown a:hover {
    background-color: var(--apple-light-gray);
}

/* Responsive */
@media (max-width: 1068px) {
    .apple-nav-content {
        max-width: 692px;
    }

    .apple-nav-menu {
        gap: 24px;
    }

    .apple-hero-title {
        font-size: 48px;
    }

    .apple-hero-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 734px) {
    .apple-nav-menu {
        display: none;
    }

    .apple-hero-title {
        font-size: 40px;
    }

    .apple-hero-subtitle {
        font-size: 21px;
    }

    .apple-hero-description {
        font-size: 19px;
    }

    .apple-hero-actions {
        flex-direction: column;
    }

    .apple-product-grid {
        grid-template-columns: 1fr;
    }

    .apple-footer-legal {
        flex-direction: column;
    }
}

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

.apple-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.d-none {
    display: none !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
