/* ============================================
   Hex Pattern Soda Can Holder - Apple Style
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #000000;
    --color-primary-hover: #333333;
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #f5f5f7;
    --color-gray-dark: #e8e8ed;
    --color-accent: #0071e3;
    --color-accent-hover: #0062cc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 100;
    font-size: 14px;
}
.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-dark);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}
.logo h1 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--color-primary);
}
.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav__list a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 450;
    font-size: 0.9rem;
    letter-spacing: -0.25px;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}
.nav__list a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hero */
.hero {
    background: var(--color-white);
    padding: 3rem 0 4rem;
    border-bottom: 1px solid var(--color-gray-dark);
    margin-top: 4rem;
}
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.hero__image {
    position: sticky;
    top: 7rem;
}
.hero__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    transition: transform 0.3s ease;
}
.hero__img:hover {
    transform: scale(1.02);
}
.hero__tag {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}
.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.75px;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.5;
}
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.price-badge {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}
.price-note {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.25px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.75rem 1.75rem;
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}
.cta-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.cta-button:active {
    transform: translateY(0);
}
.cta-button:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.cta-button--primary {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    font-weight: 500;
}
.cta-button--primary:hover {
    background: var(--color-black);
    transform: translateY(-1px);
}
.cta-button--large {
    font-size: 1rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section--alt {
    background: var(--color-gray);
}
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-gray-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gray);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}
.feature-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

/* Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.showcase-item {
    text-align: center;
}
.showcase-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
    transition: var(--transition);
}
.showcase-img:hover {
    transform: scale(1.03);
}
.showcase-caption {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
}

/* Purchase Card */
.purchase-card {
    max-width: 550px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-gray-dark);
    box-shadow: var(--shadow-lg);
}
.purchase-info {}
.purchase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.purchase-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.purchase-note {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}
.purchase-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.purchase-list li {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    color: var(--color-text-secondary);
}

/* Footer Note */
.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.footer-note a {
    color: var(--color-text-secondary);
    text-decoration: underline;
}
.footer-note a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}
.footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer__info h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.footer__info p {
    font-size: 0.9rem;
    color: #86868b;
}
.footer__links h4,
.footer__social h4 {
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer__links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer__links a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer__links a:hover {
    color: var(--color-white);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    color: #86868b;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}
.social-links a:hover {
    color: var(--color-white);
}
.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #86868b;
    font-size: 0.85rem;
    margin-left: 0;
    margin-right: 0;
    grid-column: 1 / -1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modal__content {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}
.modal__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.2s ease;
}
.modal__close:hover {
    color: var(--color-primary);
}
.modal__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.modal__text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.modal__note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero { padding: 2rem 0 3rem; margin-top: 3rem; }
    .hero__container { grid-template-columns: 1fr; }
    .hero__image { position: static; }
    .hero__title { font-size: 2rem; }
    .hero__actions { margin-top: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .footer__container { grid-template-columns: 1fr; }
    .footer__bottom { grid-column: 1 / -1; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
    .nav__list { gap: 1.25rem; }
    .purchase-card { padding: 2rem; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.75rem; }
    .price-badge { font-size: 1.75rem; }
    .features-grid { gap: 1rem; }
    .feature-card { padding: 2rem 1rem; }
}