/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.splash-logo {
    display: flex;
    align-items: baseline;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    animation: splashLogoFloat 3s ease-in-out infinite;
}

@keyframes splashLogoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.splash-loading {
    text-align: center;
    color: #fff;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #20b2aa);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.loading-text {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Main Content */
.main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.main-content.hidden {
    display: none;
}

.main-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animation Classes */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header and Navigation */
.site-header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 15px 20px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.site-header.scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-nav {
	display: flex;
	gap: 20px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.nav-link {
	color: #333;
	text-decoration: none;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
	position: relative;
}

.nav-link:hover {
	background: rgba(26, 115, 232, 0.1);
	color: #1a73e8;
	transform: translateY(-2px);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: #1a73e8;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-link:hover::after {
	width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    animation: heroSlideIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

@keyframes heroSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-logo {
    display: flex;
    align-items: baseline;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button-primary, .button-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.button-primary {
    background: linear-gradient(135deg, #1a73e8, #20b2aa);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.button-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateX(50px) scale(0.8);
    animation: heroVisualSlideIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

@keyframes heroVisualSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateX(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.floating-cards {
    position: relative;
    width: 300px;
    height: 300px;
}

.card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: cardFloat 6s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    right: 30px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 80px;
    left: 20px;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20px;
    right: 60px;
    animation-delay: 4.5s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Logo Styling */
.logo, .hero-logo, .footer-logo, .splash-logo {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    letter-spacing: -2px;
    position: relative;
}

.bharat {
    color: #505050;
    text-shadow: 
        1px 1px 0px #2a2a2a,
        -1px -1px 0px #5a5a5a,
        0px 0px 10px rgba(80, 80, 80, 0.3);
    margin-right: 0;
    animation: bharatGlow 4s ease-in-out infinite;
    transition: all 0.3s ease;
    font-weight: 700;
}

@keyframes bharatGlow {
    0%, 100% { 
        text-shadow: 
            1px 1px 0px #2a2a2a,
            -1px -1px 0px #5a5a5a,
            0px 0px 10px rgba(80, 80, 80, 0.3);
    }
    50% { 
        text-shadow: 
            1px 1px 0px #2a2a2a,
            -1px -1px 0px #5a5a5a,
            0px 0px 20px rgba(80, 80, 80, 0.6),
            0px 0px 30px rgba(80, 80, 80, 0.4);
    }
}

.bill {
    color: #ff6600;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-shadow: 
        0px 0px 10px rgba(255, 102, 0, 0.5),
        0px 0px 20px rgba(255, 102, 0, 0.3);
    animation: billPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
    font-weight: 700;
}

@keyframes billPulse {
    0%, 100% { 
        text-shadow: 
            0px 0px 10px rgba(255, 102, 0, 0.5),
            0px 0px 20px rgba(255, 102, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 
            0px 0px 20px rgba(255, 102, 0, 0.8),
            0px 0px 40px rgba(255, 102, 0, 0.6),
            0px 0px 60px rgba(255, 102, 0, 0.4);
        transform: scale(1.05);
    }
}

.arrow-icon {
    font-size: 12px;
    margin-left: 6px;
    opacity: 0.8;
    position: absolute;
    top: -15px;
    right: -8px;
    color: #20b2aa;
    font-weight: bold;
    text-shadow: 
        0px 0px 5px rgba(32, 178, 170, 0.8),
        0px 0px 10px rgba(32, 178, 170, 0.5);
    transform: rotate(45deg);
    animation: arrowBounce 2s ease-in-out infinite, arrowRotate 8s linear infinite;
    transition: all 0.3s ease;
}

@keyframes arrowBounce {
    0%, 100% {
        opacity: 1;
        transform: rotate(45deg) scale(1) translateY(0px);
    }
    25% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.2) translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.1) translateY(-10px);
    }
    75% {
        opacity: 0.9;
        transform: rotate(45deg) scale(1.15) translateY(-5px);
    }
}

@keyframes arrowRotate {
    0% { transform: rotate(45deg); }
    25% { transform: rotate(135deg); }
    50% { transform: rotate(225deg); }
    75% { transform: rotate(315deg); }
    100% { transform: rotate(405deg); }
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    border: 1px solid rgba(26, 115, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #1a73e8;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #1a73e8;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #20b2aa 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-form input,
.demo-form select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.demo-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.demo-form button {
    background: white;
    color: #1a73e8;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 20px 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Scroll Animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Content and footer */
.content {
	max-width: 900px;
	margin: 24px auto;
	padding: 0 16px;
	line-height: 1.6;
}

.content h1 { 
	margin-top: 0; 
	color: #1a73e8;
	font-size: 2.5rem;
	font-weight: 700;
}

.content h2 {
	color: #333;
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid #1a73e8;
	padding-bottom: 0.5rem;
}

.content h3 {
	color: #555;
	font-size: 1.2rem;
	margin-top: 1.5rem;
	margin-bottom: 0.8rem;
}

.content section { 
	margin: 2rem 0; 
	padding: 1.5rem;
	background: #fafafa;
	border-radius: 8px;
	border-left: 4px solid #1a73e8;
}

.content ul {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.content li {
	margin: 0.5rem 0;
	color: #444;
}

.policy-meta {
	color: #666;
	font-style: italic;
	margin-bottom: 2rem;
	padding: 1rem;
	background: #f0f8ff;
	border-radius: 6px;
	border-left: 4px solid #1a73e8;
}

.highlight-box {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 6px;
	padding: 1rem;
	margin: 1rem 0;
}

.policy-note {
	background: #e8f4fd;
	border: 1px solid #1a73e8;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 2rem 0;
	font-size: 0.9rem;
	color: #555;
}

.site-footer {
	text-align: center;
	padding: 2rem 0;
	color: #666;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
	margin-top: 3rem;
}

/* Utility */
.button-link {
	display: inline-block;
	background: #1a73e8;
	color: #fff;
	padding: 8px 12px;
	text-decoration: none;
	border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .splash-logo {
        font-size: 3rem;
    }
    
    .loading-bar {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .button-primary, .button-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .site-header {
        padding: 10px 15px;
    }
    
    .main-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .splash-logo {
        font-size: 2.5rem;
    }
    
    .loading-bar {
        width: 200px;
    }
    
    .floating-cards {
        width: 250px;
        height: 250px;
    }
    
    .card {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Additional visual effects */
.logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoAura 5s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoAura {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Particle effects */
.logo-container::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #20b2aa;
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
    box-shadow: 
        50px 30px 0 #ff6600,
        -30px 60px 0 #20b2aa,
        80px -20px 0 #ff6600,
        -60px -40px 0 #20b2aa,
        120px 40px 0 #ff6600;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Loading animation */
@keyframes loadingGlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.logo-container.loading .bharat,
.logo-container.loading .bill {
    animation: loadingGlow 1.5s ease-in-out infinite;
}
