:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --accent-color: #00f2ff;
    --accent-secondary: #7000ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Animations */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

.reveal-text {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-text-delayed {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 16, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Navbar Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    min-width: 200px;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.5rem 0;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-top: 0.5rem;
    padding-top: 15px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 0;
    transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 242, 255, 0.08);
    color: var(--accent-color);
}

.nav-dropdown-menu a i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Buttons */
.btn-primary {
    padding: 0.6rem 1.5rem;
    background: var(--accent-color);
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.btn-glass {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    border-color: var(--accent-color);
}

.btn-outline {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Form Elements & Containers */
.container {
    padding-top: 100px;
    /* Offset for fixed header */
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.glass-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto;
    color: white;
}

.glass-container h2 {
    color: var(--accent-color);
}

input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

label {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    display: block;
    font-size: 0.9rem;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #5ddc7e;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

/* Custom Footer with Animated Heart */
.custom-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    font-size: 1rem;
}

.custom-footer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.heart {
    color: #ff6b6b;
    display: inline-block;
    animation: heartbeat 1.2s ease-in-out infinite;
    font-size: 1.2rem;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.2);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    40% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

.custom-footer .creators {
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    margin-top: -100px;
    /* Counteract container padding for full screen hero */
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
    overflow: hidden;
}

.char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: revealChar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
}

/* Liquid Orbs & Glass Elements */
.liquid-container {
    position: absolute;
    top: 50%;
    right: 15%;
    width: 600px;
    height: 600px;
    transform: translate(50%, -50%);
    filter: url('#goo');
    z-index: 1;
    pointer-events: none;
}

.liquid-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--accent-secondary);
    top: 30%;
    left: 30%;
}

.orb-2 {
    width: 180px;
    height: 180px;
    background: var(--accent-color);
    bottom: 30%;
    right: 30%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }
}

.glass-card-mockup {
    width: 400px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    position: relative;
    z-index: 10;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: transform 0.5s ease;
}

.glass-card-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.line {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 12px;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-90 {
    width: 90%;
}

/* Features Section */
.features {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.3s;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-panel h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Utils */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* === Dark Theme Common Styles === */

/* Textarea */
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-family: var(--font-body);
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

/* Select */
select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-body);
}

select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Radio & Checkbox */
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--accent-color);
}

/* Links */
a {
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: #66f7ff;
}

/* Lists */
ul, ol {
    color: rgba(255, 255, 255, 0.8);
}

li {
    margin-bottom: 0.4rem;
}

/* Headings */
h1, h2 {
    color: var(--text-color);
}

h3, h4, h5, h6 {
    color: var(--accent-color);
}

p {
    color: rgba(255, 255, 255, 0.8);
}

/* Button Variants */
.btn-secondary {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-success {
    padding: 0.6rem 1.5rem;
    background: rgba(40, 167, 69, 0.25);
    color: #5ddc7e;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(40, 167, 69, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-success:hover {
    background: rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3);
}

.btn-warning {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 193, 7, 0.25);
    color: #ffd93d;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-warning:hover {
    background: rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    padding: 0.6rem 1.5rem;
    background: rgba(220, 53, 69, 0.25);
    color: #ff6b6b;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(220, 53, 69, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

/* Info/Warning/Success Boxes */
.info-box {
    background: rgba(0, 242, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

.warning-box {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

.success-box {
    background: rgba(40, 167, 69, 0.08);
    border-left: 4px solid #28a745;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

.danger-box {
    background: rgba(220, 53, 69, 0.08);
    border-left: 4px solid #dc3545;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Dark theme modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-box {
    background: rgba(15, 15, 35, 0.97);
    border: 1px solid var(--glass-border);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 900px) {
    .glass-nav {
        padding: 1.5rem 2%;
    }

    .nav-links {
        display: none;
        /* simple hiding for now, normally would be a hamburger */
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
        height: auto;
        padding-bottom: 50px;
        margin-top: 0;
    }

    .hero-content {
        margin-bottom: 3rem;
        z-index: 2;
    }

    .hero-title {
        font-size: 3.5rem;
        align-items: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }

    .liquid-container {
        width: 100%;
        height: 400px;
        right: 0;
        top: 60%;
    }

    .glass-card-mockup {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn-glass {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}