/* Global Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2b6cb0;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    --container-width: 90%;
    --header-height: 4.5rem;
    --section-padding: 4.5rem 0;
}

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

html {
    overflow-x: hidden;
    height: 100%;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    position: fixed;
    right: 0;
    z-index: 9999;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Ensure content doesn't overlap scrollbar */
main {
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
    margin-right: 0;
    width: 100%;
}

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 1rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* Adjust floating elements to not overlap scrollbar */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    right: 10px;
}

.floating-elements i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.elem-1 {
    font-size: 2.5rem;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.elem-2 {
    font-size: 3rem;
    top: 35%;
    right: 8%;
    animation-delay: 1.5s;
}

.elem-3 {
    font-size: 2.8rem;
    bottom: 20%;
    left: 12%;
    animation-delay: 3s;
}

.elem-4 {
    font-size: 2.2rem;
    bottom: 35%;
    right: 12%;
    animation-delay: 4.5s;
}

.elem-5 {
    font-size: 2.4rem;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.elem-6 {
    font-size: 2.7rem;
    bottom: 25%;
    left: 15%;
    animation-delay: 3.5s;
}

.elem-7 {
    font-size: 2.3rem;
    top: 20%;
    left: 20%;
    animation-delay: 5s;
}

.elem-8 {
    font-size: 2.6rem;
    bottom: 15%;
    right: 20%;
    animation-delay: 1s;
}

.elem-9 {
    font-size: 2.4rem;
    top: 10%;
    right: 25%;
    animation-delay: 2.5s;
}

.elem-10 {
    font-size: 2.8rem;
    bottom: 10%;
    left: 25%;
    animation-delay: 4s;
}

.elem-11 {
    font-size: 2.2rem;
    top: 30%;
    left: 5%;
    animation-delay: 5.5s;
}

.elem-12 {
    font-size: 2.5rem;
    bottom: 30%;
    right: 5%;
    animation-delay: 6s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 0.15; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
}

/* Section Styles */
section {
    width: 100%;
    overflow: hidden;
}

/* Header Styles */
.header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo i {
    font-size: 2.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links .cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    opacity: 1;
}

.nav-links .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.nav-links .login-btn,
.nav-links .signup-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .login-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.nav-links .login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links .signup-btn {
    background: var(--white);
    color: var(--primary-color);
}

.nav-links .signup-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7.2rem 2rem;
    margin-top: -1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.musical-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.musical-notes i {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: floatNote 6s ease-in-out infinite;
}

.note-1 {
    font-size: 3rem;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.note-2 {
    font-size: 4rem;
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.note-3 {
    font-size: 3.5rem;
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatNote {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.2; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.stat-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

/* Musical decorative elements */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' opacity='0.03'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' opacity='0.02'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6z'/%3E%3C/svg%3E");
    background-position: 85% 15%, 15% 85%;
    background-repeat: no-repeat;
    background-size: 120px, 100px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 810px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.6rem;
    line-height: 1.2;
    margin-bottom: 1.35rem;
    color: var(--white);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.26rem;
    margin-bottom: 2.7rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 630px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.35rem;
    justify-content: center;
}

/* Hero Buttons */
.hero-buttons .cta-button,
.hero-buttons .secondary-button {
    display: inline-block;
    padding: 1.08rem 2.7rem;
    font-size: 0.99rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .cta-button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
}

.hero-buttons .cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.hero-buttons .secondary-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-buttons .secondary-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.15rem;
    }
    
    .hero-content p {
        font-size: 1.17rem;
    }
    
    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        padding: 0.99rem 2.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.08rem;
        margin-bottom: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons .cta-button,
    .hero-buttons .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--light-bg);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Search Section */
.search-section {
    text-align: center;
    padding: 6rem 2rem;
}

.search-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20.5c2.5 0 4.5 2 4.5 4.5s-2 4.5-4.5 4.5-4.5-2-4.5-4.5 2-4.5 4.5-4.5zM30 10c-8.3 0-15 6.7-15 15s6.7 15 15 15 15-6.7 15-15-6.7-15-15-15zm0 27c-6.6 0-12-5.4-12-12s5.4-12 12-12 12 5.4 12 12-5.4 12-12 12z' fill='%233182ce' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.pricing h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-description {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.05);
    border: 1px solid rgba(49, 130, 206, 0.1);
    overflow: visible;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233182ce' opacity='0.1'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(49, 130, 206, 0.2);
}

.card-header {
    margin-bottom: 2rem;
    position: relative;
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.price {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.price::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.pricing-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.pricing-card ul li {
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-card ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233182ce'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.pricing-card .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    border: none;
    position: relative;
    overflow: hidden;
}

.pricing-card .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
    opacity: 0.9;
}

/* Remove any different button colors */
.pricing-card:last-child .cta-button {
    background: var(--primary-color);
}

.most-popular {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(49, 130, 206, 0.2);
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--light-bg);
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    opacity: 0.3;
}

.step {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.step i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin: 1rem 0 2rem;
}

.step h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* FAQ Section */
.faqs {
    padding: 6rem 2rem;
    background: var(--white);
}

.faqs h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Footer Styles */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .contact-info {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .legal-links {
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.legal-page p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Legal Pages */
.legal-content {
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 1.5rem 3rem;
    }

    .legal-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .legal-section {
        margin-bottom: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.3rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .featured {
        transform: none;
    }

    .step {
        margin-top: 2rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-footer button {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .pricing {
        padding: 6rem 2rem;
    }

    .pricing h2 {
        font-size: 2.4rem;
    }

    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 4rem 1rem;
    }

    .pricing h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 3rem;
    }
}

/* Remove taskbar */
body::after {
    display: none !important;
}

/* Fix for unwanted bottom space */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

/* Remove any unwanted elements */
body > *:not(main):not(header):not(footer):not(.modal) {
    display: none !important;
}

/* Animated musical notes background */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.pricing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233182ce' opacity='0.05'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233182ce' opacity='0.05'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
    background-position: 10% 10%, 90% 90%;
    background-repeat: no-repeat;
    background-size: 100px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* Auth Pages */
.auth-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.auth-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auth-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-box {
    max-width: 600px;
}

.auth-box h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.auth-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-color);
    opacity: 0.5;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me, .terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.remember-me input[type="checkbox"],
.terms-checkbox input[type="checkbox"] {
    width: auto;
}

.forgot-password {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.auth-redirect {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.auth-redirect a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-redirect a:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid rgba(49, 130, 206, 0.1);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Message Popup */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.message-popup.success {
    border-left: 4px solid #48bb78;
}

.message-popup.error {
    border-left: 4px solid #f56565;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-box {
        padding: 2rem;
    }

    .auth-box h1 {
        font-size: 1.75rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Message Overlay */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.message-overlay-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: fadeInScale 0.3s ease;
}

.success-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 1.5rem;
}

.message-overlay-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.message-overlay-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.message-overlay-footer {
    margin-top: 2rem;
}

.message-overlay .auth-button {
    display: inline-block;
    min-width: 200px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Signup Page Specific Styles */
.signup-section {
    padding: 2rem 1rem;
    min-height: auto;
    background: var(--primary-color);
}

.signup-container {
    max-width: 550px;
    margin: 0 auto;
}

.signup-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.signup-box h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.auth-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 0.9rem;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.1);
    outline: none;
}

.auth-form small {
    display: block;
    color: #6B7280;
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

/* Agreement Box */
.agreement-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    max-height: 200px;
    overflow-y: auto;
}

.agreement-content h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.agreement-content p {
    color: #4B5563;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.agreement-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.agreement-content ul li {
    color: #4B5563;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.agreements {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #4B5563;
    font-size: 0.85rem;
    line-height: 1.4;
}

.agreement-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
}

.auth-button {
    width: 100%;
    padding: 0.75rem;
    background: #2563EB;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #1D4ED8;
}

.auth-redirect {
    text-align: center;
    margin-top: 1.25rem;
    color: #4B5563;
    font-size: 0.85rem;
}

.auth-redirect a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.required-fields {
    text-align: left;
    color: #6B7280;
    font-size: 0.8rem;
    margin-top: 1.5rem;
}

/* Responsive Design for Signup */
@media (max-width: 640px) {
    .signup-box {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .form-group.half {
        margin-bottom: 0;
    }
}

/* Application Submitted Overlay */
.application-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.application-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: fadeInScale 0.3s ease;
}

.application-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 1.5rem;
}

.application-content h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.application-message {
    color: #4a5568;
    margin-bottom: 2rem;
}

.application-message p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Login Error Message */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #DC2626;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.error-message i {
    font-size: 1.25rem;
}

.error-message p {
    margin: 0;
    font-size: 0.9rem;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
} 