body{
margin:0;
font-family:'Inter',sans-serif;

background:
url("../images/clouds-bg.png")
top center no-repeat;

background-size:cover;

color:#333;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:4px 90px;
background-color: #e6e6fa;
}

.logo{
display:flex;
align-items:center;
gap:12px;
text-decoration:none;
}

.logo img{
height:70px;
width:auto;
transform:scale(2.6);
transform-origin:left center;
}


nav a{
margin-left:30px;
text-decoration:none;
color:#555;
font-weight:500;
transition:.2s;
}

nav a:hover{
color:#6c63ff;
}

.pricing-link{
font-weight:600;
color:#555;
text-decoration:none;
margin-right:15px;
}

.pricing-link:hover{
color:#6c63ff;
}



/* HERO */
.hero{
position:relative;
padding:120px 0;
background:linear-gradient(180deg,#eef1ff,#8a7ac9);
overflow:hidden;
}

.hero-inner{
position:relative;
max-width:1000px;
margin:auto;
text-align:center;
}

.floating-cards{
position:absolute;
top:-80px;
left:50%;
transform:translateX(-50%);
width:1800px;
opacity:.9;
pointer-events:none;
z-index:1;
}
/* .floating-cards{
position:absolute;
top:-120px;
left:50%;
transform:translateX(-50%) scale(0.75);
width:1800px;
max-width:none;
opacity:.95;
pointer-events:none;
z-index:1;
} */

.hero-inner h1,
.hero-inner p{
position:relative;
z-index:5;
}



.upload-card{
position:relative;
z-index:5;
margin-top:40px;
}

.hero h1{

font-size:48px;

}

.hero p{

color:#666;
margin-bottom:40px;

}

.hero span{
color:#6c63ff;
font-weight:600;
}


/* UPLOAD CARD */

.upload-card{

width:600px;

margin:auto;

background:rgba(255,255,255,0.85);

backdrop-filter:blur(10px);

border-radius:20px;

padding:50px;

box-shadow:0 20px 60px rgba(0,0,0,0.08);

}

.upload-card input{

width:100%;

padding:14px;

border-radius:10px;

border:1px solid #ddd;

margin-top:15px;

}

.upload-card button{

margin-top:20px;

padding:14px 40px;

border:none;

border-radius:12px;

background:linear-gradient(
135deg,
#f3f5ff,
#e9e7ff
);

color:white;

font-size:16px;

cursor:pointer;

}


/* FLOATING CARDS */

.floating{

position:absolute;

width:90px;

}

.card1{
top:240px;
left:18%;
}

.card2{
top:340px;
right:18%;
}

.card3{
top:260px;
right:28%;
}


/* ROBOT */

.robot{

position:absolute;

right:75%;
top:-74px;

width:200px;

}


/* HOW SECTION */

.how{

margin-top:140px;

text-align:center;

padding:0 10%;

}

.steps{

display:flex;
gap:30px;

margin-top:40px;

}

.step{

background:white;

padding:35px;

border-radius:20px;

box-shadow:0 15px 40px rgba(0,0,0,0.06);

flex:1;

}

.number{

width:40px;
height:40px;

border-radius:50%;

background:#6c63ff;

color:white;

display:flex;
align-items:center;
justify-content:center;

margin:auto;
margin-bottom:10px;

}

/* PAGE BACKGROUND */

body{

background:linear-gradient(
135deg,
#f3f5ff,
#e9e7ff
);

font-family:Inter, sans-serif;

}


/* UPLOAD WRAPPER */

.upload-wrapper{

display:flex;
justify-content:center;
align-items:center;

margin-top:80px;

}


/* UPLOAD BOX */

.upload-box{

width:520px;

background:rgba(255,255,255,0.8);

backdrop-filter:blur(10px);

border-radius:20px;

padding:40px;

text-align:center;

box-shadow:0 20px 60px rgba(0,0,0,0.08);

border:2px dashed #d9d6ff;

transition:0.3s;

cursor:pointer;

}

.upload-box:hover{

border-color:#7b6cff;
transform:translateY(-3px);

}


/* ICON */

.upload-icon{

font-size:40px;

margin-bottom:10px;

color:#6c63ff;

}


/* TEXT */

.upload-box h3{

margin-bottom:5px;

}

.upload-box p{

color:#777;

margin-bottom:10px;

}

.formats{

font-size:12px;
color:#999;
margin-bottom:20px;

}


/* URL INPUT */

.url-input{

width:100%;

padding:12px;

border-radius:10px;

border:1px solid #ddd;

margin-bottom:15px;

}


/* SEARCH BUTTON */

.search-btn{

width:100%;

padding:14px;

border:none;

border-radius:12px;

background:#8a7cff !important;

color:white;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:0.3s;

}

.search-btn:hover{

transform:scale(1.02);

box-shadow:0 8px 20px rgba(108,99,255,0.3);

}
.preview{

width:120px;
margin:10px auto;
display:none;
border-radius:10px;

}

.dragging{

border:2px dashed #6c63ff;
background:#f6f5ff;

}

.upload-box input[type="file"]{

display:none;

}


/* FAQ SECTION */

.faq{
padding:120px 20px;
background:#f8f9ff;
}

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

.faq h2{
text-align:center;
font-size:32px;
margin-bottom:50px;
}

.faq-item{
background:white;
border-radius:12px;
margin-bottom:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
overflow:hidden;
}

.faq-question{
width:100%;
padding:20px;
border:none;
background:white;
font-size:16px;
font-weight:600;
display:flex;
justify-content:space-between;
cursor:pointer;
}

.faq-question span{
font-size:22px;
color:#6c63ff;
}

.faq-answer{
max-height:0;
overflow:hidden;
padding:0 20px;
transition:all .3s ease;
color:#666;
}

.faq-item.active .faq-answer{
max-height:200px;
padding:20px;
}

/* FOOTER */

.footer{
background:#0f1226;
color:white;
padding:60px 10%;
margin-top:100px;
}

.footer-container{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:40px;
}

.footer-brand{
max-width:300px;
}

.footer-brand h3{
margin-bottom:10px;
}

.footer-links{
display:flex;
flex-direction:column;
}

.footer-links h4{
margin-bottom:10px;
}

.footer-links a{
color:#bbb;
text-decoration:none;
margin-bottom:8px;
font-size:14px;
}

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

.footer-bottom{
text-align:center;
margin-top:40px;
border-top:1px solid rgba(255,255,255,0.1);
padding-top:20px;
font-size:14px;
color:#aaa;
}



/* RESULTS PAGE */

.results-page{

padding:40px 80px;

}

.results-container{

display:flex;
gap:40px;

}

/* LEFT PANEL */

.left-panel{

width:300px;

}

.query-image-card{

background:white;
padding:15px;
border-radius:18px;

box-shadow:0 15px 40px rgba(0,0,0,0.08);

}

.query-image-card img{

width:100%;
border-radius:10px;

}

.action-buttons{

display:flex;
gap:10px;
margin-top:15px;

}

.filter-btn{

background:black;
color:white;
border:none;
padding:12px;
border-radius:10px;
flex:1;

}

.alerts-btn{

background:#7a6cff;
color:white;
border:none;
padding:12px;
border-radius:10px;
flex:1;

}

.upgrade-card{

margin-top:20px;
padding:20px;

border-radius:15px;

background:white;

border:2px dashed #cfcaff;

}

.pro-btn{

margin-top:10px;

background:linear-gradient(
90deg,
#6c63ff,
#8a7cff
);

border:none;
padding:12px;
border-radius:10px;
color:white;

}

.new-search{
    margin-top:20px;
    width:100%;
    padding:12px;
    border-radius:10px;
    border:none;
    background:#7a6cff;
    color: #ffffff;
    cursor: pointer;
}

/* RESULTS PANEL */

.results-panel{

flex:1;

}

.results-header{

display:flex;
justify-content:space-between;
align-items:center;

}

.results-header span{
color:#6c63ff;
}

.go-pro{

background:#7a6cff;
color:white;
border:none;
padding:10px 20px;
border-radius:10px;
cursor: pointer;

}

.tabs{

margin-top:20px;
margin-bottom:20px;

}

.tabs span{

margin-right:20px;
font-weight:600;

}

.tabs .active{

color:#6c63ff;

}

/* GRID */

.results-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(220px,1fr));

