@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ==================== 
   IXAI PORTAL SHARED THEME 
   Minimalist & Clean
==================== */

:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-muted: #f5f5f5;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #1a1a1a;
    --accent-soft: #333333;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 2rem; line-height: 1.3; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.4; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    width: 100%;
}

.section {
    padding: 4rem 0;
    position: relative;
}

/* Minimalist Form Elements */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: var(--bg-soft);
    color: var(--text);
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

button, 
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--bg);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

button:hover, 
.btn:hover {
    background: var(--bg);
    color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text);
    background: var(--bg-soft);
}

/* Interactive Cards */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ==================== DARK MODE ==================== */
[data-theme="dark"] {
    --bg: #111111;
    --bg-soft: #1a1a1a;
    --bg-muted: #222222;
    --border: #2e2e2e;
    --border-light: #272727;
    --text: #f0f0f0;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    --accent: #f0f0f0;
    --accent-soft: #cccccc;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

[data-theme="dark"] body {
    background-color: var(--bg);
    color: var(--text);
}

/* Legacy */
.old-gradient-bg { background: transparent !important; }
