/* ================================
   HOW IT WORKS SECTION
   ================================ */

.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f7fa 0, #f8fafc 40%, #f2f4f8 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: #1a202c;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-tabs {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08),
                0 2px 10px rgba(0, 0, 0, .06),
                inset 0 1px 0 rgba(255, 255, 255, .9);
    border-radius: 16px;
    padding: .5rem;
    display: inline-flex;
    margin: 0 auto 3rem;
    gap: .5rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.tab-btn {
    padding: .75rem 2rem;
    border: none;
    background: 0 0;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    outline: 0;
    position: relative;
}

.tab-btn:hover {
    color: #2d3748;
    transform: translateY(-1px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #10b981 0, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, .3),
                inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.tab-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15),
                0 10px 20px rgba(0, 0, 0, .08),
                0 0 0 1px rgba(16, 185, 129, .1);
    overflow: hidden;
    transform: translateY(0);
    transition: all .3s ease;
    position: relative;
}

.tab-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .18),
                0 15px 30px rgba(0, 0, 0, .1),
                0 0 0 1px rgba(16, 185, 129, .2);
}

.tab-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0, #14b8a6 50%, #0ea5e9 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.tab-content:hover::before {
    opacity: 1;
}

.tab-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   CODE BLOCK STYLES
   ================================ */

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre;
    font-family: 'Fira Code', monospace;
    margin-left: -56px;
}

.token-keyword {
    color: #22c55e;
    font-weight: 500;
}

.token-string {
    color: #86efac;
}

/* ================================
   SHEET/TABLE STYLES
   ================================ */

.sheet {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08),
                0 2px 10px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8fafc, #f3f6fb);
    border-bottom: 1px solid #e5e7eb;
}

.sheet__title {
    margin: 0;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 64ch;
}

.sheet__download {
    color: #64748b;
    text-decoration: none;
}

.sheet__download:hover {
    text-decoration: underline;
}

.sheet__tablewrap {
    overflow: auto;
}

.sheet__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sheet__table td,
.sheet__table th {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
    font-size: .8rem;
}

.sheet__table thead th {
    font-size: .8rem;
    color: #475569;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sheet__table tbody tr:nth-child(even) {
    background: #fafafa;
}

