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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark: #1f2937;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #d1d5db;
    --gray-lighter: #f3f4f6;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    z-index: 101;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Language Dropdown */
.language-dropdown {
    position: relative;
    margin-left: 1rem;
    display: inline-block;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-dark);
}

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

.lang-dropdown-btn svg:first-child {
    color: var(--primary-color);
}

.lang-dropdown-btn svg:last-child {
    transition: transform 0.3s ease;
}

.lang-dropdown-btn.active svg:last-child {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    overflow: hidden;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:hover {
    background: var(--gray-lighter);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--white);
}

.lang-option .flag {
    font-size: 1.5rem;
    line-height: 1;
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid var(--gray-lighter);
}

/* Hero Section - Modern Design with Image */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--text-color);
    animation: fadeInLeft 1s ease;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--primary-color);
    animation: slideDown 1s ease 0.3s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--primary-color);
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.1s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-secondary {
    background: var(--white);
    color: var(--primary-color);
    border-color: rgba(102, 126, 234, 0.2);
}

.cta-secondary:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.3s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Products Section */
.products {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:active {
    transform: translateY(-8px) scale(1.01);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popular-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
}

.new-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
}

.out-of-stock-badge {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: var(--white);
}

.product-card.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.product-card.out-of-stock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    z-index: 1;
}

