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

:root {
    --primary-color: #1657d9;
    --secondary-color: #1657d9;
    --accent-color: #1657d9;
    --light-blue: #1657d9;
    --very-light-blue: #e6f3ff;
    --footer-light-blue: #a8ccf0;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-border: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: #1657d9;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    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: var(--transition);
}

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

/* Removed nav-buy-now-btn styles as button was removed */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 105, 148, 0.4), rgba(30, 144, 255, 0.3));
    z-index: -1;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    text-align: left;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    color: #1657d9;
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-text h2 {
    color: #1657d9;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-text p {
    color: #1657d9;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 400;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero image styles removed - no longer needed */

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--very-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.product-info-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-info-content ul {
    list-style: none;
    padding: 0;
}

.product-info-content li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
}

.product-info-content strong {
    color: var(--primary-color);
}

.info-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Buy Now Section */
.buy-now {
    padding: 6rem 0;
    background: var(--white);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-product-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-image:hover {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-details h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
}

.rating-text {
    color: var(--medium-gray);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.original-price {
    font-size: 1.5rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.discount {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-specs {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.spec-item {
    margin-bottom: 0.5rem;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.quantity-selector select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

.quantity-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.purchase-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.buy-now-btn {
    background: var(--accent-color);
    color: var(--white);
}

.buy-now-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.product-guarantees {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--medium-gray);
}

.guarantee-item i {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: #1657d9;
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

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

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Removed filter to show original logo colors */
}

.footer-section h3 {
    color: var(--white);
    margin: 0;
}

.footer-section h4 {
    color: var(--footer-light-blue);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--footer-light-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-link {
    color: var(--footer-light-blue);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-link:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: var(--footer-light-blue);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transform: translateX(400px);
    transition: var(--transition);
    z-index: 1001;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Touch-friendly improvements for mobile */
.cta-button,
.add-to-cart-btn,
.buy-now-btn,
.nav-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .logo-image {
        height: 28px;
    }
    
    .nav-logo h2 {
        font-size: 1.1rem;
    }
    
    .nav-logo {
        gap: 0.5rem;
    }
    
    .footer-logo-image {
        height: 45px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    /* Removed nav-buy-now-btn mobile styles */
    
    .hero-content {
        padding: 0 15px;
        text-align: left;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .benefit-icon {
        margin-bottom: 1rem;
    }
    
    .product-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        background-position: right center;
        background-size: contain;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-text {
        padding: 1.5rem 0;
        max-width: 300px;
        margin-top: 20px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .cta-button {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
        width: auto;
        display: inline-block;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .product-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .toast {
        display: none; /* Hide toast notifications on mobile */
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section .social-links {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Smooth scrolling animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.product-showcase {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--light-border);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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