/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #ec4899;
    --background-start: #0f172a;
    --background-end: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-background: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.1);
}

/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: var(--background-start);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--background-start),
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color)
    );
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.gradient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        var(--background-start) 70%
    );
}

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    animation: float 20s infinite;
}

.shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(255, 255, 255, 0.05);
    background: none;
}

.shape.square {
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
}

/* Content Sections */
.section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Glass Cards */
.glass-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    margin: 4rem 0;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Animations */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Wave Animation */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,234.7C960,235,1056,181,1152,170.7C1248,160,1344,192,1392,208L1440,224L1440,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>');
    background-size: cover;
    background-repeat: no-repeat;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Animated Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
}

.particles-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
    animation: particleMove 20s linear infinite;
}

/* Main Content */
.landing-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    z-index: 1;
}

/* Brand Section */
.brand-container {
    text-align: center;
    margin-top: 2rem;
}

.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.brand-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.india-text {
    background: linear-gradient(45deg, #FF9933, #FFFFFF, #138808);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Features Section */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 400px;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:active {
    transform: scale(0.98);
}

.feature-icon {
    font-size: 1.5rem;
}

/* CTA Button */
.cta-container {
    margin: 2rem 0;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.auth-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #000046;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    width: 100%;
}

.auth-button:active {
    transform: scale(0.98);
}

/* Wave Animation */
.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23ffffff11'/%3E%3C/svg%3E");
    animation: wave 10s linear infinite;
}

.wave:nth-child(2) {
    bottom: 10px;
    animation: wave 7s linear reverse infinite;
    opacity: 0.5;
}

.wave:nth-child(3) {
    bottom: 20px;
    animation: wave 5s linear infinite;
    opacity: 0.2;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes particleMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Responsive Design */
@media (min-width: 768px) {
    .brand-title {
        font-size: 3.5rem;
    }

    .features-container {
        flex-direction: row;
        max-width: 800px;
        justify-content: center;
    }

    .feature-item {
        flex: 1;
        max-width: 250px;
    }

    .brand-tagline {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    animation: slideUp 1s ease-out;
}

.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin: 0 auto;
    gap: 4rem;
}

.logo-container {
    flex: 1;
    text-align: center;
}

.site-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.title-container {
    color: white;
    margin-bottom: 2rem;
}

.title-container h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.india-text {
    background: linear-gradient(45deg, #FF9933, #FFFFFF, #138808);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.tagline {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: rgba(255,255,255,0.9);
}

.hero-text {
    color: white;
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Auth container styles */
.auth-container {
    flex: 1;
    max-width: 450px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.auth-tabs {
    display: flex;
    background: rgba(0,0,0,0.05);
    padding: 0.5rem;
    gap: 0.5rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-tab.active {
    background: white;
    color: #6c5ce7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper .icon {
    position: absolute;
    left: 1rem;
    font-size: 1.2rem;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
    outline: none;
}

.auth-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #6c5ce7, #a367dc);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

.auth-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
}

.forgot-password {
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Password validation styles */
.password-hint,
.password-match-status {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.password-match-status.match {
    color: #2ecc71;
}

.password-match-status.no-match {
    color: #e74c3c;
}

/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInRight { animation-name: fadeInRight; }

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 1rem;
        gap: 2rem;
    }

    .auth-container {
        width: 100%;
    }

    .title-container h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }
}

/* ===== Merged from landing-new.css (appended) =====
   Keeping the newer landing styles consolidated into a single file.
*/

/* Updated landing page styles (from landing-new.css) */
.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.brand-container {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.brand-title {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-text h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.features-list li {
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.features-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 3rem auto;
    padding: 0 1rem;
}

.feature-highlight {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-5px);
}

.feature-highlight h3 {
    margin: 1rem 0;
    color: #fff;
    font-size: 1.5rem;
}

.feature-highlight p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-icon.large {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.cta-container {
    margin: 2rem 0;
}

.auth-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #6c5ce7, #a363d9);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* Responsive adjustments (from landing-new.css) */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .features-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .auth-button {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }
}

/* Animations from landing-new.css */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* End merged content */