/* Reset and base styles */
:root {
    --primary-color: #5B21B6;
    --text-white: #ffffff;
    --background-white: #ffffff;
    --text-gray: #4B5563;
}

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

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

/* Navigation */
header {
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
}

.logo img {
    height: 24px;
    margin-right: 8px;
}

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

nav ul li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

nav ul li a:hover {
    opacity: 1;
}

/* Main content */
main {
    margin-top: 60px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero section */
.hero {
    background-color: var(--primary-color);
    color: var(--text-white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    flex: 1;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About section */
.about {
    background-color: #f9f9f9;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 1rem auto;
    line-height: 1.8;
    color: #444;
}

.about p:first-of-type {
    margin-top: 2rem;
}

/* Services section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Contact section */
.contact {
    text-align: center;
    padding: 4rem 5%;
}

.contact p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 2rem;
    color: #444;
}

.contact a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* Products page styles */
.products-hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    text-align: center;
    padding: 6rem 5%;
    margin-top: 60px;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin: 1.5rem 0;
}

.product-features h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

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

.product-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    color: #444;
}

.product-features li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.app-store-button {
    display: inline-block;
    margin-top: auto;
}

.app-store-button img {
    height: 40px;
}

.coming-soon {
    background: #f9f9f9;
    opacity: 0.8;
}

.coming-soon-bg {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    position: relative;
}

.coming-soon-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-image.coming-soon-bg img {
    opacity: 0.5;
}

/* App Icon Placeholder styles */
.app-icon-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-icon-placeholder span {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Version Info section styles */
.version-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.version-info p {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.version-info ul {
    list-style: none;
    padding-left: 0;
}

.version-info li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.version-info li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Legal pages styles */
.legal-content {
    max-width: 800px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.legal-content h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content a {
    color: #3498db;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Footer link styles */
.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Button styles */
.button-group {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

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

    .hero-image {
        order: -1;
    }

    .button-group {
        justify-content: center;
    }

    nav {
        padding: 1rem;
    }

    nav ul {
        display: none;
    }
}
