/* ========================================
   TOOLXONE - MAIN STYLESHEET
   ======================================== */


/* ========================================
   GENERAL
   ======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
}
body::before{
    content:"";

    position:fixed;

    width:700px;
    height:700px;

    background:
        radial-gradient(circle,
        rgba(0,255,170,.18),
        transparent 70%);

    top:-250px;
    left:-200px;

    border-radius:50%;

    pointer-events:none;

    z-index:-1;

    animation:
        floatBlob1 18s ease-in-out infinite;
}

body::after{
    content:"";

    position:fixed;

    width:650px;
    height:650px;

    background:
        radial-gradient(circle,
        rgba(0,170,255,.15),
        transparent 70%);

    bottom:-250px;
    right:-220px;

    border-radius:50%;

    pointer-events:none;

    z-index:-1;

    animation:
        floatBlob2 22s ease-in-out infinite;
}
/* ========================================
   HEADER
   ======================================== */

header{
    background:#4CAF50;
    color:white;
    padding:20px;
    text-align:center;
}

header h1{
    font-size:2.5rem;
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero{
    padding:50px 20px;
    text-align:center;
}

.hero h2{
    font-size:2rem;
    margin-bottom:15px;
}

.hero p{
    font-size:1.1rem;
    max-width:700px;
    margin:auto;
}


/* ========================================
   TOOL CARDS
   ======================================== */

.tools{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:40px;
}
.card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.15);
    border-radius:22px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    text-align:center;
    padding:25px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    overflow:hidden;
    position:relative;
    isolation:isolate;
}
.card::before

.card:hover{
    transform:translateY(-5px);
    
}
.card:hover::before{

    left:120%;

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


/* ========================================
   BUTTONS
   ======================================== */

.card a{
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    background:#4CAF50;
    color:white;
    padding:10px 18px;
    border-radius:6px;
}
.card a:hover{
background:#059669;
transform:scale(1.05);
}

/* ========================================
   FOOTER
   ======================================== */

footer{
    background:#f8fafc;
    color:#334155;
    text-align:center;
    padding:25px 20px;
    margin-top:40px;
    border-top:3px solid #10B981;
    line-height:1.8;
    font-size:14px;
}
/* ========================================
   NAVIGATION
======================================== */

.navbar{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:12px;

background:white;

padding:15px;

box-shadow:0 3px 10px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:1000;
}

.navbar a{

text-decoration:none;

padding:10px 18px;

color:#333;

font-weight:bold;

border-radius:8px;

transition:.3s;

}

.navbar a:hover{

background:#10B981;

color:white;

}
/* ========================================
   SEARCH SECTION
======================================== */

.search-section{
    max-width:800px;
    margin:30px auto 10px;
    padding:35px 25px;
    background:white;
    border-radius:22px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    text-align:center;
    border:1px solid #e5e7eb;
}

.search-section h2{
    font-size:32px;
    color:#10B981;
    margin-bottom:20px;
}

#toolSearch{
    width:100%;
    max-width:600px;
    padding:16px 22px;
    font-size:18px;
    border:2px solid #10B981;
    border-radius:50px;
    outline:none;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

#toolSearch:focus{
    box-shadow:0 0 22px rgba(16,185,129,.30);
}
/* ========================================
   FEATURED TOOL
======================================== */

.featured-tool{
    max-width:1100px;
    margin:30px auto 40px;
    padding:20px;
}

