@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --c-near-black: #181d26;
    --c-primary-active: #0d1218;
    --c-white-canvas: #ffffff;
    --c-surface-soft: #f8fafc;
    --c-hairline-border: #dddddd;

    /* Text Colors */
    --c-ink: #181d26;
    --c-body: #333840;
    --c-muted: #41454d;
    --c-white-text: #ffffff;

    /* Signature Colors */
    --c-forest: #0a2e0e;
    --c-cream: #f5e9d4;
    --c-coral: #aa2d00;
    --c-mint: #a8d8c4;
    --c-peach: #fcab79;
    --c-mustard: #d9a441;

    /* UI Variables */
    --radius-md: 12px;
    --radius-sm: 8px;
    --max-w: 1180px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--c-white-canvas);
    color: var(--c-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--c-ink);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Typography Scale */
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }

.text-muted { color: var(--c-muted); }
.text-center { text-align: center; }

/* Layout */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section { padding: 48px 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--c-near-black);
    color: var(--c-white-text);
}
.btn-primary:hover {
    background-color: var(--c-primary-active);
}

.btn-secondary {
    background-color: var(--c-white-canvas);
    color: var(--c-ink);
    border: 1px solid var(--c-hairline-border);
}
.btn-secondary:hover {
    background-color: var(--c-surface-soft);
}

/* Forms */
.form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--c-hairline-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--c-ink);
    background: var(--c-white-canvas);
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--c-near-black);
}

/* Cards */
.card {
    background: var(--c-white-canvas);
    border: 1px solid var(--c-hairline-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.signature-card {
    background: var(--c-forest);
    color: var(--c-white-text);
    border-radius: var(--radius-md);
    padding: 48px;
}
.signature-card h2, .signature-card p {
    color: var(--c-white-text);
}

/* Header Navbar */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.header.scrolled {
    border-bottom-color: var(--c-hairline-border);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-ink);
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--c-body);
}
.nav-links > a:hover {
    color: var(--c-ink);
}
.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Grid System */
.grid {
    display: grid;
    gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Utils */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }

/* Premium Footer Styling */
.footer-premium {
    background-color: var(--c-forest); /* Deep forest green */
    color: #e2e8f0;
    padding: 80px 0 0 0;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

/* Add a beautiful top wave or curve to integrate it with the slider or section */
.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--c-mint), var(--c-mustard), var(--c-peach));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    padding-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col .footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.brand-col .footer-desc {
    color: #a8d8c4; /* Soft mint text */
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
}

.social-icon-btn:hover {
    background: var(--c-cream);
    color: var(--c-forest);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.col-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--c-mint);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--c-cream);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--c-mint);
}

.footer-contact li span {
    font-size: 14px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 576px) {
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-bottom .copyright {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.footer-bottom .signature-credit {
    font-size: 13px;
    color: var(--c-mint);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile Header & Responsive Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 150;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--c-ink);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-action {
    display: none;
    margin-top: 16px;
    width: 100%;
}
.nav-mobile-action .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    justify-content: center;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .header-actions > .btn {
        display: none !important;
    }
    .nav-mobile-action {
        display: block;
    }
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 12px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
        z-index: 120;
        border-top: 1px solid #f1f5f9;
        overflow-y: auto;
        align-items: flex-start;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links > a {
        font-size: 18px !important;
        font-weight: 600;
        color: var(--c-ink);
        padding: 12px 0;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
        display: block;
        text-align: left;
    }
    .nav-links > a:hover {
        color: #4f46e5;
        padding-left: 4px;
        transition: padding 0.2s ease;
    }
}

/* Copy Link Button Styling */
.btn-copy-link {
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--c-muted, #41454d);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
    border: 1px solid transparent;
    flex-shrink: 0;
}
.btn-copy-link:hover {
    color: var(--c-forest, #0a2e0e);
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: scale(1.1);
}
.btn-copy-link:active {
    transform: scale(0.95);
}

/* Global Copy Toast Styling */
.copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #181d26;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}
.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
