/* FIBO Solutions - Main Stylesheet */
/* Based on Tomiko Brand Guidelines */

/* ===== CSS Variables (Tomiko Brand Colors) ===== */
:root {
    /* Primary Colors (Ocean Blue) */
    --primary-50: #E3EEF9;
    --primary-100: #B3D1F7;
    --primary-200: #83AFF0;
    --primary-300: #6DA2DC;
    --primary-400: #5A8ED0;
    --primary-500: #4779C4;
    --primary-600: #3D6AAD;
    --primary-700: #335A96;
    --primary-800: #294A7F;
    --primary-900: #1F3A68;

    /* Neutral Colors */
    --gray-900: #1A1A1A;
    --gray-700: #666666;
    --gray-500: #9E9E9E;
    --gray-300: #E0E0E0;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;

    /* Semantic Colors */
    --success: #4779C4;
    --warning: #FFA726;
    --error: #D4183D;

    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing (8pt grid system) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(71, 121, 196, 0.3);
}

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

body {
    font-family: var(--font-system);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    line-height: 1.6;
    color: var(--gray-700);
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-500);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--primary-50);
    color: var(--primary-600);
    border-color: var(--primary-600);
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-300);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.nav-brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-500);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-900);
    transition: color 0.3s ease;
}

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: var(--white);
    padding: var(--space-xxl) 0;
    text-align: center;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Section Styles ===== */
section {
    padding: var(--space-xxl) 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--primary-500);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
}

/* ===== Featured Product Section ===== */
.featured-product {
    background-color: var(--white);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.product-badge {
    display: inline-block;
    background-color: var(--primary-50);
    color: var(--primary-500);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.product-info h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: var(--space-xs);
}

.product-tagline {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.product-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 16px;
    color: var(--gray-700);
}

.product-features svg {
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-icon-large {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.icon-circle span {
    font-size: 120px;
    font-weight: 700;
    color: var(--white);
}

/* ===== About Section ===== */
.about {
    background-color: var(--primary-50);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: var(--space-md);
    color: var(--gray-900);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.faq-item {
    background-color: var(--primary-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-500);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-600);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    margin: 0;
}

.faq-item a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
}

.faq-item a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.contact-item p {
    font-size: 16px;
    color: var(--gray-700);
}

.contact-item ul {
    list-style: none;
}

.contact-item li {
    padding: 6px 0;
    color: var(--gray-700);
}

/* ===== Contact Form ===== */
.contact-form {
    background-color: var(--gray-100);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-system);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(71, 121, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: var(--space-sm);
    color: var(--white);
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 40px;
    }

    .product-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .icon-circle {
        width: 200px;
        height: 200px;
    }

    .icon-circle span {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: var(--space-sm);
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .product-info h2 {
        font-size: 36px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--space-xs);
    }
}
