:root {
    --primary-color: #764ba2;
    --secondary-color: #667eea;
    --navbar-height: 70px;
}

/* Add new animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.error{
    color: red;
}

.navbar {
    height: var(--navbar-height);
    backdrop-filter: blur(10px);
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-item {
    padding: 0px 20px;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
}

.hero-section {
    background: linear-gradient(-45deg, #69349e, #667eea, #764ba2, #879aeb);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Add pattern overlay to hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h20v20H0z" fill="%23ffffff" fill-opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
}

.hero-content {
    padding-top: var(--navbar-height);
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    animation: fadeInUp 1s ease-out;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    font-size: 1.25rem;
    max-width: 600px;
}

.hero-features {
    animation: fadeInUp 1s ease-out 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    margin-top: 2rem;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
    margin-top: 2rem;
}

.hero-shape {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color);
}

.navbar-brand {
    color: white;
    font-weight: 600;
}

.navbar.scrolled .navbar-brand {
    color: #333;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #764ba2 !important;
    transform: translateY(-1px);
}

.auth-link i {
    font-size: 14px;
}

/* Features Section Enhancement */
#features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 0l30 30-30 30L0 30z" fill="%23000000" fill-opacity="0.03"/%3E%3C/svg%3E');
    pointer-events: none;
}

.feature-card {
    border: none;
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Pricing Section Enhancement */
#pricing {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
}

#pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="20" cy="20" r="2" fill="%23000000" fill-opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
}

.pricing-card {
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
}

/* Contact Section Enhancement */
#contact {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.razorpay-payment-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
        border: none;
}

.razorpay-payment-button:hover{
    background-color: var(--secondary-color);
    color: white;
}

.border-primary {
    border: 2px solid var(--primary-color) !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-shape {
        width: 80%;
        height: 60%;
        opacity: 0.5;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.download-info {
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 0.5rem;
    /*margin-top: 1rem;*/
}

/* Dashboard & Change Password Common Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
}

.user-dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.user-dropdown-content a:hover {
    background-color: #f8f9fa;
}

.user-dropdown:hover .user-dropdown-content {
    display: block;
}

.dashboard-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 150px 0 60px 0px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.dashboard-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h20v20H0z" fill="%23ffffff" fill-opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
}

.dashboard-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease-out 0.2s;
    animation-fill-mode: forwards;
}

/* Dashboard Specific Styles */
.purchase-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
    animation: scaleIn 0.6s ease-out;
}

.purchase-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background-color 0.3s;
}
.purchase-item div{
    margin-bottom:10px;
}
.purchase-item:hover {
    background-color: #f8f9fa;
}

.purchase-header {
    font-weight: bold;
    background-color: #f8f9fa;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.status-badge.active {
    background-color: #28a745;
    color: white;
}

.status-badge.expired {
    background-color: #dc3545;
    color: white;
}

.download-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Change Password Specific Styles */
.password-form-container {
    max-width: 500px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    animation: scaleIn 0.6s ease-out;
}

.password-form-container h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-floating {
    margin-bottom: 20px;
}

.password-requirements {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.password-requirements h5 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.password-requirements li i {
    margin-right: 8px;
    color: #28a745;
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .purchase-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .purchase-header {
        display: none;
    }

    .purchase-item > div {
        padding: 5px 0;
    }

    .dashboard-banner {
        padding: 120px 0 40px 0;
    }

    .dashboard-banner h1 {
        font-size: 2rem;
    }

    .password-form-container {
        margin: 20px;
    }
}