.sheet__footer {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 32px 16px;
    background: linear-gradient(180deg, #f8fafc, #f3f6fb);
}

.sheet__how {
    background: #eef6ff;
    border-top: 1px solid #e5e7eb;
    padding: 16px;
}

.sheet__how h5 {
    margin: 0 0 6px 0;
    color: #0f172a;
}

.sheet__how ol {
    margin: 0;
    padding-left: 1.25rem;
    color: #334155;
    font-size: .65rem;
}

/* ================================
   UTILITY CLASSES
   ================================ */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .8rem;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.pill--green {
    background: linear-gradient(180deg, #eafff3, #d1fae5);
    color: #166534;
    border-color: #a7f3d0;
}

.pill--amber {
    background: linear-gradient(180deg, #fff6e5, #fde68a);
    color: #92400e;
    border-color: #fcd34d;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid transparent;
    margin-right: 6px;
    font-size: .8rem;
}

.tag--blue {
    background: #eef2ff;
    color: #1e40af;
    border-color: #c7d2fe;
}

.tag--amber {
    background: #fff7ed;
    color: #b45309;
    border-color: #fed7aa;
}

.sel {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
    font-size: .8rem;
}

.sel:focus {
    outline: 2px solid #a7f3d0;
    border-color: #34d399;
}

.link-refresh {
    color: #64748b;
    text-decoration: none;
}

.link-refresh:hover {
    text-decoration: underline;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s ease,
                box-shadow .15s ease,
                background .2s ease;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #22c55e 0, #10b981 50%, #059669 100%);
    box-shadow: 0 8px 20px rgba(34, 197, 94, .3),
                inset 0 1px 0 rgba(255, 255, 255, .2);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, .4),
                inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn--ghost {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #0f172a;
}

.btn--ghost:hover {
    background: #f8fafc;
}

.btns {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quota {
    color: #475569;
}

/* ================================
   GLOBAL STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.header {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.logo img {
    height: 55px !important;
    width: auto;
    display: block;
    transition: opacity .3s ease;
}

.logo:hover {
    opacity: .8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
}

.nav-breadcrumb a {
    color: #15803d;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all .2s ease;
}

.nav-breadcrumb a:hover {
    color: #2563eb;
    text-decoration-thickness: 2px;
}

.separator {
    color: #999;
    font-size: 1.1rem;
}

.current {
    color: #333;
    font-weight: 600;
}

/* ================================
   MOBILE MENU
   ================================ */

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: .25rem;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, #475569 0, #64748b 100%);
    border-radius: 2px;
    transition: all .3s ease-in-out;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.menu-toggle:hover span {
    background: linear-gradient(135deg, #065f46, #10b981);
    box-shadow: 0 2px 4px rgba(16, 185, 129, .2);
}

.menu-toggle.active {
    opacity: 0;
    pointer-events: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100vh;
    background: linear-gradient(180deg, #f5f7fa 0, #f8fafc 40%, #f2f4f8 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
    transition: right .3s ease-in-out;
    z-index: 100;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.menu-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(180deg, #fff 0, #f8fafc 100%);
    border-bottom: 2px solid rgba(16, 185, 129, .1);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #065f46, #0b8f63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 0;
}

.menu-close {
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all .2s ease;
}

.menu-close:hover {
    background: rgba(0, 0, 0, .05);
    color: #374151;
}

.menu-content {
    padding: 0 2rem 2rem;
}

.menu-section {
    margin-bottom: 2rem;
    position: relative;
}

.menu-section h3 {
    font-size: 1rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2rem;
}

.menu-section h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, .3) 0, transparent 100%);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    margin: .5rem 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    transition: all .3s ease;
    position: relative;
    border-radius: 8px;
    background: 0 0;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: linear-gradient(180deg, #10b981, #47e73c);
    border-radius: 2px;
    transition: width .3s ease;
}

.menu-item:hover {
    box-shadow: 0 2px 8px rgba(11, 80, 160, .1);
    color: #000;
    transform: translateX(4px);
}

.menu-item.active {
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(11, 80, 160, .1);
}

.menu-item.active::before {
    width: 3px;
}

.menu-item.launch-special {
    background: linear-gradient(45deg, #22c55e, #34d399, #10b981, #059669);
    border: 1px solid #059669;
    color: #fff;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.menu-item.launch-special:hover {
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(4, 26, 99, .3);
}

.menu-item.signin {
    margin-top: 2rem;
    background: 0 0;
    border: 1px solid #059669;
    color: #000;
    text-align: center;
    justify-content: center;
}

.menu-item.signin:hover {
    background: rgba(16, 185, 129, .05);
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .2), transparent);
    margin: 1.5rem 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, .4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 99;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    margin-top: 80px;
    padding: 80px 0 60px;
    text-align: center;
    background: #1a1a2e;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, #22c55e 0, transparent 50%),
                radial-gradient(circle at 80% 20%, #14b8a6 0, transparent 50%),
                radial-gradient(circle at 40% 40%, #0ea5e9 0, transparent 50%),
                radial-gradient(circle at 90% 90%, #6366f1 0, transparent 50%);
    opacity: .3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .03;
    background-image: repeating-linear-gradient(45deg,
                        transparent,
                        transparent 35px,
                        rgba(255, 255, 255, .1) 35px,
                        rgba(255, 255, 255, .1) 70px),
                      repeating-linear-gradient(-45deg,
                        transparent,
                        transparent 35px,
                        rgba(255, 255, 255, .05) 35px,
                        rgba(255, 255, 255, .05) 70px);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3),
                  0 4px 40px rgba(52, 152, 219, .2);
}

.hero .subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 2rem;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.cta-button {
    background: linear-gradient(45deg, #22c55e, #34d399, #10b981, #059669);
    color: #fff !important;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, .2);
    z-index: 10;
}

.cta-button:visited {
    color: #fff !important;
}

.cta-button span {
    position: relative;
    z-index: 10;
    color: #fff !important;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 197, 94, .15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1;
}

.cta-button:hover::before {
    opacity: 0;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10b981 0, #047857 100%);
    border-radius: 8px;
    opacity: .7;
    z-index: -1;
    transition: opacity .3s ease;
    filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, .4);
}

.cta-button:hover::after {
    opacity: 0;
}

.cta-large {
    font-size: 1.2rem;
    padding: 16px 40px;
    margin: 2rem 0;
}

/* ================================
   CONTENT SECTIONS
   ================================ */

.why-choose {
    padding: 5rem 0;
    background: #fff;
    margin-top: 1rem;
}

.platform-features {
    padding: 5rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-top: 0;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ================================
   CARD STYLES
   ================================ */

.benefit-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(29, 78, 216, .1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    transform: translateZ(0);
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease,
                background .25s ease;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(1200px 300px at -10% -10%,
                rgba(255, 255, 255, .35),
                transparent 60%);
    pointer-events: none;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e3a8a, transparent);
    opacity: .7;
}

.benefit-card:focus-within,
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.12);
    border-color: rgba(29, 78, 216, .4);
    background: linear-gradient(180deg,
                rgba(255, 255, 255, .9),
                rgba(239, 246, 255, .9));
}

.benefit-card:hover::after {
    animation: pulse .3s ease;
}

.benefit-card h3,
.benefit-card p {
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: #666;
    font-size: .95rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0, #2c3e50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    transition: all .3s ease;
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* ================================
   COMPARISON SECTION
   ================================ */

.comparison {
    background: #1e1e1e;
    padding: 5rem 0;
    position: relative;
}

.comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(0deg,
                        transparent,
                        transparent 2px,
                        rgba(255, 255, 255, .03) 2px,
                        rgba(255, 255, 255, .03) 4px);
    pointer-events: none;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-family: Monaco, Menlo, 'Ubuntu Mono', monospace;
}

.comparison .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    font-family: Monaco, Menlo, 'Ubuntu Mono', monospace;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #282c34;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.comparison-side {
    padding: 2rem;
    position: relative;
}

.traditional {
    background: rgba(254, 202, 202, .05);
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.aivia-side {
    background: rgba(167, 243, 208, .05);
}

.comparison-side h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    text-align: left;
    font-family: Monaco, Menlo, 'Ubuntu Mono', monospace;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.traditional h3 {
    color: #ef4444;
}

.aivia-side h3 {
    color: #10b981;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: .75rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: Monaco, Menlo, 'Ubuntu Mono', monospace;
    font-size: .9rem;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li::before {
    content: attr(data-line);
    color: #64748b;
    margin-right: 1rem;
    font-size: .8rem;
    min-width: 20px;
    display: inline-block;
}

.diff-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: Monaco, Menlo, 'Ubuntu Mono', monospace;
}

.diff-removed {
    color: #ef4444;
}

.diff-added {
    color: #10b981;
}

.traditional .comparison-list li {
    background: rgba(239, 68, 68, .1);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
}

.aivia-side .comparison-list li {
    background: rgba(16, 185, 129, .1);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
}

/* ================================
   FEATURE SECTIONS
   ================================ */

.feature-section {
    background: rgba(249, 249, 249, .9);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, .8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, .05);
    transition: all .3s ease;
}

.feature-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, .1);
}

.feature-section h3 {
    color: #15803d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: .5rem 0;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: #333;
    font-size: .95rem;
}

.feature-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    margin-top: 2px;
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0, #334155 100%);
    color: #fff;
    padding: 4rem 2rem;
    position: relative;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price-display {
    margin: 2rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: #86efac;
    text-shadow: 0 4px 30px rgba(94, 234, 212, 0.5),
                 0 2px 10px rgba(0, 0, 0, 0.3);
}

.features-box {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: .5rem;
    margin: 2rem auto;
    max-width: 600px;
    justify-content: center;
    display: grid;
    font-size: 1.2rem;
}

.features-box h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.trust-section {
    margin: 2rem auto;
    max-width: 700px;
}

.credentials {
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

.features-list {
    max-width: 600px;
    margin: 2rem;
    text-align: left;
    list-style: none;
}

.features-list li {
    padding: .5rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ================================
   FOOTER
   ================================ */

.footer-minimal {
    background: rgba(44, 62, 80, .05);
    border-top: 1px solid rgba(52, 152, 219, .1);
    padding: 1.5rem 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: #10b981;
}

.footer-nav .divider {
    color: #10b981;
    font-size: .75rem;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 103, 216, .7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(90, 103, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(90, 103, 216, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   MEDIA QUERIES
   ================================ */

@media (max-width: 768px) {
    /* Typography adjustments */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Layout adjustments */
    .container {
        padding: 0 15px;
    }
    
    .demo-section {
        padding: 2rem 1rem;
    }
    
    .comparison-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .traditional {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }
    
    /* Navigation adjustments */
    .nav-breadcrumb {
        font-size: .85rem;
    }
    
    .nav-breadcrumb a {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo img {
        height: 40px !important;
    }
    
    /* How it works section */
    .how-it-works {
        padding: 60px 20px;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
    }
    
    .tab-btn {
        padding: .6rem 1.2rem;
        font-size: .875rem;
    }
    
    .tab-content {
        border-radius: 16px;
    }
    
    /* Sheet/Table adjustments */
    .sheet__table td:nth-child(1),
    .sheet__table th:nth-child(1) {
        display: none;
    }
    
    .sheet__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 32px;
    }
    
    .sheet__title {
        max-width: 60vw;
    }
    
    .sheet__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
    }
    
    .sheet__title {
        font-size: .9rem;
        max-width: 100%;
        margin-bottom: 4px;
    }
    
    .sheet__download {
        align-self: flex-end;
        font-size: .85rem;
        padding: 6px 12px;
        background: rgba(16, 185, 129, .05);
        border-radius: 6px;
        border: 1px solid rgba(16, 185, 129, .2);
    }
    
    /* Button adjustments */
    .btn {
        width: 100%;
    }
    
    .btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .btns .btn {
        width: 100%;
    }
    
    .quota {
        margin-top: 24px;
        display: block;
        text-align: center;
    }
}

@media (max-width: 640px) {
    /* Mobile menu */
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-breadcrumb {
        font-size: .875rem;
        padding: .4rem .8rem;
    }
    
    /* Code block */
    .code-block {
        padding: 1rem;
        font-size: .88rem;
        margin-left: -56px;
        border-radius: 8px;
    }
    
    /* Footer */
    .footer-nav .divider {
        display: none;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* Sheet header on small screens */
    .sheet__header {
        padding: 12px;
    }
    
    .sheet__title {
        font-size: .85rem;
        word-break: break-all;
    }
    
    .sheet__download {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* ================================
   ACCESSIBILITY & REDUCED MOTION
   ================================ */

@media (prefers-reduced-motion: reduce) {
    .benefit-card {
        transition: none;
    }
    
    .benefit-card:hover::after {
        animation: none;
    }
}

/* ================================
   ADDITIONAL ANIMATIONS
   ================================ */

.tab-content {
    animation: fadeIn .5s ease;
}

@media (max-width: 999px) { 
    .hero::before {
        animation: none !important;
    }
}

.feature-icon {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: -2px;
}

.launch-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0 2.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.countdown-item {
    background: #fff;
    border: 2px solid #10b981;
    border-radius: 12px;
    min-width: 80px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-weight: 600;
}

.countdown-deadline {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 600;
    background: #fef2f2;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    border: 1px solid #fecaca;
}

.hero .cta-button::after,
.hero .cta-button::before {
    z-index: -1 !important;
}