* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --bg-dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(99, 102, 241, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-green: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

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

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.nav-menu a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

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

.search-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--bg-gray);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-gray);
    border-top: 1px solid transparent;
}

.search-bar.active {
    max-height: 100px;
    border-top-color: var(--border);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    gap: 12px;
}

.search-container input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: var(--primary);
    background: white;
}

.search-container button {
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    top: 40%;
    right: -80px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: -50px;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #fa709a, #fee140);
    top: 20%;
    left: 50%;
    opacity: 0.25;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.ppt-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-main {
    width: 100%;
    max-width: 420px;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}

.ppt-header {
    padding: 16px 20px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.ppt-dots {
    display: flex;
    gap: 6px;
}

.ppt-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fca5a5;
}

.ppt-dots span:nth-child(2) { background: #fcd34d; }
.ppt-dots span:nth-child(3) { background: #86efac; }

.ppt-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.ppt-body {
    padding: 32px 24px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #6b21a8 100%);
    position: relative;
    min-height: 240px;
    overflow: hidden;
}

.ppt-body::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.ppt-body::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.slide-visual {
    position: relative;
    z-index: 1;
    color: white;
}

.slide-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

.slide-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding-top: 20px;
}

.slide-chart .bar {
    flex: 1;
    background: linear-gradient(180deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    animation: barGrow 2s ease-out;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.slide-chart .bar:nth-child(2) {
    background: linear-gradient(180deg, #f9a8d4 0%, #ec4899 100%);
    animation-delay: 0.2s;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.slide-chart .bar:nth-child(3) {
    background: linear-gradient(180deg, #67e8f9 0%, #06b6d4 100%);
    animation-delay: 0.4s;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.slide-chart .bar:nth-child(4) {
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
    animation-delay: 0.6s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.slide-chart .bar:nth-child(5) {
    background: linear-gradient(180deg, #86efac 0%, #10b981 100%);
    animation-delay: 0.8s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@keyframes barGrow {
    from { height: 0 !important; }
}

.ppt-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.ppt-footer span:first-child {
    font-weight: 700;
    color: var(--primary);
}

.tag {
    padding: 4px 12px;
    background: var(--bg-gray);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.card-float {
    position: absolute;
    width: 160px;
    padding: 16px;
    animation: miniFloat 5s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: -20px;
    animation-delay: -1s;
    transform: rotate(-8deg);
}

.card-2 {
    bottom: 80px;
    left: 0;
    animation-delay: -2s;
    transform: rotate(5deg);
}

.card-3 {
    top: 60px;
    right: -10px;
    animation-delay: -3s;
    transform: rotate(8deg);
}

@keyframes miniFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--r, 0deg)); }
}

.mini-slide {
    padding: 24px 16px;
    border-radius: 12px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slide-type-1 {
    background: linear-gradient(135deg, #0891b2 0%, #0d9488 50%, #047857 100%);
}

.slide-type-2 {
    background: linear-gradient(135deg, #fda4af 0%, #fb7185 50%, #f472b6 100%);
}

.slide-type-3 {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #7f1d1d 100%);
}

.mini-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mini-sub {
    font-size: 11px;
    opacity: 0.9;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features {
    padding: 120px 0;
    background: white;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.icon-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.icon-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.icon-3 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.icon-4 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.icon-5 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.icon-6 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    padding: 6px 12px;
    background: var(--bg-gray);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.templates {
    padding: 120px 0;
    background: var(--bg-gray);
    position: relative;
}

.template-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.template-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.template-thumb {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.slide-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.slide-preview .pt {
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
    margin-bottom: 8px;
}

.slide-preview .ps {
    font-size: 12px;
    opacity: 0.9;
    z-index: 2;
    text-align: center;
}

.thumb-tech-1 .slide-preview {
    background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 50%, #6366f1 100%);
}

.thumb-biz-1 .slide-preview {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.thumb-edu-1 .slide-preview {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
}

.thumb-fest-1 .slide-preview {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #dc2626 100%);
}

.thumb-crt-1 .slide-preview {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 50%, #34d399 100%);
}

.thumb-tech-2 .slide-preview {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #155e75 100%);
}

.thumb-crt-2 .slide-preview {
    background: linear-gradient(135deg, #fbcfe8 0%, #f9a8d4 40%, #c084fc 100%);
    color: #4a044e;
}

.thumb-biz-2 .slide-preview {
    background: linear-gradient(135deg, #475569 0%, #334155 50%, #1e293b 100%);
}

.circle-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.c1 {
    width: 120px;
    height: 120px;
    background: #ec4899;
    top: -30px;
    right: -30px;
}

.c2 {
    width: 80px;
    height: 80px;
    background: #06b6d4;
    bottom: -20px;
    left: -20px;
}

.c3 {
    width: 100px;
    height: 100px;
    background: #f59e0b;
    top: 30%;
    right: 20%;
    opacity: 0.25;
}

.bars-mini {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-top: 12px;
    z-index: 2;
}

.bars-mini span {
    width: 16px;
    background: linear-gradient(180deg, #a5b4fc, #6366f1);
    border-radius: 4px 4px 0 0;
}

.decor-star {
    font-size: 60px;
    position: absolute;
    top: 20%;
    right: 10%;
    opacity: 0.2;
}

.quad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 16px;
    z-index: 2;
}

.quad span {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.badge-free {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.95);
    color: white;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(8px);
}

.template-info {
    padding: 20px;
}

.template-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.template-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.advantages {
    padding: 120px 0;
    background: white;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.advantage-item {
    padding: 36px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.advantage-item:hover {
    background: white;
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.adv-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.news {
    padding: 120px 0;
    background: var(--bg-gray);
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    padding: 36px 32px;
    background: white;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.news-tag.tech { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.news-tag.tip { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.news-tag.edu { background: rgba(236, 72, 153, 0.1); color: var(--secondary); }
.news-tag.feature { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

.news-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-lighter);
}

.qa {
    padding: 120px 0;
    background: white;
    position: relative;
}

.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.qa-item:hover {
    border-color: var(--primary-light);
}

.qa-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

.qa-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: inherit;
}

.qa-question strong {
    color: var(--primary);
    font-weight: 700;
}

.qa-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.qa-item.active .qa-toggle {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.qa-item.active .qa-answer {
    max-height: 400px;
    padding: 0 28px 24px;
}

.qa-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.qa-answer strong {
    color: var(--success);
    font-weight: 700;
}

.links {
    padding: 100px 0;
    background: var(--bg-gray);
    position: relative;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.link-card {
    padding: 20px 24px;
    background: white;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: block;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.cta {
    padding: 80px 0;
    position: relative;
}

.cta-box {
    background: var(--gradient-dark);
    border-radius: 32px;
    padding: 64px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-text {
    position: relative;
    z-index: 1;
    color: white;
    flex: 1;
    min-width: 280px;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 17px;
    opacity: 0.8;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-actions .btn-primary:hover {
    background: #f1f5f9;
}

.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 80px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 360px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text { order: 2; }
    .hero-visual { order: 1; min-height: 400px; }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 16px 24px;
        border-top: 1px solid var(--border);
        gap: 4px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 15px;
    }
    
    .features, .templates, .advantages, .news, .qa {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .feature-card, .advantage-item, .news-card {
        padding: 28px 24px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .cta-box {
        padding: 48px 32px;
        text-align: center;
    }
    
    .cta-text {
        min-width: 100%;
    }
    
    .cta-text h2 {
        font-size: 28px;
    }
    
    .cta-actions {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-col p {
        margin: 0 auto;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .nav-actions .btn-primary {
        display: none;
    }
    
    .qa-question {
        padding: 20px;
        font-size: 15px;
    }
    
    .qa-item.active .qa-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .card-float {
        width: 120px;
        padding: 12px;
    }
    
    .mini-title {
        font-size: 14px;
    }
    
    .mini-sub {
        font-size: 10px;
    }
}
