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

:root {
    /* Color System */
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: rgba(26, 26, 26, 0.6);
    --bg-glass: rgba(10, 10, 10, 0.7);
    
    --primary-accent: #00E5FF; /* Neon Blue */
    --primary-accent-hover: #00b3cc;
    --primary-glow: rgba(0, 229, 255, 0.4);
    
    --secondary-accent: #80FFFF; /* Soft Cyan */
    
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --text-dark: #1A1A1A;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(0, 229, 255, 0.3);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1280px;
    --section-padding: 100px 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Prevent text selection / copy */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.97rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease;
    border: none;
    outline: none;
    min-height: 46px;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 3px;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: #000;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.2);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

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

.btn-secondary:active {
    transform: translateY(0);
}

/* Glassmorphism & Cards */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.ar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ar-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.1);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px var(--primary-glow);
    background: rgba(255, 255, 255, 0.08);
}

/* Reusable ARVISTA Processing Component */
.arvista-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.arvista-processing-overlay.active {
    opacity: 1;
    visibility: visible;
}

.energy-spinner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-accent);
    border-bottom-color: var(--secondary-accent);
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
    box-shadow: 0 0 30px var(--primary-glow);
}

.energy-spinner::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-left-color: var(--primary-accent);
    animation: spin-reverse 2s linear infinite;
}

.processing-text {
    margin-top: 24px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-accent);
    text-shadow: 0 0 10px var(--primary-glow);
    letter-spacing: 1px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Animations Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
