@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #f8fafc;
    --cas-blue: #0088cc;
    --cas-dark: #1a1a1a;
    --text-main: #334155;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
    color: var(--cas-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography Helpers */
.text-cas-blue { color: var(--cas-blue); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Components */
.card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-lg {
    border-radius: 2.5rem;
    padding: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--cas-blue);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 136, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(0, 136, 204, 0.4);
    filter: brightness(1.1);
}

.input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background-color: #f1f5f9;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input:focus {
    border-color: var(--cas-blue);
    background-color: white;
}

/* Nav */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--cas-blue);
}

/* WhatsApp Simulation Styles */
.whatsapp-container {
    background-color: #e5ddd5;
    background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
    border-radius: 2.5rem;
    height: 600px;
    border: 10px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background-color: #075e54;
    color: white;
    padding: 1.5rem 1rem 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.whatsapp-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bubble {
    max-width: 85%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.bubble-me {
    align-self: flex-end;
    background-color: #dcf8c6;
    border-top-right-radius: 0;
}

.bubble-other {
    align-self: flex-start;
    background-color: white;
    border-top-left-radius: 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.grid-cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out forwards;
}