.featured-content{
    background:linear-gradient(135deg,#10B981,#059669);
    color:white;
    border-radius:24px;
    padding:40px;
    box-shadow:0 18px 45px rgba(16,185,129,.30);
}

.featured-label{
    display:inline-block;
    background:white;
    color:#059669;
    padding:8px 14px;
    border-radius:50px;
    font-weight:bold;
    margin-bottom:15px;
}

.featured-content h2{
    font-size:34px;
    margin-bottom:15px;
}

.featured-content p{
    font-size:18px;
    max-width:700px;
    margin-bottom:20px;
}

.featured-content ul{
    list-style:none;
    margin-bottom:25px;
}

.featured-content li{
    margin-bottom:8px;
    font-weight:bold;
}

.featured-content a{
    display:inline-block;
    background:white;
    color:#059669;
    padding:14px 24px;
    border-radius:12px;
    font-weight:bold;
    text-decoration:none;
    transition:.3s;
}

.featured-content a:hover{
    transform:scale(1.05);
}

/* ========================================
   FEATURED DASHBOARD LAYOUT
======================================== */

.featured-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.featured-left{
    flex:1;
}

.featured-right{
    flex:1;
    text-align:center;
}

.graph-placeholder{
    height:240px;
    background:rgba(255,255,255,.15);
    border:2px dashed rgba(255,255,255,.45);
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    font-weight:bold;
    margin:25px 0;
}

.graph-note{
    font-size:16px;
    opacity:.9;
}
/* ===========================
   LIVE NEWS TICKER
=========================== */

.ticker-section{
    width:100%;
    background:linear-gradient(90deg,#0f8f63,#18b97d);
    overflow:hidden;
    border-top:1px solid rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.15);
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

.ticker{
    width:100%;
    overflow:hidden;
    white-space:nowrap;
}

.ticker-content{
    display:flex;
    width:max-content;
    animation:tickerMove 20s linear infinite;
}

.ticker-content span{
    white-space:nowrap;
    padding-right:60px;
}

@keyframes tickerMove{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}
/* ===========================
   DARK MODE
=========================== */

.theme-toggle{
    padding:8px 14px;
    border-radius:8px;
    border:1px solid #d1d5db;
    background:#ffffff;
    color:#222;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.theme-toggle:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,.15);
}

body.dark-mode{
    background:#0f172a;
    color:#e5e7eb;
}

body.dark-mode .navbar,
body.dark-mode .search-box,
body.dark-mode .card,
body.dark-mode .stat-card,
body.dark-mode .footer{
    background:#111827;
    color:#e5e7eb;
}

body.dark-mode .hero,
body.dark-mode .search-section,
body.dark-mode .tools,
body.dark-mode .stats-section{
    background:#0f172a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode a{
    color:#e5e7eb;
}

body.dark-mode .theme-toggle{
    background:#1f2937;
    color:#fff;
    border-color:#374151;
}
/* ===========================
   SCROLL REVEAL ANIMATIONS
=========================== */

.reveal{
    opacity:0;
    transform:translateY(45px);
    transition-property:opacity, transform;
    transition-duration:.9s;
    transition-timing-function:ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.reveal.reveal-delay-1{ transition-delay:.15s; }
.reveal.reveal-delay-2{ transition-delay:.35s; }
.reveal.reveal-delay-3{ transition-delay:.55s; }
.reveal.reveal-delay-4{ transition-delay:.75s; }
/* Dark Mode Polish */

body.dark-mode .card,
body.dark-mode .stat-card{
    background:linear-gradient(145deg,#111827,#1f2937);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

body.dark-mode .card:hover,
body.dark-mode .stat-card:hover{
    box-shadow:0 25px 55px rgba(16,185,129,.22);
}

body.dark-mode .card p,
body.dark-mode .stat-card p{
    color:#cbd5e1;
}

body.dark-mode .search-box input{
    background:#1f2937;
    color:#fff;
    border:1px solid #334155;
}

body.dark-mode .search-box input::placeholder{
    color:#94a3b8;
}

body.dark-mode .featured-card{
    background:linear-gradient(135deg,#064e3b,#0f766e);
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

body.dark-mode .featured-badge{
    background:rgba(255,255,255,.14);
    color:#ffffff;
}

body.dark-mode .featured-btn{
    background:#f8fafc;
    color:#064e3b;
}

body.dark-mode .ticker-section{
    background:linear-gradient(90deg,#022c22,#065f46,#0f766e);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Future mobile styles will be added here */
