:root{
--primary:#FF6B35;
--secondary:#FFF4EE;
--accent:#FFD166;
--text:#2D3748;
--light:#ffffff;
--border:#EAEAEA;
--success:#16A34A;
--fail:#EF4444;
--shadow:0 10px 30px rgba(0,0,0,.08);
}

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

body{
font-family:'Poppins',sans-serif;
background:#fff;
color:var(--text);
line-height:1.7;
}

.container{
width:min(1200px,92%);
margin:auto;
}

header{
padding:15px 0;
background:#fff;
position:sticky;
top:0;
z-index:999;
box-shadow:0 2px 15px rgba(0,0,0,.04);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
}

/* Updated Brand Logo Container Styles */
.logo-container {
display: flex;
align-items: center;
text-decoration: none;
}

/* New Responsive Logo Image Custom Properties */
.logo-img {
height: 45px;
width: auto;
object-fit: contain;
display: block;
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 26px;
border-radius:12px;
background:var(--primary);
color:#fff;
text-decoration:none;
font-weight:600;
transition:.3s;
border:none;
cursor:pointer;
}

.btn:hover{
transform:translateY(-2px);
}

.hero{
padding:70px 0;
background:linear-gradient(180deg,#FFF7F3 0%,#FFFFFF 100%);
}

.hero-grid{
display:grid;
grid-template-columns:1fr 420px;
gap:50px;
align-items:center;
}

.badge{
display:inline-block;
padding:8px 15px;
background:#FFE7DD;
border-radius:100px;
font-size:13px;
font-weight:600;
color:var(--primary);
margin-bottom:20px;
}

.hero h1{
font-size:52px;
line-height:1.15;
margin-bottom:18px;
font-weight:800;
}

.hero p{
font-size:18px;
margin-bottom:30px;
}

.form-card{
background:#fff;
padding:30px;
border-radius:24px;
box-shadow:var(--shadow);
}

.form-card h3{
margin-bottom:20px;
text-align:center;
}

.input{
width:100%;
padding:15px;
border:1px solid var(--border);
border-radius:12px;
margin-bottom:15px;
font-family:Poppins;
font-size:15px;
outline:none;
}

.input:focus{
border-color:var(--primary);
}

.result{
display:none;
margin-top:20px;
padding:22px;
border-radius:16px;
animation: fadeIn 0.4s ease-out;
}

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

.result.lucky-match {
background:#F8FFF9;
border:1px solid #D8F5DD;
color: #155724;
}

.result.unlucky-match {
background:#FFF5F5;
border:1px solid #FED7D7;
color: #721c24;
}

.result h3 {
font-size: 20px;
margin-bottom: 12px;
font-weight: 700;
}

.result-meta {
background: rgba(255, 255, 255, 0.7);
border-radius: 10px;
padding: 12px 15px;
margin-top: 12px;
font-size: 14px;
color: var(--text);
}

.result-meta p {
margin-bottom: 6px;
border-bottom: 1px dashed rgba(0,0,0,0.05);
padding-bottom: 6px;
}
.result-meta p:last-child {
margin-bottom: 0;
border-bottom: none;
padding-bottom: 0;
}

.relationship-tag {
font-weight: 600;
padding: 2px 6px;
border-radius: 4px;
font-size: 12px;
}
.tag-friendly { background: #D1FAE5; color: #065F46; }
.tag-enemy { background: #FEE2E2; color: #991B1B; }
.tag-neutral { background: #F3F4F6; color: #374151; }

.stats{
padding:50px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.stat{
background:#fff;
padding:25px;
border-radius:20px;
text-align:center;
box-shadow:var(--shadow);
}

.stat h3{
font-size:32px;
color:var(--primary);
}

.section{
padding:80px 0;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:38px;
margin-bottom:10px;
}

.cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.card{
padding:30px;
border-radius:20px;
background:#fff;
box-shadow:var(--shadow);
}

.card h3{
margin-bottom:12px;
}

.scale{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:15px;
}

.scale-box{
background:#fff;
padding:20px;
border-radius:20px;
text-align:center;
box-shadow:var(--shadow);
}

.about{
background:#FFF7F3;
}

.about-wrap{
display:grid;
grid-template-columns:300px 1fr;
gap:40px;
align-items:center;
}

.profile{
width:100%;
border-radius:24px;
}

/* Interlinking Tools Section Styles */
.interlinking-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDFB 100%);
    border-top: 1px solid var(--border);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-link-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.tool-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
}

.tool-link-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1A202C;
}

.tool-link-card p {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-action-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.tool-link-card:hover .tool-action-text {
    gap: 10px;
}

@media(max-width: 991px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.faq-item{
background:#fff;
padding:22px;
border-radius:18px;
margin-bottom:15px;
box-shadow:var(--shadow);
}

.cta{
background:linear-gradient(135deg,#FF6B35,#FF8C5A);
padding:80px 0;
text-align:center;
color:#fff;
}

.cta h2{
font-size:42px;
margin-bottom:15px;
}

footer{
padding:30px 0;
text-align:center;
background:#FFF7F3;
}

@media(max-width:991px){
.hero-grid,
.about-wrap{
grid-template-columns:1fr;
}
.hero h1{
font-size:38px;
}
.cards{
grid-template-columns:1fr;
}
.scale{
grid-template-columns:repeat(2,1fr);
}
.stats-grid{
grid-template-columns:1fr;
}
}

@media(max-width:576px){
.hero{
padding:50px 0;
}
.hero h1{
font-size:32px;
}
.section-title h2{
font-size:28px;
}
.cta h2{
font-size:30px;
}
.form-card{
padding:22px;
}
}
