:root {
    --primary: #6366f1;
    --primary-glow: #818cf8;
    --secondary: #ec4899;
    --secondary-glow: #f472b6;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    overflow-y: auto;
    /* Enable vertical scrolling */
    min-height: 100vh;
}

/* Background Animation */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 90%;
    z-index: 100;
    transition: 0.3s;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--primary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-form {
    flex: 1;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 24px;
    margin-left: auto;
    z-index: 2;
}

/* Buttons & Inputs */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    padding: 14px 14px 14px 45px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

/* Profile Specific */
.profile-container {
    padding-top: 100px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    width: 90%;
}

.profile-sidebar {
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    height: fit-content;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.menu-item:hover,
.menu-item.active {
    background: var(--glass);
    color: white;
}

.menu-item i {
    width: 25px;
    margin-right: 10px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-glow);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-form {
        width: 100%;
        margin: 0;
    }

    .profile-container {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.footer-advanced {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--border);
    margin-top: 100px;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 20px 0;
    max-width: 300px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: 0.3s;
    border: 1px solid var(--border);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.footer-links h3,
.footer-newsletter h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-glow);
    transform: translateX(5px);
}

.newsletter-form {
    margin-top: 20px;
}

.input-group-newsletter {
    display: flex;
    position: relative;
}

.input-group-newsletter input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-group-newsletter input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.input-group-newsletter button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.input-group-newsletter button:hover {
    background: var(--primary-glow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 5% 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Features Grid Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.feature-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}