:root {
    --primary-bg: #0a0a0a;
    --primary-gradient: radial-gradient(circle at 50% 0%, #1a0b2e 0%, #0a0a0a 70%);
    --text-main: #f0f0f0;
    --text-muted: #9aa0a6;
    --accent-gold: #d4af37;
    --accent-pink: #ff2a6d;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    background-color: var(--primary-bg);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat top center;
    z-index: -2;
}

.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/twinkling.png') repeat top center;
    z-index: -1;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
}

.menu a:not(.btn-outline):hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.06);
}

.menu .btn-outline {
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-gold) !important;
    margin-left: 0.8rem;
    background: transparent;
    box-shadow: 0 0 12px rgba(212,175,55,0.15);
    transition: all 0.3s ease;
}

.menu .btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
}

.glow-text {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Buttons */
.btn {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), #ffd700);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.glow-btn:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: flash 1s ease-out;
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 60px rgba(255, 42, 109, 0.2);
    transform: translateY(-3px);
}

/* Cards Section */
.cards-section {
    padding: 5rem 5%;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.profile-card p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,42,109,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.profile-card:hover .card-glow {
    width: 300px;
    height: 300px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; filter: brightness(1.5); }
    100% { opacity: 0; }
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 42, 109, 0.2); }
    50% { box-shadow: 0 0 18px rgba(255, 42, 109, 0.55), 0 0 30px rgba(212, 175, 55, 0.15); }
}

/* Calculator specific styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}
input[type=range].custom-range {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}
input[type=range].custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
input[type=range].custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    margin-top: -8px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    cursor: pointer;
}
.hide { display: none !important; }

.dual-slider-wrapper {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.slider-track-highlight {
  position: absolute;
  height: 4px;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  border-radius: 2px;
  top: 0;
  z-index: 1;
}
input[type=range].gemini-slider {
  position: absolute;
  top: -8px;
  width: 100%;
  pointer-events: none;
  z-index: 2;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
input[type=range].gemini-slider::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  cursor: pointer;
}
input[type=range].gemini-slider::-webkit-slider-runnable-track {
  background: transparent;
  height: 4px;
}
