/* styles.css */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    --text: #1e293b;
    --text-light: #64748b;
    --light: #f8fafc;
    --light-gray: #f0f4f8;
    --dark: #0f172a;
    --success: #10b981;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style-type: none;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

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

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

.cta-button.primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

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

.bg-light {
    background-color: var(--light-gray);
}

.two-columns {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.column {
    flex: 1;
}

.image-container {
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--light);
    text-align: center;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Feature List */
.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--secondary);
    border-radius: 50%;
}

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

.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

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

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.full-width {
    grid-column: 1 / -1;
}

/* Tab System */
.tab-container {
    margin-top: 3rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--light);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text);
}

.tab-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-title {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Case Studies */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-title {
    padding: 1.5rem 1.5rem 0.5rem;
}

.case-card p {
    padding: 0 1.5rem 1.5rem;
}

/* Contact Section */
.cta-section {
    background-color: var(--light);
    position: relative;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 1 200px;
}

.footer-links {
    flex: 2 1 400px;
    display: flex;
    justify-content: space-between;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--light);
    transition: var(--transition);
}

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

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

/* Animation Classes */
.slide-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

.slide-in:nth-child(2) {
    animation-delay: 0.2s;
}

.slide-in:nth-child(3) {
    animation-delay: 0.4s;
}

.slide-in:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}