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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add subtle texture/grain effect to match AFTR logo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,122,255,0.02) 1px, transparent 0),
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.02) 1px, transparent 0),
        radial-gradient(circle at 3px 3px, rgba(0,122,255,0.01) 1px, transparent 0);
    background-size: 3px 3px, 5px 5px, 7px 7px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

/* Add additional subtle noise texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-feature-settings: "kern" 1;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f5f5f7;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #f5f5f7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #f5f5f7;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #007aff;
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #00d4ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* CTA Button Styles */
.cta-button, .hero-cta, .product-cta, .final-cta-button {
    background: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before, .hero-cta::before, .product-cta::before, .final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover, .hero-cta:hover, .product-cta:hover, .final-cta-button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #0099cc 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 122, 255, 0.4);
}

.cta-button:hover::before, .hero-cta:hover::before, .product-cta:hover::before, .final-cta-button:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #111 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem 4rem 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1), 0 0 80px rgba(0, 122, 255, 0.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #a1a1a6;
    font-weight: 400;
    line-height: 1.5;
}

.hero-cta {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 1rem;
}

.shipping-info {
    font-size: 0.9rem;
    color: #8e8e93;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Add subtle spacing improvements */
section {
    position: relative;
}

section + section {
    margin-top: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #111 0%, #0f0f0f 100%);
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact h2 {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #a1a1a6;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form textarea {
    background-color: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f7;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    width: 100%;
    resize: vertical;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
    background-color: #2c2c2e;
}

.contact-form textarea::placeholder {
    color: #8e8e93;
}

/* Product Section */
.product {
    padding: 6rem 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    position: relative;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.product-image {
    text-align: center;
}

.product-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 122, 255, 0.2);
}

.product-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #a1a1a6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.product-info p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #d1d1d6;
    line-height: 1.8;
}

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

.feature {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1c1c1e 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature h4 {
    color: #f5f5f7;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature p {
    color: #a1a1a6;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Product CTA Container */
.product-cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 122, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.feature:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.feature {
    cursor: pointer;
    position: relative;
}

/* Video Modal */
.video-modal-content {
    max-width: 800px;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 16px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Why Alexandria Section */
.why-alexandria {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #111 100%);
    position: relative;
}

.why-alexandria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 122, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.why-alexandria h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.reason {
    text-align: center;
    padding: 2rem;
}

.reason-image {
    margin-bottom: 1.5rem;
}

.reason-img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.reason-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 122, 255, 0.2);
}

.reason h3 {
    color: #f5f5f7;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.reason p {
    color: #a1a1a6;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #111 100%);
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #a1a1a6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.final-cta-button {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #111 0%, #0f0f0f 100%);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: #fff;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a1a1a6;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #007aff;
    transform: translateY(-1px);
}

.footer-text {
    text-align: center;
    color: #8e8e93;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1c1c1e 0%, #0f0f0f 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 95%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Modal header styling */
.modal-content h2 {
    margin: 0;
    padding: 2rem 2rem 1rem 2rem;
    color: #f5f5f7;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content p {
    margin: 0 0 1rem 0;
    padding: 0 2rem;
    color: #a1a1a6;
    text-align: center;
    line-height: 1.5;
}

.close {
    color: #a1a1a6;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close:hover {
    color: #007aff;
    background-color: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.3);
    transform: scale(1.05);
}

/* Duplicate styles removed - already defined above */

/* Stripe Form Styles */
.stripe-form-container {
    padding: 0 2rem 2rem 2rem;
}

.reservation-details {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-details h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.price-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shipping-info {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h4 {
    color: #f5f5f7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:has(.form-group:only-child) {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.form-group input {
    background-color: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f7;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
    background-color: #2c2c2e;
}

.form-group input::placeholder {
    color: #8e8e93;
}

/* Stripe Elements Container */
#payment-element {
    background-color: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    min-height: 60px;
}

#payment-element:focus-within {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

/* Stripe Elements Styling */
#payment-element .StripeElement {
    background-color: #1c1c1e;
    color: #f5f5f7;
}

#payment-element .StripeElement--focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

/* Ensure Stripe elements are visible */
#payment-element iframe {
    min-height: 40px;
}