gap:20px;

margin-top:30px;

}

.result-card{

background:white;

border-radius:16px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

position:relative;

transition:0.3s;

}

.result-card:hover{

transform:translateY(-5px);

}

.result-card img{

width:100%;

height:200px;

object-fit:cover;

}

.similarity{

position:absolute;

top:10px;
right:10px;

background:#ffcc00;

padding:6px 10px;

border-radius:8px;

font-size:12px;

font-weight:600;

}

.result-info{

padding:12px;

}

.result-info h4{

font-size:14px;

margin-bottom:5px;

}

.source{

font-size:12px;

color:#6c63ff;

text-decoration:none;

}
.drag{
border:2px dashed #6c63ff;
background:#f6f5ff;
}

/* LOADER MODAL */

.loader-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
backdrop-filter:blur(4px);
z-index:9999;

align-items:center;
justify-content:center;
}

.loader-box{
background:white;
padding:40px;
border-radius:20px;
text-align:center;
width:320px;
box-shadow:0 20px 60px rgba(0,0,0,0.2);
}

/* AI SPINNER */

.ai-loader{
width:90px;
margin:auto;
margin-bottom:15px;
}

.ai-loader svg{
width:100%;
height:100%;
animation:spin 2s linear infinite;
}

.loader-circle{
fill:none;
stroke:#d9d9ff;
stroke-width:4;
stroke-dasharray:260;
stroke-dashoffset:200;
animation:dash 2s ease-in-out infinite;
}

