/* WPS Series D - Future Professional */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #E63946;
    --primary-hover: #D62839;
    --text-main: #111827;
    --text-sub: #6B7280;
    --bg-page: #FFFFFF;
    --bg-subtle: #F9FAFB;
    --border-light: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-std: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* Navbar - Minimalist & Sticky */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

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

.brand {
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.menu {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

.menu-item:hover { color: var(--primary); }

.nav-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
}

.btn-ghost:hover { background: var(--bg-subtle); }

.btn-solid {
    background: var(--text-main);
    color: #fff;
    border: 1px solid var(--text-main);
}

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

/* Hero Section - Clean Typography */
.hero {
    padding: 120px 24px 80px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #111 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Interactive App Mockup */
.mockup-container {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 24px;
    perspective: 1000px;
}

.app-window {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.app-window:hover { transform: rotateX(0deg); }

.window-header {
    background: #F3F4F6;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-content {
    padding: 40px;
    min-height: 500px;
    position: relative;
    background: #fff;
}

/* Tabbed Interface */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    background: var(--bg-subtle);
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-sub);
    transition: 0.2s;
}

.tab-btn.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

/* Grid Layout */
.grid-section {
    padding: 100px 24px;
    background: var(--bg-subtle);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.bento-item {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bento-large { grid-column: span 2; }

/* Pricing Cards */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 60px 24px;
    align-items: center;
}

.price-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    width: 350px;
    text-align: center;
    transition: 0.3s;
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
    transform: scale(1.05);
    z-index: 10;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}

.check-list {
    text-align: left;
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 12px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon { color: var(--primary); }

/* Footer */
.footer-pro {
    border-top: 1px solid var(--border-light);
    padding: 80px 24px;
    background: #fff;
}

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-sub);
    font-size: 14px;
}

.footer-col a:hover { color: var(--primary); }

/* Animation Utils */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode Toggle */
.theme-switch {
    background: var(--bg-subtle);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.theme-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.3s;
}

.theme-icon.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

/* Creative Canvas Module */
.canvas-section {
    padding: 100px 24px;
    overflow: hidden;
    background: #fff;
}

.canvas-container {
    position: relative;
    height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px dashed var(--border-light);
    border-radius: 24px;
    background-image: radial-gradient(#E5E7EB 1px, transparent 1px);
    background-size: 20px 20px;
}

.canvas-card {
    position: absolute;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    width: 240px;
    transition: 0.3s;
    cursor: grab;
}

.canvas-card:hover {
    transform: scale(1.05);
    z-index: 10;
    border-color: var(--primary);
}

.cc-1 { top: 100px; left: 100px; transform: rotate(-5deg); }
.cc-2 { top: 200px; left: 400px; transform: rotate(3deg); }
.cc-3 { top: 80px; right: 150px; transform: rotate(5deg); }
.cc-4 { bottom: 100px; left: 250px; transform: rotate(-2deg); }

/* Interactive Data Module */
.data-viz-section {
    background: #111;
    color: #fff;
    padding: 100px 24px;
    text-align: center;
}

.chart-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    align-items: flex-end;
    height: 300px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar {
    width: 60px;
    background: linear-gradient(to top, #333, #555);
    border-radius: 8px 8px 0 0;
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    transition: height 1s 0.5s;
}

.bar:hover::after { height: 100%; }

.bar-label { font-size: 14px; color: #888; }

/* Typing Effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }
