/*================================================
  Global Styles & Variables
================================================*/
:root {
    --primary-color: #32BED2; /* NEW primary color */
    --primary-color-dark: #299cae; /* NEW darker shade for hover effects */
    --secondary-color: #172b4d; /* A dark navy for text - unchanged */
    --accent-color: #7adedd; /* NEW lighter accent color */
    --light-gray-color: #f4f5f7;
    --text-color: #333;
    --white-color: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', 'Noto Sans TC', sans-serif; /* Added Noto Sans TC for better chinese font rendering */
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    margin-bottom: 10px;
}
.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #5e6c84;
}

/*================================================
  Navbar
================================================*/
.navbar {
    background: var(--white-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar nav li {
    margin-left: 25px;
}

.navbar nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav a:hover, .navbar nav a.active {
    color: var(--primary-color);
}

.lang-switcher a {
    text-decoration: none;
    color: #5e6c84;
    font-weight: 600;
    margin: 0 5px;
}
.lang-switcher a.active {
    color: var(--primary-color);
}

/*================================================
  Buttons
================================================*/
.btn {
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
}
.btn-outline:hover {
     background-color: var(--primary-color);
    color: var(--white-color);
}


/*================================================
  Hero Section
================================================*/
.hero {
    /* 將底下這行的 URL 換成您選擇的圖片 URL */
    background: linear-gradient(rgba(23, 43, 77, 0.7), rgba(23, 43, 77, 0.7)), url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?q=80&w=1600') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0;
}
.hero h1 {
    color: var(--white-color);
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/*================================================
  Dual Engine Section
================================================*/
.engine-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card h3 {
    margin-bottom: 15px;
}
.card p {
    color: #5e6c84;
}
.card .btn-secondary {
    margin-top: 20px;
}

/*================================================
  Why Amiko Section
================================================*/
.bg-light {
    background-color: var(--light-gray-color);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.why-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.why-item p {
    color: #5e6c84;
}

/*================================================
  Page Header (For inner pages)
================================================*/
.page-header {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}
.page-header h1 {
    color: var(--white-color);
    margin: 0;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/*================================================
  Content Sections
================================================*/
.content-section {
    padding: 80px 0;
}
.content-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-study-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.case-study-cards .card {
    text-align: left;
}

/* Co-Pilot Product Tiers */
.product-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}
.tier-card { text-align: left; }
.tier-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}
.tier-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.tier-header .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.tier-card ul {
    list-style: none;
    padding: 0;
}
.tier-card ul li {
    margin-bottom: 10px;
}
.tier-card ul i {
    color: #28a745; /* green checkmark */
    margin-right: 10px;
}

/*================================================
  CTA Section
================================================*/
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}
.cta-section h2 {
    color: var(--white-color);
}
.cta-section .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}
.cta-section .btn-primary:hover {
    background-color: var(--light-gray-color);
}


/*================================================
  Footer
================================================*/
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 40px 0;
}
.footer p {
    margin: 5px 0;
    opacity: 0.8;
}
.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.footer-links a:hover {
    opacity: 1;
}

/*================================================
  Additional Styles for New Pages
================================================*/

/* About Page - Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: center;
}

/* About Page - Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-member-card {
    text-align: center;
}
.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}
.team-member-card .title {
    color: #5e6c84;
    font-weight: 600;
    margin-top: -10px;
}
.team-member-card p {
    font-size: 0.9rem;
}

/* About Page - Backers Grid */
.backers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.backer-card {
    background-color: var(--light-gray-color);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}
.backer-card p {
    color: #5e6c84;
    margin-top: -10px;
}

/* Investors Page - Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.highlight-item {
    text-align: center;
}
.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.highlight-item p {
    color: #5e6c84;
}

/* Investors Page - Charts */
.charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.chart {
    text-align: center;
}
.chart img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.chart p {
    font-size: 0.9rem;
    color: #5e6c84;
    margin-top: 15px;
}

/* Contact & Investor Form */
.contact-form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group-single {
    margin-bottom: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Poppins', 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    box-sizing: border-box; /* Important for padding */
}
.contact-form textarea {
    resize: vertical;
}
.contact-form button {
    width: 100%;
}

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}
.contact-info p {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/*================================================
  Responsive Video Container
================================================*/
.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px; /* Optional: constrain max width */
    padding-top: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
    margin: 40px auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/*================================================
  Responsive Design
================================================*/
@media (max-width: 992px) {
    .why-grid, .product-tiers {
        grid-template-columns: 1fr;
    }
    .engine-cards, .case-study-cards, .mission-vision, .charts-container {
        grid-template-columns: 1fr;
    }
    .tier-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .navbar .container {
        flex-direction: column;
        width: 100%;
    }
    .navbar nav {
        width: 100%;
    }
    .navbar nav ul {
        flex-direction: column;
        margin-top: 15px;
        width: 100%;
    }
    .navbar nav li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    .navbar .lang-switcher {
        margin-top: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}