/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    overflow-x: hidden;
    background: #fafbfc;
}
a { text-decoration: none; color: inherit; transition: all .3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-weight: 500; font-size: 15px;
    border: 2px solid transparent; cursor: pointer; transition: all .3s ease;
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 10px; }
.btn-primary { background: linear-gradient(135deg, #1a73e8, #4285f4); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,115,232,.35); }
.btn-outline { border-color: #1a73e8; color: #1a73e8; background: transparent; }
.btn-outline:hover { background: #1a73e8; color: #fff; }
.btn-white { background: #fff; color: #1a73e8; font-weight: 600; }
.btn-white:hover { background: #f0f4ff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.06); transition: all .3s ease;
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo > img {
    height: 42px; width: auto; object-fit: contain;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 15px; font-weight: 500; color: #444; position: relative; padding: 8px 0;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: #1a73e8; transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: #1a73e8; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-link {
    display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.dropdown-link i { font-size: 10px; transition: transform .3s ease; }
.nav-dropdown:hover .dropdown-link i { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.12);
    padding: 8px; min-width: 220px; opacity: 0; visibility: hidden;
    transition: all .3s ease; z-index: 1000; margin-top: 8px;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
    display: block; padding: 10px 16px; font-size: 14px; font-weight: 500;
    color: #333; border-radius: 8px; transition: all .2s ease;
}
.dropdown-menu a:hover {
    background: #f0f4ff; color: #1a73e8;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: inline-flex; }
.header-actions .btn-consult {
    padding: 10px 20px;
    border: 2px solid #1a73e8;
    border-radius: 8px;
    color: #1a73e8;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
}
.header-actions .btn-consult:hover {
    background: #1a73e8;
    color: #fff;
}
.menu-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px; background: #1a1a2e; border-radius: 2px;
    transition: all .3s ease;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    padding: 120px 0 80px; background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f0ff 100%);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: .12;
}
.hero-gradient {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,115,232,.08), transparent 70%);
    top: -100px; right: -100px;
}
.hero-shapes { position: absolute; inset: 0; }
.shape {
    position: absolute; border-radius: 50%; opacity: .15;
    animation: float 6s ease-in-out infinite;
}
.shape-1 {
    width: 300px; height: 300px; background: linear-gradient(135deg, #1a73e8, #4285f4);
    bottom: -50px; left: 10%; animation-delay: 0s;
}
.shape-2 {
    width: 150px; height: 150px; background: linear-gradient(135deg, #fbbc04, #f9ab00);
    top: 20%; right: 45%; animation-delay: 2s;
}
.shape-3 {
    width: 100px; height: 100px; background: linear-gradient(135deg, #34a853, #0d652d);
    top: 40%; left: 30%; animation-delay: 4s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}
.hero-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-block; padding: 8px 20px; background: rgba(26,115,232,.1);
    color: #1a73e8; border-radius: 20px; font-size: 14px; font-weight: 500;
    margin-bottom: 24px;
}
.hero-text h1 {
    font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1.15;
    color: #1a1a2e; margin-bottom: 24px;
}
.highlight {
    background: linear-gradient(135deg, #1a73e8, #4285f4); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
    font-size: 18px; color: #555; margin-bottom: 36px; max-width: 500px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat-num {
    display: block; font-size: 32px; font-weight: 900; color: #1a73e8;
    line-height: 1.2;
}
.stat-label { font-size: 13px; color: #888; }

/* Hero Visual */
.hero-visual { position: relative; }
.visual-card {
    background: #fff; border-radius: 20px; padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08); text-align: center;
}
.card-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
}
.card-icon i { font-size: 36px; color: #fff; }
.visual-card h3 { font-size: 22px; margin-bottom: 12px; color: #1a1a2e; }
.visual-card p { color: #666; margin-bottom: 20px; }
.card-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.card-tags span {
    padding: 6px 16px; background: #f0f4ff; color: #1a73e8; border-radius: 20px;
    font-size: 13px; font-weight: 500;
}
.floating-card {
    position: absolute; background: #fff; border-radius: 12px; padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.1); display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; animation: floatCard 4s ease-in-out infinite;
}
.floating-card i { color: #1a73e8; font-size: 18px; }
.fc-1 { top: 20px; left: -30px; animation-delay: 1s; }
.fc-2 { bottom: 40px; right: -20px; animation-delay: 3s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Sections ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 6px 18px; background: rgba(26,115,232,.08);
    color: #1a73e8; border-radius: 20px; font-size: 13px; font-weight: 500;
    letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase;
}
.section-header h2 { font-size: 36px; font-weight: 900; color: #1a1a2e; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto; }

/* ===== About ===== */
.about { padding: 100px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-content h3 { font-size: 24px; margin-bottom: 20px; color: #1a1a2e; }
.about-content p { color: #555; margin-bottom: 16px; line-height: 1.9; }
.about-motto {
    font-weight: 700; color: #1a73e8; font-size: 16px; text-align: center;
    margin-top: 20px; padding: 12px 20px; background: #f0f4ff; border-radius: 10px;
}
.about-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.feature-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: #f8f9ff; border-radius: 10px;
}
.feature-item i { color: #1a73e8; font-size: 18px; }
.feature-item span { font-size: 14px; font-weight: 500; color: #333; }

/* About Visual */
.visual-box {
    background: linear-gradient(135deg, #1a73e8, #4285f4); border-radius: 20px;
    color: #fff; overflow: hidden; box-shadow: 0 20px 50px rgba(26,115,232,.2);
}
.vb-header {
    padding: 30px; text-align: center;
    background: rgba(255,255,255,.1);
    position: relative;
}
.vb-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: url('../images/about-team.jpg') center/cover no-repeat;
    opacity: .4;
    z-index: 0;
}
.vb-header > * { position: relative; z-index: 1; }
.vb-header i { font-size: 40px; margin-bottom: 12px; display: block; }
.vb-header h4 { font-size: 20px; font-weight: 700; }
.vb-body { padding: 30px; }
.vb-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.vb-item:last-child { border-bottom: none; }
.vb-item i { font-size: 24px; width: 50px; height: 50px; background: rgba(255,255,255,.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.vb-item div { display: flex; flex-direction: column; }
.vb-item strong { font-size: 16px; }
.vb-item span { font-size: 13px; opacity: .8; margin-top: 4px; }

/* About Services Grid */
.about-services { margin-top: 30px; }
.about-services h4 {
    font-size: 18px; font-weight: 700; color: #1a73e8; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 2px solid #e8f0fe;
}
.about-services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.about-service-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: #f0f4ff; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: #333;
    transition: all .3s ease;
}
.about-service-item:hover {
    background: #e8f0fe; transform: translateX(4px);
}
.about-service-item i {
    color: #1a73e8; font-size: 16px; width: 20px; text-align: center;
}

/* ===== Services ===== */
.services { padding: 100px 0; background: #f8f9ff; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
    background: #fff; border-radius: 16px; padding: 36px; position: relative;
    border: 1px solid #eee; transition: all .4s ease; overflow: hidden;
}
.service-card:hover {
    transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.08);
    border-color: transparent;
}
.service-card.featured {
    background: linear-gradient(135deg, #1a73e8, #4285f4); color: #fff;
    border-color: transparent;
}
.service-card.featured:hover { box-shadow: 0 20px 50px rgba(26,115,232,.3); }
.service-badge {
    position: absolute; top: 20px; right: 20px; padding: 4px 14px;
    background: #fbbc04; color: #fff; border-radius: 20px; font-size: 12px;
    font-weight: 600;
}
.service-icon {
    width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe); color: #1a73e8;
    transition: all .3s ease;
}
.service-card.featured .service-icon {
    background: rgba(255,255,255,.2); color: #fff;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.service-card > p { color: #666; margin-bottom: 20px; font-size: 14px; line-height: 1.8; }
.service-card.featured > p { color: rgba(255,255,255,.85); }
.service-list { margin-top: 16px; }
.service-list li {
    display: flex; align-items: center; gap: 8px; padding: 6px 0;
    font-size: 14px;
}
.service-card.featured .service-list li { color: rgba(255,255,255,.9); }
.service-list li i { color: #1a73e8; font-size: 12px; }
.service-card.featured .service-list li i { color: #fff; }

/* ===== Cases ===== */
.cases { padding: 100px 0; background: #fff; }
.cases-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.case-card { border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .4s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.case-thumb {
    height: 220px; position: relative; overflow: hidden;
    background: #e8f0fe; background-size: cover; background-position: center;
}
.case-thumb::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,115,232,.7), rgba(66,133,244,.7));
    opacity: 0; transition: opacity .3s ease;
}
.case-thumb.case-1 { background-image: url('../images/case-1.png'); }
.case-thumb.case-2 { background-image: url('../images/case-2.png'); }
.case-thumb.case-3 { background-image: url('../images/case-3.png'); }
.case-thumb.case-4 { background-image: url('../images/case-4.png'); }
.case-thumb.case-5 { background-image: url('../images/case-5.jpg'); }
.case-thumb.case-6 { background-image: url('../images/case-6.png'); }
.case-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s ease; z-index: 1;
    background: rgba(26,115,232,.6);
}
.case-thumb:hover::before { opacity: .7; }
.case-thumb:hover + .case-info { }
.case-thumb:hover .case-overlay { opacity: 1; }
.case-info { padding: 20px; }
.case-tag {
    display: inline-block; padding: 4px 12px; background: #f0f4ff; color: #1a73e8;
    border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.case-info h4 { font-size: 16px; font-weight: 700; color: #1a1a2e; }

/* ===== CTA ===== */
.cta {
    padding: 80px 0; background: linear-gradient(135deg, #1a73e8, #4285f4);
    text-align: center; color: #fff;
}
.cta-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.cta-content p { font-size: 18px; opacity: .9; margin-bottom: 32px; }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: #f8f9ff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-item {
    display: flex; align-items: flex-start; gap: 20px; padding: 24px 0;
    border-bottom: 1px solid #eee;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 52px; height: 52px; background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-icon i { font-size: 20px; color: #fff; }
.contact-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-item p { color: #555; font-size: 14px; }
.contact-item a { color: #1a73e8; }
.contact-item a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
    background: #fff; border-radius: 20px; padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 14px; font-weight: 600; color: #333;
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid #e8e8e8; border-radius: 10px;
    font-size: 15px; font-family: inherit; transition: border-color .3s ease;
    background: #fafafa;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #1a73e8; background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: #fff; padding: 60px 0 30px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-about .logo { margin-bottom: 20px; }
.footer-about .logo > img {
    height: 40px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer-about p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.8; }
.footer-links h4, .footer-services h4, .footer-contact h4 {
    font-size: 16px; margin-bottom: 20px; position: relative;
}
.footer-links ul, .footer-services ul, .footer-contact ul {
    display: flex; flex-direction: column; gap: 12px;
}
.footer-links a, .footer-services a {
    color: rgba(255,255,255,.6); font-size: 14px;
}
.footer-links a:hover, .footer-services a:hover { color: #4285f4; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(255,255,255,.6); font-size: 14px;
}
.footer-contact i { color: #4285f4; margin-top: 4px; }
.footer-bottom {
    padding-top: 30px; text-align: center; color: rgba(255,255,255,.4);
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
    background: linear-gradient(135deg, #1a73e8, #4285f4); color: #fff;
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(26,115,232,.3); opacity: 0; visibility: hidden;
    transition: all .3s ease; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .nav.active {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0; background: #fff;
        padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.1);
        border-top: 1px solid #eee;
    }
    .menu-toggle { display: flex; }
    .header-actions .btn { display: inline-flex; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .section-header h2 { font-size: 28px; }
    .cta-content h2 { font-size: 28px; }
    .floating-card { display: none; }
}

/* ===== Floating Contact Bar ===== */
.floating-contact {
    position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 2px;
    z-index: 999;
}
.float-item {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: #fff; border-radius: 10px;
    color: #1a73e8; text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    transition: all .3s ease; cursor: pointer;
}
.float-item:hover { background: #1a73e8; color: #fff; box-shadow: 0 4px 20px rgba(26,115,232,.3); }
.float-item i { font-size: 18px; }
.float-tip {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    background: #1a1a2e; color: #fff; padding: 10px 16px;
    border-radius: 10px; font-size: 13px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.float-tip::after {
    content: ''; position: absolute; right: -6px; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a2e;
    border-right: none;
}
.float-tip strong { display: block; font-size: 13px; margin-bottom: 2px; }
.float-tip span { font-size: 12px; opacity: .85; }
.float-item:hover .float-tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

@media (max-width: 768px) {
    .floating-contact { right: 10px; }
    .float-item { width: 40px; height: 40px; }
    .float-item i { font-size: 16px; }
    .float-tip { display: none; }
}
