/* -------------------------------------------------------
   GLOBAL DESIGN SYSTEM — OnlineWealthPlanner Premium v3
   Clean | Modern | Groww-Style | Responsive
--------------------------------------------------------*/

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f6f8fb;
    color: #1a1a1a;
    line-height: 1.6;
}

/* GLOBAL CONTAINER */
.container {
    max-width: 1080px;
    margin: auto;
    padding: 24px;
}

/* TYPOGRAPHY */
h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 14px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
}

/* HEADER */
.header {
    background: #ffffff;
    padding: 14px 24px;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav {
    max-width: 1080px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: #00945f;
    font-size: 16px;
    font-weight: 600;
}

/* HERO BLOCK */
.hero {
    background: linear-gradient(135deg, #00945f, #00b377);
    color: white;
    padding: 60px 24px;
    border-radius: 0 0 24px 24px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    max-width: 720px;
    margin: auto;
}

/* SECTIONS */
.section {
    padding: 50px 0;
}

/* CARD GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* CARD COMPONENT */
.card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card p {
    margin-bottom: 10px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: #00945f;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover {
    background: #007a4e;
}

/* CALCULATOR INPUT BLOCK */
.calculator-box {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-bottom: 12px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

.calculator-grid input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 15px;
    background: #00945f;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* FOOTER */
.footer {
    margin-top: 50px;
    padding: 24px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
    color: #666;
}

/* MOBILE */
@media (max-width: 480px) {
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .nav { gap: 14px; flex-wrap: wrap; }
}
