/* AuraSpend Marketing Website - Stylesheet */

/* --- Custom Variables & Reset --- */
:root {
    --bg-dark: #050508;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Neon Accents */
    --color-cyan: #00f0ff;
    --color-pink: #ff66c4;
    --color-purple: #7c4dff;
    --color-green: #10b981;
    
    /* Gradients */
    --grad-aurora: linear-gradient(135deg, var(--color-pink) 0%, var(--color-cyan) 100%);
    --grad-indigo: linear-gradient(135deg, #4f46e5 0%, var(--color-purple) 100%);
    --grad-cyan-white: linear-gradient(to bottom, #ffffff 40%, var(--color-cyan) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography Defaults --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

/* --- Aurora Background System --- */
.aurora-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    mix-blend-mode: screen;
}

.blob-cyan {
    background-color: var(--color-cyan);
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.blob-pink {
    background-color: var(--color-pink);
    width: 700px;
    height: 700px;
    top: 25%;
    right: -200px;
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.blob-purple {
    background-color: var(--color-purple);
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: 10%;
    animation: floatBlob1 28s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.1); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -50px) scale(0.9); }
}

/* --- Global Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: var(--grad-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-gradient-text {
    background: var(--grad-cyan-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius-lg);
    transition: var(--transition-premium);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Neon Pill Badge */
.neon-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--color-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    border-radius: 9999px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-cta {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: var(--transition-premium);
    cursor: pointer;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--grad-aurora);
    color: #000;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.45);
}

/* Hamburger menu for mobile */
.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-premium);
}

/* --- Hero Section --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-downloads {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.badge-link {
    transition: var(--transition-premium);
    display: inline-block;
}

.badge-link img {
    height: 48px;
    display: block;
}

.badge-link:hover {
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 8px 20px rgba(0, 240, 255, 0.25));
}

/* Interactive Device Frame */
.hero-showcase {
    max-width: 950px;
    margin: 0 auto;
    perspective: 1000px;
}

.device-frame {
    width: 100%;
    padding: 12px;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: rotateX(10deg);
    transition: var(--transition-premium);
}

.device-frame:hover {
    transform: rotateX(0deg) translateY(-10px);
    box-shadow: 0 40px 120px rgba(0, 240, 255, 0.15), 
                0 30px 80px rgba(0, 0, 0, 0.8);
}

.device-screen {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Features Section --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.section-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 100px 0;
    position: relative;
}

.feature-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
}

.feature-row:nth-child(even) .feature-image-wrapper {
    order: 2;
}

.feature-row:nth-child(even) .feature-text {
    order: 1;
}

.feature-text {
    padding: 20px 0;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-highlights {
    list-style: none;
}

.feature-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-highlights li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-image-wrapper {
    width: 100%;
    padding: 10px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
}

.feature-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: var(--transition-premium);
}

.feature-image-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 77, 255, 0.15);
}

/* --- Pillars (The Indie Advantage) --- */
.pillars {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pillar-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    transition: var(--transition-premium);
}

.pillar-card:hover .pillar-icon {
    transform: rotate(5deg) scale(1.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.pillar-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Showcase Gallery (What's New) --- */
.showcase-gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.gallery-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #08080C;
    border: 1px solid var(--card-border);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-premium);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.03);
}

.gallery-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.gallery-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.gallery-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-pink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Contact & Developer CTA --- */
.contact-section {
    padding: 120px 0;
    text-align: center;
}

.cta-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-box-content {
    position: relative;
    z-index: 1;
}

.developer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-cyan);
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.developer-signature {
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.developer-signature a {
    color: var(--text-primary);
    font-weight: 600;
}

.developer-signature a:hover {
    color: var(--color-cyan);
}

/* --- Footer --- */
footer {
    padding: 60px 0 40px 0;
    border-top: 1px solid var(--card-border);
    background: #020204;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.footer-badges img {
    height: 36px;
}

/* --- Media Queries --- */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .feature-row {
        gap: 40px;
    }
    
    .feature-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header {
        top: 12px;
    }
    
    .navbar {
        border-radius: 20px;
        padding: 10px 20px;
        background: rgba(5, 5, 8, 0.85);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        border: 1px solid var(--card-border);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        display: none;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-cta {
        display: none; /* simple mobile design */
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-downloads {
        flex-direction: column;
        gap: 12px;
    }
    
    .badge-link img {
        height: 44px;
    }
    
    .device-frame {
        transform: none !important;
        border-radius: 20px;
    }
    
    .device-frame:hover {
        transform: translateY(-5px) !important;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr !important;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .feature-row:nth-child(even) .feature-image-wrapper {
        order: 1;
    }
    
    .feature-row:nth-child(even) .feature-text {
        order: 2;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 60px 24px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- App Family Showcase Styles --- */
.app-family-showcase {
    padding: 100px 0;
    position: relative;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.family-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.family-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.family-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    object-fit: cover;
    background: rgba(0, 0, 0, 0.2);
}

.family-app-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.family-app-info h3 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--text-primary);
}

.family-app-domain {
    font-size: 0.85rem;
    color: var(--color-cyan);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.family-app-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    flex-grow: 1;
}

.family-card-footer {
    display: flex;
    align-items: center;
}

.family-visit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-premium);
}

.visit-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition-premium);
}

.family-visit-link:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.family-visit-link:hover .visit-arrow {
    transform: translateX(6px);
}

/* Active Current App Highlight */
.family-card.current-app {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.02);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05);
}

.family-card.current-app:hover {
    border-color: rgba(0, 240, 255, 0.45);
    background: rgba(0, 240, 255, 0.04);
}

.family-badge-active {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* RTL Support for arrow directions */
body.rtl .visit-arrow {
    transform: scaleX(-1);
}
body.rtl .family-visit-link:hover .visit-arrow {
    transform: scaleX(-1) translateX(-6px);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .app-family-showcase {
        padding: 60px 0;
    }
    .family-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .family-card {
        padding: 32px 24px;
    }
}

