:root {
    --bg-dark: #07080E;
    --card-bg: rgba(16, 18, 27, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);

    --text-white: #F8FAFC;
    --text-muted: #94A3B8;

    --purple: #8B5CF6;
    --cyan: #06B6D4;
    --pink: #EC4899;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.62;
    overflow-x: hidden;
    position: relative;
}

.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.glow-1 {
    top: -20vw;
    right: -10vw;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}

.glow-2 {
    top: 50vh;
    left: -20vw;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

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

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, #6D28D9 100%);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: inherit;
    filter: blur(8px);
    opacity: 0.4;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(12px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background-color: rgba(7, 8, 14, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 1rem 8%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-quick);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 8% 5rem 8%;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #A78BFA;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--purple);
    box-shadow: 0 0 10px var(--purple);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image-wrapper {
    position: relative;
    opacity: 0;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) scale(0.95);
    animation: dashboardIntro 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    z-index: 10;
}

.dashboard-mockup {
    background-color: #10121B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.mockup-header {
    background-color: #0B0C12;
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 1.5rem;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.mockup-address {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.2rem 2rem;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
}

.mockup-body {
    padding: 0.5rem;
    background-color: #07080E;
}

.dashboard-img {
    border-radius: 6px;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    filter: blur(25px);
    z-index: -1;
    border-radius: 14px;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .image-glow {
    opacity: 0.55;
    filter: blur(35px);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-section {
    padding: 8rem 8%;
    background-color: rgba(16, 18, 27, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tab-btn {
    display: flex;
    gap: 1.5rem;
    background: none;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
    padding: 1.8rem;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateX(8px);
}

.tab-btn.active {
    background-color: rgba(139, 92, 246, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.05);
}

.tab-icon {
    font-size: 2rem;
    line-height: 1;
}

.tab-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.tab-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tabs-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    min-height: 480px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

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

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

.pane-visual {
    height: 180px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 3rem;
    background-color: rgba(7, 8, 14, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.stream-nodes {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.node {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #151620;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.node.active {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.node-center {
    width: 80px;
    height: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

.pulse-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px dashed rgba(6, 182, 212, 0.15);
    animation: spin 30s linear infinite;
}

.neural-network {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 60%;
}

.neural-layer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.neural-layer span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--purple);
    box-shadow: 0 0 10px var(--purple);
    position: relative;
}

.neural-layer:first-child span {
    background-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.neural-layer:last-child span {
    background-color: var(--pink);
    box-shadow: 0 0 10px var(--pink);
}

.shield-lock {
    text-align: center;
}

.shield-lock .shield {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.lock-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    font-weight: 600;
}

.pane-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.pane-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.pane-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pane-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.pane-list li {
    color: #E2E8F0;
}

.pricing-section {
    padding: 8rem 8%;
    position: relative;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

.toggle-label.active {
    color: var(--text-white);
}

.discount-badge {
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--pink);
    border: 1px solid rgba(236, 72, 153, 0.2);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.3rem;
}

.pricing-toggle {
    width: 50px;
    height: 26px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-toggle.active {
    background-color: var(--purple);
    border-color: var(--purple);
}

.toggle-ball {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

.pricing-toggle.active .toggle-ball {
    left: 26px;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: rgba(139, 92, 246, 0.4);
    background-color: rgba(16, 18, 27, 0.85);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.05);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
}

.card-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 2.5rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 2.5rem;
}

.currency {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-white);
}

.price-val {
    font-size: 3.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    transition: var(--transition-quick);
}

.period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-features {
    margin-bottom: 3rem;
}

.card-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.card-features li {
    color: var(--text-muted);
}

.card-features li:contains("✓"), .card-features li:has(text) {
    color: var(--text-white);
}

.faq-section {
    padding: 8rem 8%;
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-quick);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1;
}

.faq-answer {
    padding: 0 1.8rem 1.8rem 1.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--cyan);
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 8% 4rem 8%;
    background-color: #040509;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-links-grid {
    display: flex;
    gap: 5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.footer-column a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

.chat-toggle:hover {
    transform: scale(1.08) rotate(5deg);
}

.chat-toggle-icon {
    font-size: 1.6rem;
}

.chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--pink);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--bg-dark);
}

.chat-box {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 480px;
    background-color: #10121B;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    flex-direction: column;
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-box.open {
    display: flex;
}

.chat-header {
    background-color: rgba(7, 8, 14, 0.6);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.chat-status-info h4 {
    font-size: 0.95rem;
}

.status-indicator {
    font-size: 0.7rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-indicator::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 5px var(--cyan);
}

.chat-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.chat-close:hover {
    color: var(--text-white);
}

.chat-messages {
    flex-grow: 1;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.chat-msg {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-msg.system {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--purple) 0%, #6D28D9 100%);
    color: var(--text-white);
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
    background-color: rgba(7, 8, 14, 0.4);
}

.chat-input-area input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--purple);
}

.chat-input-area button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--purple);
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-input-area button:hover {
    background-color: #7C3AED;
}

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

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes dashboardIntro {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-20deg) rotateX(10deg) scale(0.9) translateY(40px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) scale(0.95) translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
    }

    .hero-image-wrapper {
        transform: none !important;
        animation: fadeInUp 1s ease forwards 0.3s;
        max-width: 650px;
        margin: 0 auto;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .header {
        padding: 1.2rem 6%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #07080E;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        border-left: 1px solid var(--border-color);
        transition: var(--transition-smooth);
    }

    .nav.open {
        right: 0;
    }

    .header-action {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .tabs-content {
        padding: 2.5rem;
    }
}
