/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;700&display=swap');

:root {
    /* Color Variables - Same as TaskMail */
    --primary-color: #31B4F2;      /* Turquoise */
    --secondary-color: #0000FF;    /* Blue */
    --accent-color: #F8CF40;       /* Gold */
    --tertiary-color: #025492;     /* Blue Grotto */
    --background-color: #FFFFFF;   /* Pure White */
    --text-color: #2C3E50;         /* Dark Blue-Gray */
    --light-text: #FFFFFF;         /* White text for dark backgrounds */
    --dark-gray: #34495E;          /* Darker gray for contrast */
    --light-gray: #ECF0F1;         /* Light gray for borders */
    --container-width: 1200px;
    --border-radius: 12px;
    --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

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

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

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.primary-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--box-shadow);
    border: none;
    margin: 8px;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--light-text);
}

.outline-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 11px 27px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    margin: 8px;
}

.outline-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.sign-up-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 230, 109, 0.3);
}

.sign-up-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    margin-right: 30px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    color: var(--dark-gray);
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background-color: rgba(255, 230, 109, 0.1);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--dark-gray);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img {
    max-width: 90%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Products Section */
.products {
    background-color: #f9fafc;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--background-color);
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.product-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.product-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.product-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.product-icon i {
    font-size: 28px;
    color: var(--light-text);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-tagline {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.product-features {
    margin: 25px 0;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 0.9rem;
}

.product-action {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--light-text);
}

.contact-details h4 {
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.cta .primary-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.cta .primary-btn:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--light-text);
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-text);
}

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

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

.copyright a {
    color: var(--accent-color);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .primary-btn,
    .hero-buttons .outline-btn {
        text-align: center;
        margin: 5px 0;
    }
    
    .product-action {
        align-items: stretch;
    }
    
    .product-action .primary-btn,
    .product-action .outline-btn {
        text-align: center;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .product-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}