/* Logic Wave - Brand Styles */

/* ========================================
   CSS Variables (Brand Colors)
   ======================================== */
:root {
    /* Primary Brand Colors - from Logo */
    --primary: #2DD4BF;
    --primary-dark: #14B8A6;
    --primary-light: #5EEAD4;

    /* Secondary Colors */
    --secondary: #0F172A;
    --secondary-light: #1E293B;

    /* Backgrounds */
    --background: #ffffff;
    --background-dark: #0F172A;
    --surface: #f8fafc;

    /* Text */
    --text: #1e293b;
    --text-light: #ffffff;
    --text-muted: #64748b;

    /* Utility */
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 5rem;
    --section-padding-mobile: 3rem;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--surface);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-dark);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-link-cta {
    background: var(--primary);
    color: var(--secondary) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link-cta:hover {
    background: var(--primary-light);
    color: var(--secondary) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--background-dark);
    padding: 10rem 0 6rem;
    text-align: center;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.page-hero {
    background: var(--background-dark);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--secondary);
}

.btn-text {
    background: none;
    color: var(--primary);
    padding: 0.5rem 0;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================================
   Product Section
   ======================================== */
.products-preview {
    background: var(--surface);
}

.product-card {
    background: var(--background);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.product-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.product-tagline {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--background-dark);
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Content Blocks
   ======================================== */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    margin-bottom: 1.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.content-block p:last-child {
    margin-bottom: 0;
}

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

/* ========================================
   Values Grid
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Company Info
   ======================================== */
.company-info {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.company-info p {
    margin-bottom: 0.5rem;
}

/* ========================================
   Product Showcase
   ======================================== */
.product-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.product-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-tagline-large {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.product-description-full {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-list .feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
}

.feature-list p {
    color: var(--text-muted);
    margin: 0;
}

.product-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.app-store-buttons {
    margin-top: 1rem;
}

.coming-soon {
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
}

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

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

.form-group label {
    font-weight: 500;
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

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

.contact-info-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact-method {
    margin-bottom: 1rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Legal Content
   ======================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content .intro {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.contact-block {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-block p {
    margin-bottom: 0.25rem;
}

/* ========================================
   Support Section
   ======================================== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.support-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.support-card .support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 0.75rem;
}

.support-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-location {
    font-style: italic;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ========================================
   Utilities
   ======================================== */
main {
    padding-top: 72px; /* Account for fixed header */
}
