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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #f0e6d3;
}

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

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    color: #f7931a;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.2rem;
    color: #c9b896;
    font-style: italic;
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

/* 3D Card */
.card-container {
    perspective: 1000px;
    width: 280px;
    height: 400px;
    cursor: pointer;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-container.flipped .card {
    transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .card-container:hover .card {
        transform: rotateY(180deg);
    }
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(247, 147, 26, 0.2);
    overflow: hidden;
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-front {
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
}

.flip-hint {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #8b8b8b;
}

.hint-mobile {
    display: none;
}

@media (hover: none) or (pointer: coarse) {
    .hint-desktop {
        display: none;
    }
    .hint-mobile {
        display: inline;
    }
}

/* Product Info */
.product-info {
    max-width: 400px;
}

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f0e6d3;
}

.product-description {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #c9b896;
}

.product-description p {
    margin-bottom: 15px;
}

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

.features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #c9b896;
}

.features li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: #f7931a;
}

/* Price */
.price {
    font-size: 2.5rem;
    color: #f7931a;
    font-weight: bold;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #8b8b8b;
    font-weight: normal;
}

/* Buy Section */
.buy-section {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.buy-button {
    background: linear-gradient(135deg, #f7931a 0%, #e8820a 100%);
    color: #1a1a2e;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.4);
}

.buy-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.secure-note {
    text-align: center;
    font-size: 0.85rem;
    color: #8b8b8b;
    margin-top: 12px;
}

/* Testimonial */
.testimonial {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #c9b896;
    margin-bottom: 15px;
}

.testimonial cite {
    color: #8b8b8b;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #8b8b8b;
    font-size: 0.9rem;
}

footer a {
    color: #f7931a;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .main-content {
        flex-direction: column;
    }

    .card-container {
        width: 240px;
        height: 343px;
    }
}