.loader-lines{
stroke:#6c63ff;
stroke-width:3;
stroke-linecap:round;
opacity:.8;
}

/* animations */

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}

@keyframes dash{
0%{stroke-dashoffset:260;}
50%{stroke-dashoffset:120;}
100%{stroke-dashoffset:260;}
}

/* AUTH MODAL */

.auth-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
backdrop-filter:blur(6px);
z-index:9999;

align-items:center;
justify-content:center;
}

.auth-box{
background:white;
padding:40px;
border-radius:20px;
width:350px;
position:relative;
text-align:center;
}

.auth-box input{
width:100%;
padding:12px;
margin:10px 0;
border-radius:10px;
border:1px solid #ddd;
}

.auth-box button{
width:100%;
padding:12px;
border:none;
border-radius:10px;
background:#6c63ff;
color:white;
margin-top:10px;
cursor:pointer;
}

.google-btn{
background:white;
border:1px solid #ddd;
color:#333;
}

.divider{
margin:15px 0;
color:#aaa;
}

.close-btn{
position:absolute;
right:15px;
top:10px;
font-size:22px;
cursor:pointer;
}

.auth-box span{
color:#6c63ff;
cursor:pointer;
}


.dashboard{
display:flex;
justify-content:center;
align-items:center;
height:80vh;
}

.dashboard-card{
background:white;
padding:40px;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,0.1);
text-align:center;
width:350px;
}

.upgrade-btn{
margin-top:20px;
padding:12px 20px;
border:none;
border-radius:10px;
background:#6c63ff;
color:white;
cursor:pointer;
}

.user-menu{
display:flex;
align-items:center;
gap:15px;
margin-left:20px;
}

.user-name{
font-weight:600;
color:#444;
}

.profile-btn{
background:#6c63ff;
color:white;
padding:8px 14px;
border-radius:8px;
text-decoration:none;
font-size:14px;
}

.logout-btn{
color:#666;
text-decoration:none;
font-size:14px;
}

.logout-btn:hover{
color:red;
}


/* PRICING */

.pricing{
text-align:center;
padding:100px 20px;
}

.pricing h1{
font-size:40px;
margin-bottom:10px;
}

.pricing p{
color:#666;
margin-bottom:50px;
}

.pricing-cards{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

.pricing-card{
background:white;
padding:40px;
border-radius:20px;
width:280px;
box-shadow:0 20px 50px rgba(0,0,0,0.08);
transition:0.3s;
position:relative;
}

.pricing-card:hover{
transform:translateY(-8px);
}

.pricing-card h2{
font-size:32px;
margin:15px 0;
}

.pricing-card span{
font-size:16px;
color:#888;
}

.pricing-card ul{
list-style:none;
padding:0;
margin:20px 0;
}

.pricing-card ul li{
margin:10px 0;
color:#555;
}

.buy-btn{
display:block;
padding:12px;
background:#6c63ff;
color:white;
border-radius:10px;
text-decoration:none;
margin-top:15px;
}

.buy-btn:hover{
background:#574bff;
}

/* POPULAR PLAN */

.popular{
border:2px solid #6c63ff;
transform:scale(1.05);
}

.badge{
position:absolute;
top:-10px;
left:50%;
transform:translateX(-50%);
background:#6c63ff;
color:white;
padding:5px 12px;
border-radius:8px;
font-size:12px;
}

/* CONTACT PAGE */

.contact{
text-align:center;
padding:100px 20px;
}

.contact h1{
font-size:36px;
margin-bottom:10px;
}

.contact p{
color:#666;
margin-bottom:40px;
}

.contact-form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
padding:14px;
border-radius:10px;
border:1px solid #ddd;
font-family:inherit;
}

.contact-form button{
padding:14px;
border:none;
border-radius:10px;
background:#6c63ff;
color:white;
font-weight:600;
cursor:pointer;
}

.contact-form button:hover{
background:#574bff;
}

.flash{
text-align:center;
margin-top:20px;
}

.flash-success{
color:green;
}

.seo-content {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  line-height: 1.7;
  color: #444;
}

.seo-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.seo-content h2 {
  margin-top: 40px;
  font-size: 24px;
  color: #6c63ff;
}

.seo-content h3 {
  margin-top: 20px;
  font-size: 18px;
}

.seo-content ul {
  margin-top: 10px;
  padding-left: 20px;
}