.product-card.out-of-stock:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.product-icon-large {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-icon-large {
    transform: scale(1.08) rotate(3deg);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.product-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.product-price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.price-from {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.product-hover-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-hover-text {
    opacity: 1;
    transform: translateY(0);
}

.product-hover-text svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background: var(--white);
}

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

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    margin: 2rem auto 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    color: var(--white);
}

.trust-icon {
    margin-bottom: 1rem;
}

.trust-icon svg {
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon svg {
    transform: scale(1.1);
}

.trust-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-item p {
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-light);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-avatar circle {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.testimonial-stars {
    font-size: 1.2rem;
    color: #fbbf24;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.testimonial-product {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

.testimonial-verified svg {
    flex-shrink: 0;
}

/* Leave Review CTA */
.leave-review-cta {
    margin-top: 3rem;
    text-align: center;
}

.review-cta-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.review-cta-content h3 {
    font-size: 1.75rem;
    margin: 0 0 1rem 0;
}

.review-cta-content p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

/* Review Form */
.review-form {
    margin-top: 2rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 2rem;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #fbbf24;
    transform: scale(1.1);
}

.star-rating input[type="radio"]:checked ~ label {
    color: #fbbf24;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

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

.submit-button svg {
    width: 20px;
    height: 20px;
}

/* Privacy Policy Modal */
.privacy-content {
    padding: 1rem 0;
}

.privacy-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.privacy-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.privacy-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.privacy-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.privacy-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.privacy-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.privacy-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.privacy-email:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Contact Section - New Design */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

/* Left Side - Info & Illustration */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #8B5CF6;
    margin: 0;
    letter-spacing: 0.5px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-email {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-email:hover {
    color: #7C3AED;
    text-decoration: underline;
}

.contact-illustration {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.contact-illustration img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.1));
}

.contact-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.1));
}

/* Right Side - Form */
.contact-right {
    background: var(--white);
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-new label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group-new input,
.form-group-new textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group-new input:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group-new textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: #8B5CF6;
    margin-top: -0.25rem;
}

.send-message-btn {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    align-self: flex-start;
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.send-message-btn:active {
    transform: translateY(0);
}

/* Old styles for compatibility */
.contact-form {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.payment-methods {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.payment-logo {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.payment-logo:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid var(--gray-dark);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}
.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-lighter);
    color: var(--dark);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.modal-product-info {
    background: var(--gray-lighter);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-element {
    background: var(--white);
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card-errors {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 20px;
}

/* Discount Code Section */
.discount-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 8px;
    border: 2px dashed #e0e7ff;
}

.discount-section label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.discount-input-group {
    display: flex;
    gap: 0.5rem;
}

.discount-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.discount-input-group input:focus {
    outline: none;
    border-color: #6366f1;
}

.discount-input-group button {
    padding: 0.75rem 1.5rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.discount-input-group button:hover {
    background: #059669;
    transform: translateY(-1px);
}

.discount-input-group button:active {
    transform: translateY(0);
}

.discount-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.discount-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.discount-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.discount-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.discount-applied-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #065f46;
    font-weight: 600;
}

.discount-remove-btn {
    background: transparent;
    border: none;
    color: #991b1b;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s;
}

.discount-remove-btn:hover {
    color: #7f1d1d;
    transform: scale(1.1);
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .modal {
        padding: 10px;
    }
    
    .star-rating {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-light);
        font-size: 1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .cart-button {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }

    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile Horizontal Card Layout */
    .product-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        min-height: auto;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .product-icon-large {
        flex-shrink: 0;
        margin-bottom: 0 !important;
    }
    
    .product-icon-large svg {
        width: 56px !important;
        height: 56px !important;
    }
    
    .product-info {
        flex: 1;
    }
    
    .product-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .product-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-price {
        margin-top: 0.5rem !important;
    }
    
    .price-value {
        font-size: 1.3rem !important;
    }
    
    .product-hover-text {
        display: none !important;
    }
    
    .product-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.65rem;
    }
    
    .product-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .products,
    .how-it-works,
    .faq-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-left {
        order: 1;
        text-align: center;
    }
    
    .contact-right {
        order: 2;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-illustration {
        max-width: 200px;
        margin: 1rem auto;
    }
    
    /* Mobile Form Improvements */
    .form-group-new {
        gap: 0.75rem;
    }
    
    .form-group-new label {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .form-group-new input,
    .form-group-new textarea {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 12px;
        border-width: 2px;
        min-height: 52px;
    }
    
    .form-group-new textarea {
        min-height: 140px;
        resize: vertical;
    }
    
    .form-hint {
        font-size: 0.85rem;
    }
    
    .send-message-btn {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.05rem;
        min-height: 56px;
    }

    .product-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

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

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Payment Request Button (Apple Pay / Google Pay) */
.payment-request-button {
    margin: 1.5rem 0;
}

/* Payment Divider */
.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-light);
}

.payment-divider span {
    padding: 0 1rem;
}

.payment-divider.hidden {
    display: none;
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Product Detail Pages */
.product-detail {
    margin-top: 80px;
    padding: 60px 0 80px;
    background: var(--gray-lighter);
    min-height: calc(100vh - 80px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-4px);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-detail-info {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.product-icon-large {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.popular-badge-large,
.new-badge-large {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.new-badge-large {
    background: linear-gradient(135deg, #10b981, #059669);
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-detail-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.product-detail-price {
    background: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period-large {
    font-size: 1.25rem;
    color: var(--gray);
}

.price-save {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-detail-features {
    margin-bottom: 2rem;
}

.product-detail-features h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-detail-description {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.product-detail-description h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-detail-description p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-detail-purchase {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.purchase-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.purchase-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.purchase-subtitle {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.purchase-card .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.purchase-card .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.purchase-card .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.purchase-summary {
    background: var(--gray-lighter);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--gray-dark);
}

.summary-row.total {
    border-top: 2px solid var(--gray-light);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.purchase-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1.125rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.purchase-button:active {
    transform: translateY(0);
}

.purchase-trust {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.guarantee-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.guarantee-box svg {
    margin-bottom: 1rem;
}

.guarantee-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.guarantee-box p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Plan Selection - Compact */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plan-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plan-content {
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.plan-option input[type="radio"]:checked + .plan-content {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.plan-option:hover .plan-content {
    border-color: var(--primary-light);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.plan-duration {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.plan-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.plan-total {
    color: var(--gray-dark);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.plan-save {
    color: var(--success-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-option.recommended {
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.plan-badge.popular {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Custom Amount Section */
.custom-amount-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
}

.custom-amount-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    pointer-events: none;
}

.custom-amount-wrapper input[type="number"] {
    padding-left: 2.5rem !important;
    font-size: 1.1rem;
    font-weight: 600;
}

.usdt-equivalent {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    white-space: nowrap;
}

.custom-amount-option .plan-content {
    border: 2px dashed var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.custom-amount-option input[type="radio"]:checked + .plan-content {
    border-color: var(--primary-color);
    border-style: solid;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3rem !important;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.toggle-password:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

/* Credentials Section */
.credentials-section {
    background: var(--gray-lighter);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 2px solid var(--gray-light);
}

.credentials-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.credentials-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.credentials-info {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 500;
}

/* Responsive for Product Detail Pages */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-purchase {
        position: static;
    }

    .product-detail-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 40px 0 60px;
    }

    .product-detail-info {
        padding: 1.5rem;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .product-detail-subtitle {
        font-size: 1rem;
    }

    .price-amount-large {
        font-size: 2.5rem;
    }

    .purchase-card {
        padding: 1.5rem;
    }
}

/* Cart Button */
.cart-button {
    position: relative;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

/* Modal Large */
.modal-large {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-lighter);
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: center;
}

.cart-item-icon {
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cart-item-plan {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.cart-item-email {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.cart-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cart-item-remove {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Cart Total */
.cart-total {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-total-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Checkout Button */
.checkout-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.checkout-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty Cart Message */
.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.empty-cart svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-cart p {
    font-size: 0.95rem;
}

/* Product Modal - Two Column Layout */
.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-modal-left {
    padding-right: 2rem;
}

.product-modal-right {
    border-left: 2px solid var(--gray-light);
    padding-left: 3rem;
}

.product-modal-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.product-modal-icon {
    flex-shrink: 0;
}

.product-modal-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-modal-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

.product-modal-features {
    background: var(--gray-lighter);
    padding: 1.5rem;
    border-radius: 12px;
}

.product-modal-features h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-detailed-description {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.product-detailed-description h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.product-detailed-description h3:first-child {
    margin-top: 0;
}

.product-detailed-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-detailed-description ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.product-detailed-description ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.product-detailed-description ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
}

.add-to-cart-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Notification */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

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

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive for Cart */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-price {
        font-size: 1.2rem;
    }
    
    .cart-button {
        padding: 0.5rem;
    }
    
    .cart-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* Product Modal Mobile */
    .product-modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-modal-left {
        padding-right: 0;
        padding-bottom: 2rem;
        border-bottom: 2px solid var(--gray-light);
    }
    
    .product-modal-right {
        border-left: none;
        padding-left: 0;
    }
}
