
*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:system-ui,Arial;
background:#0f172a;
color:#fff;
overflow-x:hidden;

display:flex;
flex-direction:column;
min-height:100vh;
}

main{
flex:1;
}
/* GLOW */

.glow{
position:fixed;
width:700px;
height:700px;
background:#2563eb;
opacity:0.12;
filter:blur(140px);
z-index:-1;
top:-250px;
left:-250px;
}

/* HEADER */

.header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
background:rgba(15,23,42,0.7);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,0.05);
position:sticky;
top:0;
z-index:999;
}

.logo{
font-size:28px;
font-weight:800;
color:#60a5fa;
max-height: 100%;
width: auto;
display: block;
}

.menu{
display:flex;
gap:24px;
flex-wrap:wrap;
}

.menu a{
color:#cbd5e1;
text-decoration:none;
font-size:15px;
transition:.25s;
}

.menu a:hover{
color:#60a5fa;
}

/* HERO */

.hero{
max-width:1200px;
margin:auto;
padding:100px 20px;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.hero h1{
font-size:68px;
line-height:1;
margin-bottom:25px;
font-weight:900;
letter-spacing:-2px;
}

.hero h1 span{
color:#60a5fa;
}

.hero p{
font-size:20px;
line-height:1.7;
color:#cbd5e1;
margin-bottom:35px;
}

/* BUTTONS */

.btn,
.gen-btn{
display:inline-block;
padding:12px 20px;
border-radius:14px;
background:linear-gradient(135deg,#2563eb,#3b82f6);
color:#fff;
text-decoration:none;
font-weight:700;
border:none;
cursor:pointer;
transition:.25s;
box-shadow:0 10px 40px rgba(37,99,235,0.25);
}

/* Separate style for copy button */

.copy-btn{
padding:10px 18px;
border-radius:12px;
background:#3b82f6;
color:white;
font-weight:700;
border:none;
cursor:pointer;
min-width:95px;
height:52px;
transition:.25s;
}

.btn:hover,
.copy-btn:hover,
.gen-btn:hover{
transform:translateY(-2px);
background:#2563eb;
}


/* MAIL BOX */

.mail-card{
background:rgba(17,24,39,0.75);
border:1px solid rgba(59,130,246,0.15);
padding:35px;
border-radius:24px;
backdrop-filter:blur(14px);
box-shadow:
0 0 20px rgba(59,130,246,.15),
0 0 60px rgba(59,130,246,.08);
}

.mail-title{
font-size:22px;
margin-bottom:25px;
color:#93c5fd;
}

.mail-box{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
background:#020617;
padding:18px;
border-radius:14px;
border:1px solid #1e293b;
font-size:18px;
word-break:break-all;
margin-bottom:20px;
}

/* FEATURES */

.features{
max-width:1200px;
margin:100px auto;
padding:0 20px;
}

.features h2{
font-size:48px;
margin-bottom:50px;
text-align:center;
}

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.card{
background:rgba(17,24,39,0.7);
padding:35px;
border-radius:22px;
border:1px solid rgba(59,130,246,0.12);
transition:.25s;
}

.card:hover{
transform:translateY(-5px);
}

.card h3{
font-size:24px;
margin-bottom:15px;
color:#60a5fa;
}

.card p{
color:#cbd5e1;
line-height:1.7;
}

/* INBOX */

.inbox{
max-width:1200px;
margin:50px auto;
padding:0 20px;
}

.inbox-box{
background:rgba(17,24,39,0.75);
padding:30px;
border-radius:22px;
border:1px solid rgba(59,130,246,0.12);
min-height:260px;
display:flex;
flex-direction:column;
}

.inbox-box h2{
margin-bottom:20px;
color:#60a5fa;
}

.timer{
margin-top:15px;
color:#94a3b8;
}

/* FOOTER */

.footer{
margin-top:100px;
padding:30px 20px;
background:#111827;
border-top:1px solid #1e293b;
text-align:center;
}

.footer-links{
display:flex;
justify-content:center;
gap:24px;
flex-wrap:wrap;
margin-bottom:20px;
}

.footer-links a{
color:#94a3b8;
text-decoration:none;
transition:.25s;
}

.footer-links a:hover{
color:#60a5fa;
}

.stats{
max-width:1200px;
margin:40px auto;
padding:0 20px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
text-align:center;
}

.message-card{

background:#020617;
padding:20px;
margin-top:15px;
border-radius:16px;
border:1px solid #1e293b;
transition:.3s;

}

.message-card:hover{

transform:translateY(-3px);
border-color:#3b82f6;

}

.message-header{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;

}

.sender{

font-weight:700;
color:#60a5fa;
font-size:18px;

}

.subject{

color:#e5e7eb;
margin-top:5px;

}

.time{

color:#94a3b8;
font-size:13px;

}

.message-body{

padding-top:15px;
border-top:1px solid #1e293b;
line-height:1.7;
color:#cbd5e1;

}

.message-actions{

margin-top:15px;
display:flex;
gap:10px;

}

.message-actions button{

background:#3b82f6;
color:white;

border:none;

padding:8px 14px;

border-radius:8px;

cursor:pointer;

}

@media (max-width:768px){

.header{

flex-direction:column;
padding:15px;

}

.logo{

margin-bottom:15px;

}

.menu{

justify-content:center;
gap:12px;
width:100%;

}

.menu a{

font-size:14px;
padding:8px 12px;
background:#111827;
border-radius:10px;

}

.hero{

grid-template-columns:1fr;
padding:50px 20px;
text-align:center;

}

.hero h1{

font-size:42px;

}

.mail-box{

flex-direction:column;

}

.grid{

grid-template-columns:1fr;

}

.stats{

grid-template-columns:1fr;

}
}

/* Desktop */

@media(min-width:769px){

.menu{
display:flex !important;
}

.menu-icon{
display:none !important;
}

}

/* Mobile */

@media(max-width:768px){

.header{
padding:15px 20px;
}

.menu{

display:none;
flex-direction:column;
width:100%;
margin-top:15px;
background:#111827;
padding:15px;
border-radius:12px;
gap:10px;

}

.menu.active{
display:flex;
}

.menu a{

padding:10px;
border-radius:10px;
background:#0f172a;

}

.menu-icon{
display:block;
}

}

/* Hamburger */

.menu-icon{
display:none;
font-size:30px;
cursor:pointer;
color:#60a5fa;
}

@media(min-width:769px){

.menu{
display:flex !important;
}

.menu-icon{
display:none !important;
}

}

@media(max-width:768px){

.header{
padding:15px 20px;
flex-direction:row;
}

.menu{
display:none !important;
flex-direction:column;
width:100%;
position:absolute;
top:70px;
left:0;
background:#111827;
padding:15px;
gap:10px;
}

.menu.active{
display:flex !important;
}

.menu-icon{
display:block !important;
}

}

/* carde transition action */
.cta{
    max-width:900px;
    margin:60px auto;
    padding:50px 30px;
    text-align:center;

    background:linear-gradient(
        135deg,
        #1e293b,
        #0f172a
    );

    border:1px solid #1f2937;
    border-radius:20px;

    box-shadow:
    0 0 30px rgba(59,130,246,.15);
}

.cta h2{
    color:#3b82f6;
    font-size:32px;
    margin-bottom:15px;
}

.cta p{
    color:#94a3b8;
    font-size:18px;
    line-height:1.6;
    margin-bottom:30px;
}

.cta .gen-btn{
    display:inline-block;
    padding:14px 30px;

    background:#3b82f6;
    color:white;

    border-radius:12px;
    text-decoration:none;
    font-weight:600;

    transition:.3s;
}

.cta .gen-btn:hover{
    transform:translateY(-3px);

    box-shadow:
    0 0 25px rgba(59,130,246,.5);
}

@media(max-width:768px){

.cta{
padding:35px 20px;
margin:40px 15px;
}

.cta h2{
font-size:26px;
}

.cta p{
font-size:16px;
}

}

.mail-item{

background:#111827;

padding:15px;

border-radius:12px;

margin-bottom:15px;

border:1px solid #1f2937;

}
.open-btn{

background:#3b82f6;
color:white;
border:none;

padding:10px 15px;

border-radius:8px;

cursor:pointer;

margin-top:10px;

}

.open-btn:hover{

opacity:.9;

}

.message-actions{
display:flex;
gap:10px;
margin-top:15px;
}

.copy-btn,
.delete-btn{

border:none;
padding:10px 16px;
border-radius:10px;

cursor:pointer;

font-weight:600;
transition:.3s;

}

.copy-btn{

background:#3b82f6;
color:white;

}

.delete-btn{

background:#3b82f6;
color:white;

}

.copy-btn:hover,
.delete-btn:hover{

transform:translateY(-2px);

}

.mail-content{

margin-bottom:15px;
line-height:1.6;
word-break:break-word;

}
.mail-content{

margin-bottom:15px;
line-height:1.6;
word-break:break-word;

}