/*
Theme Name: AppOrbit Complete
Description: High-end, pixel-perfect WordPress theme based on AppOrbit Figma design.
Version: 3.0
Text Domain: apporbit
*/

:root {
    --bg-main: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --text-pure: #ffffff;
    --text-muted: #a1a1aa;
    --accent-primary: #7c3aed; /* Purple */
    --accent-glow: rgba(124, 58, 237, 0.3);
    --font-main: 'Inter', sans-serif;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --transition-standard: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-pure);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    background: #6d28d9;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-pure);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-standard);
}

.site-header.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 24px;
}

.main-nav {
    display: flex;
    gap: 3rem;
}

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

.main-nav a:hover {
    color: var(--text-pure);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 12rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.apporbit.ai/wp-content/uploads/2026/04/Hero-Section-BG-Purple-Graident.png');
    background-size: cover;
    background-position: center top;
    z-index: -1;
    opacity: 0.6;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem;
}

.hero-img-container {
    margin-top: auto;
    position: relative;
    width: 100%;
    max-width: 600px;
}

/* Cross Device Section */
.cross-device {
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.cross-device-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('https://www.apporbit.ai/wp-content/uploads/2026/04/Cross-Device-Performance-Background.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;
}

/* Popular Apps Section */
.popular-apps {
    padding: 6rem 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.app-stats-row {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.app-stat h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.app-stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tech Marquee Section */
.tech-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.tech-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
    opacity: 0.7;
}

/* Stats Section */
.global-stats {
    padding: 8rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* What Sets Us Apart */
.features-section {
    padding: 8rem 0;
}

.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: var(--transition-standard);
}

.feature-item.active, .feature-item:hover {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testi-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-muted);
    flex-grow: 1;
}

/* Footer CTA */
.footer-cta {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
}

.footer-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Main Footer */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-logo img {
    height: 24px;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .apps-grid, .features-split { grid-template-columns: 1fr; }
    .stats-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .stats-grid, .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}