:root {
    --primary: #FF6B00;
    --primary-glow: rgba(255, 107, 0, 0.15);
    --bg: #0F0F0F;
    --bg-accent: #161616;
    --text-main: #FFF4E6;
    --text-dim: rgba(255, 244, 230, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-title{
  opacity: 1 !important;
  transform: none !important;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  text-align: center;
  color: #fff; /* guaranteed visible */
  position: relative;
  z-index: 5;
}
.theme-accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

p {
    color: var(--text-dim);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Gradient Backgrounds */
.bg-glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

/* Floating Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #FF3D00;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 50px);
    }
}

/* Glow Lines */
.glow-line {
    position: fixed;
    width: 1px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    z-index: -1;
    opacity: 0.2;
    animation: lineFall 10s infinite linear;
}

@keyframes lineFall {
    0% {
        transform: translateY(-300px);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Nav & Links */
.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Generic Container Improvement */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Section Spacing */
section {
    padding: 100px 0;
    scroll-margin-top: 120px; /* Increased for better pill nav clearance */
}

/* Buttons */
.btn-primary {
    background: linear-gradient(-45deg, #FF6B00, #FF3D00, #FFA366, #FF6B00);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

.btn-primary.loading .spinner {
    display: block;
}

.btn-primary.loading .btn-text {
    visibility: hidden;
}

/* Success Message Overlay */
.success-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 200, 83, 0.1);
    color: #00E676;
    border: 1px solid rgba(0, 200, 83, 0.2);
    display: none;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-secondary {
    padding: 1rem 2.5rem;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Feature Cards */
.feature-card {
    border-left: 2px solid var(--primary-glow);
    transition: var(--transition);
}

.feature-card:hover {
    border-left-color: var(--primary);
    background: linear-gradient(90deg, var(--primary-glow) 0%, transparent 100%);
}

/* Form Styles */
input:focus {
    outline: none;
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Nav Links Hover */
.nav-links a:hover {
    color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

/* Glass Card Enhanced Hover */
.glass {
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Animations - Initial States */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    section {
        padding: 60px 0;
        scroll-margin-top: 80px;
    }

    nav {
        padding: 0.75rem 1rem !important;
    }

    .nav-links {
        display: none !important;
        /* Hide for mobile simplification or add hamburger in future */
    }
}