:root {
  --google-blue: #4285F4;
  --google-green: #34A853;
  --google-yellow: #FBBC05;
  --google-red: #EA4335;
  --dark: #202124;
  --light: #ffffff;
  --gray: #5f6368;
  --card-bg: rgba(255, 255, 255, 0.92);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a {
  text-decoration-line: none;
}

em {
  font-style: inherit;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body {
  height: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
  color: var(--dark);
  line-height: 1.6;
  height: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* 头部样式 */
header {
  padding: 1rem 0 2.5rem 0;
  text-align: center;
  animation: fadeInDown 1s ease;
}

.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 1.2rem;
}

.google-logo {
  width: 100%;
  display: flex;
  column-gap: 168px;
  font-size: 3rem;
  background: linear-gradient(45deg,
          var(--google-blue),
          var(--google-green),
          var(--google-yellow),
          var(--google-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  align-items: center;
}

.google-logo .nav {
  font-size: 16px;
  display: flex;
  column-gap: 24px;
  justify-content: space-between;
}
.google-logo .nav a {
  color: #000;
  text-decoration: unset;
}
.google-logo .nav a.active {
  color:#226EF1!important;
}
.google-logo .logo {
  display: flex;
}
.google-logo img {
  height: 40px;
}
.site-title {
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--dark);
}

.tagline {
  font-size: 1.4rem;
  color: var(--gray);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* 搜索框样式 */
.search-container {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  position: relative;
  animation: fadeInUp 1s ease;
}

.search-box {
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-size: 1.1rem;
  border: 1px solid #dadce0;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
  transition: var(--transition);
  background: var(--card-bg);
}

.search-box:focus {
  outline: none;
  box-shadow: 0 1px 10px rgba(66, 133, 244, 0.2);
  border-color: var(--google-blue);
}

/* Google四色条 */
.google-colors {
  display: flex;
  height: 4px;
  max-width: 650px;
  margin: 0 auto 3rem;
  border-radius: 2px;
  overflow: hidden;
}

.color-bar {
  flex: 1;
}

.blue-bar {
  background-color: var(--google-blue);
}

.red-bar {
  background-color: var(--google-red);
}

.yellow-bar {
  background-color: var(--google-yellow);
}

.green-bar {
  background-color: var(--google-green);
}
.download-sub {
  margin-top: 12px;
  display: flex;
  column-gap: 12px;
  font-size: 14px;
  justify-content: center;
}
.download-sub span em {
  font-style: normal;
}
.index-device-desc {
  font-size: 14px;
  margin-top: 8px;
}
.index-btn_wrap{position: relative;cursor: pointer;display: inline-block;}
.index-code-box{display:flex;align-items:flex-end!important;justify-content:center!important;width:179px!important;height:197px!important;background:url(../img/code-box.png);background-size:179px 197px;position:absolute;top: 65px;left: 17%;z-index:5;display:none!important;}
.index-code-box .index-code{margin-bottom:24px;}
.index-code-box .index-code img{width:136px!important;height:136px!important}

/* 特性网格布局 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid #e8eaed;
  transform: translateY(0);
  opacity: 0;
  animation: slideInUp 0.6s forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.icon-speed {
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--google-blue);
}

.icon-security {
  background-color: rgba(52, 168, 83, 0.1);
  color: var(--google-green);
}

.icon-sync {
  background-color: rgba(251, 188, 5, 0.1);
  color: var(--google-yellow);
}

.icon-simple {
  background-color: rgba(234, 67, 53, 0.1);
  color: var(--google-red);
}

.icon-dev {
  background-color: rgba(66, 133, 244, 0.1);
  color: var(--google-blue);
}

.icon-update {
  background-color: rgba(52, 168, 83, 0.1);
  color: var(--google-green);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-desc {
  color: var(--gray);
  line-height: 1.7;
}

/* 下载区域 */
.download-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--card-bg), #f1f4f9);
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
  animation: fadeIn 1s ease;
}

.download-title {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.download-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.download-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  background: var(--google-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(66, 133, 244, 0.3);
}

.download-button:hover {
  background: #3367d6;
  box-shadow: 0 4px 10px rgba(66, 133, 244, 0.4);
  transform: translateY(-2px);
}

/* 平台支持 */
.platforms {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
}

/* 统计数据 */
.stats-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  background: linear-gradient(45deg, var(--google-blue), var(--google-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--gray);
  font-size: 1.1rem;
}


.cate header {
  padding-bottom: 0;
}
.cate .middle-main {
  background: none;
}
.middle-main {
  background: #f8f8f8;
  margin-bottom: auto;
}

.crumbs {
  padding: 16px 0 16px 16px;
  color: #707070;
  font-size: 12px;
  line-height: 16px;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumbs:before {
  content: '';
  width: 12px;
  height: 12px;
  background: url(../img/crumb-ico.png);
  background-size: 12px 12px;
  display: inline-block;
  line-height: 16px;
  position: absolute;
  top: 18px;
  left: 0;
}

.crumbs span,
.crumbs em {
  vertical-align: unset;
  color: #707070;
  display: inline-block;
  line-height: 16px;
}

.crumbs a {
  vertical-align: unset;
  color: #707070;
  display: inline-block;
}
.lists-pages {
  display: flex;
  justify-content: center;
  margin: 32px 0 8px;
  column-gap: 16px;
}

.lists-pages a {
  background: #FFFFFF;
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.16);
  border-radius: 5px;
  padding: 6px 16px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

.lists-pages a.active {
  background: #226EF1;
  color: #fff;
}

.section-9 {
  margin: 0 0 28px;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0px 0px 6px 1px rgba(0, 42, 183, 0.16);
}

.section-9 .article-item {
  display: flex;
  align-items: center;
  padding: 20px 0 16px;
  border-bottom: 1px solid #E4E4E4;
  ;
}

.section-9 .article-item:first-of-type {
  padding-top: 0;
}

.section-9 .article-item .item-thumb {
  width: 216px;
  height: 136px;
  border-radius: 8px;
  object-fit: cover;
}

.section-9 .article-item .base-info {
  width: 750px;
  height: 100%;
  margin-left: 16px;
}

.section-9 .article-item .base-info .item-name {
  all: unset;
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-9 .article-item .base-info .item-name:hover {
  color: #226EF1;
}

.section-9 .article-item .base-info .item-desc {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 20px;
  height: 40px;
  margin-top: 16px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;

}

.section-9 .article-item .base-info .item-updatetime {
  font-size: 12px;
  color: #226EF1;
  line-height: 16px;
  margin-top: 16px;
  display: block;
  position: relative;
}

.section-9 .article-item .item-btn {
  margin-left: 32px;
  background: #226EF1;
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 20px;
  display: flex;
  align-items: center;
}

.section-9 .article-item .item-btn:hover {
  background: #226EF1;
}

.section-9 .article-item .item-btn:after {
  content: '';
  width: 18px;
  height: 18px;
  background: url(../img/lists-btn-ico.png);
  background-size: 18px;
  display: inline-block;
  margin-left: 8px;
}
.section-11 {
  padding: 32px 24px 24px;
  width: 1200px;
  background: #FFFFFF;
  box-shadow: 0px 0px 6px 1px rgba(0, 42, 183, 0.16);
  margin: 0 auto;
}

.section-11 .article-name {
  all: unset;
  display: block;
  font-weight: bold;
  font-size: 25px;
  color: #333333;
  line-height: 35px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-11 .base-info {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid #E3E4E4;
}

.section-11 .base-info span {
  font-size: 14px;
  color: #666666;
  line-height: 20px;
  margin: 0 44px;
  display: flex;
  align-items: center;
}

.section-11 .base-info span a {
  color: #226EF1;
}

.section-11 .base-info span a:hover {
  color: #226EF1;
}

.section-11 .detail-content {
  padding-top: 15px;
  font-size: 16px;
  color: #000000;
  line-height: 32px;
}

.section-11 .detail-content p img {
  margin: 15px auto;
  display: block;
  max-width: 50% !important;
  max-height: 300px;
  width: auto;
  height: auto;
  box-shadow: 0 0 5px 1px #226EF1;
  border-radius: 8px;
}

.section-11 .detail-content p {
  font-size: 16px;
  color: #000000;
  line-height: 32px;
}

.section-11 .detail-content h3 {
  font-weight: bold;
  font-size: 18px;
  color: #226EF1;
  padding: 0 0 0 12px;
  margin: 15px 0;
  line-height: 24px;
  position: relative;
}

.section-11 .detail-content h3:before {
  content: '';
  height: 28px;
  width: 4px;
  position: absolute;
  top: -2px;
  left: 0;
  background: #226EF1;
}


.section-11 .detail-content a {
  color: #226EF1;
  vertical-align: unset;
}


.section-12 {
  width: 1200px;
  margin: 24px auto 32px;
  padding: 24px;
  background: #FFFFFF;
  box-shadow: 0px 0px 6px 1px rgba(0, 42, 183, 0.16);
}

.section-12 .module-name {
  display: inline-block;
  padding-top: 24px;
  background: url("../img/module-name-bg.png");
  width: 478px;
  height: 59px;
  background-size: 478px 59px;
  font-weight: bold;
  font-size: 26px;
  color: #226EF1;
  line-height: 36px;
}


.section-12 .lists {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.section-12 .lists .item {
  width: 270px;
  margin: 24px 0 0 24px;
}

.section-12 .lists .item:nth-of-type(4n-3) {
  margin-left: 0;
}

.section-12 .lists .item:hover .item-name {
  color: #226EF1;
}

.section-12 .lists .item .item-thumb {
  width: 270px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.section-12 .lists .item .item-name {
  font-size: 14px;
  font-weight: bold;
  color: #2C2C2C;
  line-height: 24px;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 底部 */
footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--gray);
  font-size: 0.9rem;
  border-top: 1px solid #dadce0;
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-link:first-child {
    margin-left:-24px;
}

.footer-link {
  color: var(--google-blue);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.main_wrap {
  width: 1200px;
  margin: auto;
}
.part-privacy {
  padding: 16px;
  font-size: 16px;
  line-height: 32px;
  margin-top: 16px;
}
.part-privacy p{
  font-size: 16px;
  line-height: 32px;
}
.page-404 {
  height: 100%;
  text-align: center;
}

.page-404 img {
  margin-top: 100px;
  padding: 0 2rem;
  box-sizing: border-box;
}

.page-404 h1,.page-404 span {
  display: block;
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-top: 2rem;
}

.page-404 .desc {
  text-align: center;
  font-size: .75rem;
  margin-top: .5rem;
}

.page-404 .desc a {
  color: #3C80F4;
}

.page-404 .btn-lists {
  margin: 1.5rem 0 1rem;
  display: flex;
  justify-content: center;
}

.page-404 .btn-lists a {
  width: 78px;
  height: 33px;
  line-height: 33px;
  text-align: center;
  background: #3C80F4;
  font-size: 12px;
  color: #FFFFFF;
  margin-right: 1.5rem;
  text-decoration: unset;
}

#to_top {position: fixed;bottom: 150px;right: 270px;cursor: pointer;z-index: 1000;display: none;}
#to_top img {width: 65px;height: 65px;}
/* 动画关键帧 */
@keyframes fadeIn {
  from {
      opacity: 0;
  }

  to {
      opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }

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

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }

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

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

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
      padding: 0 .875rem;
  }
  .download-section {
      padding: 4rem .25rem;
  }
  .download-sub {
      font-size: .75rem;
      column-gap: .125rem;
  }
  .google-logo {
    column-gap: 0;
    justify-content: space-between;
  }
  .google-logo img {
    height: 2rem;
  }
  .cate .container {
    padding: 0;
  }
  .cate header {
    padding: 1rem 1rem 0;
  }
  .google-logo .nav {
    font-size: 1rem;
    column-gap: 2rem;
  }
  .crumbs {
      width: 100%;
      margin: 0;
      padding: .5rem 1rem .5rem 2rem;
      color: #707070;
      font-size: 0.8rem;
      line-height: 1rem;
  }

  .crumbs:before {
      width: .75rem;
      height: .75rem;
      background-size: .75rem .75rem;
      line-height: 1rem;
      position: absolute;
      top: .625rem;
      left: 1rem;
  }

  .crumbs span,
  .crumbs em {
      line-height: 1rem;
  }


  .lists-pages {
      margin: 1.5rem 0 0;
      flex-wrap: wrap;
      column-gap: .5rem;
  }

  .lists-pages a,
  .lists-pages span {
      border-radius: .25rem;
      padding: .25rem .5rem;
      font-weight: 400;
      font-size: .8rem;
      line-height: 1rem;
  }

  .section-9 {
      width: 100%;
      margin: 0;
      padding: 0 1rem 1.5rem;
      box-shadow: none;
  }

  .section-9 .article-item {
      padding: 1rem 0;
  }

  .section-9 .article-item:first-of-type {
      padding-top: 1rem;
  }

  .section-9 .article-item .item-thumb {
      width: 7.25rem;
      height: 4.875rem;
      border-radius: .25rem;
  }

  .section-9 .article-item .base-info {
      width: 16.875rem;
      margin-left: .5rem;
      position: relative;
      height: 4.875rem;
  }

  .section-9 .article-item .base-info .item-name {
      font-size: .875rem;
      line-height: 1.25rem;
      position: absolute;
      width: 16rem;
      top: .5rem;
  }

  .section-9 .article-item .base-info .item-desc {
      font-size: .8rem;
      line-height: 1.125rem;
      height: 1.125rem;
      margin-top: 2rem;
      -webkit-line-clamp: 1;

  }

  .section-9 .article-item .base-info .item-updatetime {
      font-size: .8rem;
      line-height: normal;
      margin-top: .5rem;
      padding-left: 0;
      display: flex;
      position: unset;
      align-items: center;
  }

  .section-9 .article-item .item-btn {
      margin-left: .625rem;
      height: auto;
      border-radius: 0;
      position: absolute;
      right: 0;
      background: #fff;
      color: #226EF1;
      padding: 0;
      font-size: .8rem;
      line-height: normal;
      margin-top: 3.5rem;
      width: 4rem;
      justify-content: center;
  }
  .section-9 .article-item .item-btn:hover {
      background: unset;
  }
  .section-9 .article-item .item-btn em {
      display: none;
  }

  .section-9 .article-item .item-btn:after {
      display: none;
  }

  .section-11 {
      padding: 1.25rem 1rem 1rem;
      width: 100%;
      margin: 0;
      box-shadow: unset;
  }

  .section-11 .article-name {
      font-size: 1.25rem;
      line-height: 1.75rem;
  }

  .section-11 .base-info {
      display: flex;
      justify-content: center;
      padding: 1rem 0 1.25rem;
  }

  .section-11 .base-info span {
      font-size: .8rem;
      color: #666666;
      line-height: 1rem;
      margin: 0;
  }

  .section-11 .base-info span:first-of-type {
      margin-right: 1.5rem;
  }

  .section-11 .detail-content {
      padding-top: .5rem;
      font-size: .875rem;
      line-height: 1.875rem;
  }

  .section-11 .detail-content p img {
      margin: .5rem auto;
      display: block;
      max-width: 50% !important;
      max-height: 18rem;
      width: auto;
      height: auto;
      border-radius: .5rem;
  }

  .section-11 .detail-content p {
      font-size: .9375rem;
      line-height: 1.5rem;
  }

  .section-11 .detail-content h3 {
      font-size: 1rem;
      padding: 0 0 0 .625rem;
      margin: 1rem 0 .5rem;
      line-height: 1.25rem;
  }

  .section-11 .detail-content h3:before {
      height: 1.25rem;
      width: .25rem;
      top: 0;
  }


  .section-12 {
      width: 100%;
      margin: .5rem 0 0;
      padding: 1rem 1rem 1.5rem;
      background: #FFFFFF;
      box-shadow: unset;
  }

  .section-12 .module-name {
      padding-top: .875rem;
      width: 17.625rem;
      height: 2.1875rem;
      background-size: 17.625rem 2.1875rem;
      font-size: 1.25rem;
      line-height: 1.25rem;
  }


  .section-12 .lists {
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: flex-start;
      flex-direction: column;
  }

  .section-12 .lists .item {
      display: flex;
      align-items: center;
      width: 100%;
      margin: 0;
      padding: 1rem 0;
      border-bottom: 1px dashed #E4E4E4;
  }

  .section-12 .lists .item:nth-of-type(1) {
      margin-top: .5rem;
  }
  .section-12 .lists .item:nth-of-type(6),
  .section-12 .lists .item:nth-of-type(7),
  .section-12 .lists .item:nth-of-type(8) {
      display: none;
  }
  .section-12 .lists .item .item-thumb {
      width: 8.125rem;
      height: 5.625rem;
      border-radius: .5rem;
  }

  .section-12 .lists .item .item-name {
      font-size: .875rem;
      line-height: 1.25rem;
      margin-top: 0;
      margin-left: .5rem;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      white-space: unset;
  }

  .main_wrap {
    width: 100%;
    margin: 0 auto;
  }
  .part-privacy {
    margin-top: 2rem;
  }
  .part-privacy {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.75rem;
  }
  .part-privacy p{
    font-size: 0.875rem;
    line-height: 1.75rem;
  }
  .page-404 img {
    width:100%;
    margin-top: 12rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .stats-section {
    flex-direction: column;
    gap: 2rem;
  }

  footer {
    padding: 1rem 0;
  }

  .footer-links {
    margin: .5rem 0;
    gap: 0.5rem;
  }

  .platforms {
    flex-direction: column;
    gap: 0.8rem;
  }
  .footer-link:first-child {
      margin-left: -.5rem;
  }
  #to_top {position: fixed;bottom: 2rem;right: 1rem;cursor: pointer;z-index: 1000;display: none;}
  #to_top img {width: 2.5rem;height: 2.5rem;}
}