/* Loading state for Stripe */
#payment-element.loading {
    position: relative;
}

#payment-element.loading::after {
    content: 'Loading payment form...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #a1a1a6;
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-button {
    background: transparent;
    color: #a1a1a6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
}

.cancel-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f5f5f7;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.submit-button {
    background: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 2;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056b3 0%, #0099cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.submit-button:hover:not(:disabled)::before {
    left: 100%;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-spinner {
    display: none;
}

/* Pricing Details */
.pricing-details {
    background: linear-gradient(135deg, #1c1c1e 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.pricing-details p {
    margin: 0.5rem 0;
    color: #f5f5f7;
}

.pricing-details p:first-child {
    font-size: 1.2rem;
    color: #00ff88;
}

.pricing-details em {
    color: #a1a1a6;
    font-style: italic;
    font-size: 0.95rem;
}

/* Form Footer */
.form-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.form-footer p {
    color: #8e8e93;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.confirmation-details {
    background-color: #222;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.confirmation-details p {
    margin-bottom: 0.5rem;
    color: #fff;
}

.confirmation-details p:last-child {
    margin-bottom: 0;
}

.next-steps {
    color: #999;
    font-style: italic;
    margin-top: 1rem;
}

/* Error Message */
.error-message {
    background-color: #2d1b1b;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-icon {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.error-message p {
    color: #ff6b6b;
    margin: 0;
}

/* Fallback Form */
.fallback-form {
    text-align: center;
    padding: 2rem;
}

.fallback-form h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.fallback-form p {
    color: #ccc;
    margin-bottom: 1rem;
}

.reservation-info {
    background-color: #222;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.reservation-info p {
    color: #fff;
    margin-bottom: 0.5rem;
}

.reservation-info p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .reasons {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo-img {
        height: 35px;
    }

    .footer-logo-img {
        height: 25px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-content h2 {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
        font-size: 1.5rem;
    }
    
    .modal-content p {
        padding: 0 1.5rem 1rem 1.5rem;
    }
    
    .stripe-form-container {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cancel-button,
    .submit-button {
        flex: none;
        width: 100%;
    }
}

/* Additional mobile breakpoint for form responsiveness */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta, .product-cta, .final-cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .reservation-details h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .form-section h4 {
        font-size: 1rem;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.7rem;
    }
    
    /* Ensure form rows stack on very small screens */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
}

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

/* Micro-interactions and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Add fade-in animations to sections */
.hero-content,
.about,
.product,
.why-alexandria,
.final-cta {
    animation: fadeInUp 0.8s ease-out;
}

/* Add subtle hover animations to images */
.product-img,
.reason-img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add loading state for buttons */
.cta-button:active,
.hero-cta:active,
.product-cta:active,
.final-cta-button:active,
.submit-button:active {
    transform: translateY(1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Add focus states for better accessibility */
.cta-button:focus,
.hero-cta:focus,
.product-cta:focus,
.final-cta-button:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

/* Add subtle pulse animation for important elements */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.shipping-info {
    animation: pulse 2s ease-in-out infinite;
}

/* Add smooth transitions for all interactive elements */
a, button, input, .feature, .reason {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add subtle scale animation on hover for cards */
.feature:hover,
.reason:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Add smooth background transitions */
.navbar {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Add loading animation for form submission */
.submit-button.loading {
    position: relative;
    color: transparent;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #007aff, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scaleY(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1.2);
    }
}

/* Add subtle glow effects for premium feel */
.hero-title {
    filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.1));
}

/* Improve focus states for better accessibility */
input:focus,
button:focus,
a:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

/* Add subtle text selection styling */
::selection {
    background-color: rgba(0, 122, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background-color: rgba(0, 122, 255, 0.3);
    color: #fff;
}

/* Loading animation for buttons */
.cta-button:active, .hero-cta:active, .product-cta:active, .final-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}
