@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #232427;
    min-height: 100vh;
    transition: background 0.4s, color 0.4s;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 100px 0 50px;
}

.container .card {
    position: relative;
    min-width: 320px;
    height: 500px;
    margin: 30px;
    border-radius: 15px;
    box-shadow:
        inset 5px 5px 5px rgba(0,0,0,0.2),
        inset -5px -5px 15px rgba(255,255,255,0.1),
        5px 5px 15px rgba(0,0,0,0.3),
        -5px -5px 15px rgba(255,255,255,0.1);
}

.container .card .box {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #2a2b2f;
    border-radius: 15px;
    border: 2px solid #1e1f23;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s, box-shadow 0.4s;
}

.container .card:hover .box {
    transform: translateY(-35px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.5);
}

.container .card .box .content {
    padding: 20px;
    text-align: center;
}

.container .card .box .content .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f00;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #fff;
}

.container .card .box .content .icon .fa {
    font-size: 2em;
}

.container .card .box .content h3 {
    font-size: 1.6em;
    color: #fff;
    font-weight: 400;
    margin-bottom: 10px;
}

.container .card .box .content h4 {
    font-size: 2.5em;
    color: #fff;
    font-weight: 600;
}

.container .card .box .content h4 sup {
    font-size: 0.6em;
    font-weight: 300;
}

.container .card .box .content ul {
    margin-top: 20px;
    text-align: left;
    padding-left: 20px;
}

.container .card .box .content ul li {
    list-style: none;
    color: #fff;
    margin: 8px 0;
    font-size: 0.95em;
}

.container .card .box .content ul li .fa-check {
    color: #2ecc71;
    margin-right: 8px;
}

.container .card .box .content ul li .fa-xmark {
    color: #e74c3c;
    margin-right: 8px;
}

.container .card .box .content a {
    display: inline-block;
    padding: 10px 24px;
    margin-top: 20px;
    background: #f00;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.container .card .box .content a:hover {
    background: #d00;
    transform: scale(1.05);
}

/* Warna khusus per card */
.container .card:nth-child(1) .box .content a,
.container .card:nth-child(1) .box .content .icon {
    background: #2196f3;
}

.container .card:nth-child(2) .box .content a,
.container .card:nth-child(2) .box .content .icon {
    background: #e91e63;
}

.container .card:nth-child(3) .box .content a,
.container .card:nth-child(3) .box .content .icon {
    background: #97dc47;
}

/* Toggle Mode */
.toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #00bcd4;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 100;
}

.toggle::before {
    content: '\f185';
    font-family: FontAwesome;
    font-size: 24px;
}

/* Light Mode */
body.light {
    background: #ebf5fc;
    color: #000;
}

body.light .toggle {
    background: #154f56;
    color: #fff;
}

body.light .toggle::before {
    content: '\f186';
}

body.light .container .card {
    box-shadow:
        inset 10px 10px 10px rgba(0,0,0,0.03),
        inset -10px -10px 15px rgba(255,255,255,0.5),
        10px 10px 10px rgba(0,0,0,0.03),
        -10px -10px 15px rgba(255,255,255,0.5);
}

body.light .container .card .box {
    background: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body.light .container .card:hover .box {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

body.light .container .card .box .content h3,
body.light .container .card .box .content h4,
body.light .container .card .box .content ul li {
    color: #154f56;
}

body.light .container .card .box .content ul li .fa-check {
    color: #2ecc71;
}

body.light .container .card .box .content ul li .fa-xmark {
    color: #e74c3c;
}

body.light .container .card .box .content a {
    background: #32a3b1;
}

body.light .container .card:nth-child(1) .box .content .icon,
body.light .container .card:nth-child(1) .box .content a {
    background: #2196f3;
}

body.light .container .card:nth-child(2) .box .content .icon,
body.light .container .card:nth-child(2) .box .content a {
    background: #e91e63;
}

body.light .container .card:nth-child(3) .box .content .icon,
body.light .container .card:nth-child(3) .box .content a {
    background: #97dc47;
}
