/* General Styles */
:root {
    --primary-color: #4a6fdc;
    --secondary-color: #3cde8e;
    --dark-color: #1a1e2c;
    --light-color: #f9fafb;
    --text-color: #2d3748;
    --border-radius: 8px;
    --accent-color: #ff6b4a;
    --transition-normal: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.btn-primary, .btn-secondary, .btn-shop, .btn-category {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3961c8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 111, 220, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 111, 220, 0.2);
}

/* Header Styles */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.announcement-bar i {
    margin-right: 8px;
}

.main-header {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    transition: var(--transition-normal);
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-weight: 600;
    transition: var(--transition-normal);
    position: relative;
    padding: 5px 0;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

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

.header-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-actions a {
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.header-actions a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section - Enhanced */
.hero {
    background: linear-gradient(rgba(14, 20, 40, 0.8), rgba(14, 20, 40, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 111, 220, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
}

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

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255,255,255,0.05), transparent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
    animation: fadeInDown 1s ease;
}

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

.hero-tagline {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

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

.launch-info {
    margin: 40px 0;
    animation: fadeIn 1s ease 0.8s both;
}

.launch-info p {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Form Styles - Enhanced */
.signup-form {
    margin: 40px 0;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease 1s both;
}

.signup-form form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-form form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 20px 30px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1.1rem;
    outline: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    font-family: 'Poppins', sans-serif;
}

.signup-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 20px 35px;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.signup-form button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-message {
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.9;
    font-weight: 300;
}

/* Product Preview Section */
.product-preview {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.product-preview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(249, 250, 251, 1), transparent);
    z-index: 1;
}

.product-preview h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.8rem;
    color: var(--dark-color);
    position: relative;
}

.product-preview h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-preview-item {
    text-align: center;
    transition: all 0.4s;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.product-preview-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.product-preview-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
    transition: all 0.4s ease;
}

.product-preview-item:hover .product-preview-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.product-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-preview-item:hover .product-preview-image img {
    transform: scale(1.1);
}

.product-preview-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.product-preview-item h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.product-preview-item:hover h3:after {
    width: 100%;
}

.product-preview-item p {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background: linear-gradient(120deg, #f9fafb, #f0f4f8);
    position: relative;
    overflow: hidden;
}

.benefits:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.8rem;
    position: relative;
}

.benefits h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns for desktop */
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    text-align: center;
    background-color: white;
    padding: 40px 20px; /* Reduced padding to fit better */
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.benefit-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-item:hover:before {
    transform: scaleX(1);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 90px; /* Slightly smaller for better fit */
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 20px rgba(74, 111, 220, 0.3);
    transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    transform: rotateY(180deg);
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.language-switcher a {
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.language-switcher a:hover {
    color: var(--primary-color);
    background-color: rgba(74, 111, 220, 0.1);
}

.language-switcher a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(74, 111, 220, 0.3);
}

.language-switcher span {
    margin: 0 2px;
    color: #ccc;
}

/* Enhanced Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.footer-logo img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.footer-contact {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition-normal);
}

.footer-contact a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-icon:hover:before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(10deg);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries - Enhanced*/
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr); /* Maintain 4 columns */
        gap: 20px; /* Reduced gap for medium screens */
    }
    
    .benefit-item {
        padding: 30px 15px; /* Even more compact on medium screens */
    }
    
    .benefit-item h3 {
        font-size: 1.3rem;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none; /* Would need JavaScript for mobile menu */
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .product-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
        gap: 30px;
    }
    
    .benefit-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .signup-form form {
        flex-direction: column;
        border-radius: 12px;
        max-width: 90%;
    }
    
    .signup-form input[type="email"] {
        border-radius: 12px 12px 0 0;
        text-align: center;
        padding: 16px 20px;
    }
    
    .signup-form button {
        border-radius: 0 0 12px 12px;
        padding: 16px 20px;
    }

    .product-grid,
    .benefits-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .language-switcher {
        margin-left: 5px;
    }
    
    .product-preview,
    .benefits {
        padding: 60px 0;
    }
    
    .product-preview-image {
        width: 180px;
        height: 180px;
    }
    
    .benefit-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .launch-info p {
        font-size: 1.2rem;
    }
    
    .signup-form button {
        font-size: 0.9rem;
    }
    
    .product-preview h2,
    .benefits h2 {
        font-size: 1.8rem;
    }
}

/* New breakpoint for small tablets */
@media (min-width: 769px) and (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns for small tablets */
    }
}