/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette - Apple-inspired */
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --primary-light: #5AC8FA;
    --secondary-color: #5856D6;
    --accent-color: #FF9500;
    --text-dark: #1D1D1F;
    --text-secondary: #86868B;
    --text-light: #AEAEB2;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-tertiary: #FAFAFA;
    --border-color: #D2D2D7;
    --border-light: #E5E5EA;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Premium Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    font-size: 17px;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Premium Navigation with Glassmorphism */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-fallback {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-full);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    background: var(--bg-secondary);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.lang-toggle:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0.95;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    line-height: 1.3;
}

.hero-description {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Premium Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

/* Premium Goal Cards */
.goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.goal-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-card:hover::before {
    transform: scaleX(1);
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.goal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.goal-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.goal-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.goal-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 32px;
    box-shadow: var(--shadow-lg);
}

.goal-highlight p {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* Premium Meeting Structure */
.meeting-info {
    text-align: center;
    margin-bottom: 48px;
}

.meeting-meta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--bg-primary);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 15px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    letter-spacing: -0.01em;
}

.meeting-structure {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.meeting-part {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-part:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.part-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.part-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.part-header h3 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.focus-box {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.sub-list {
    list-style: none;
    margin-top: 12px;
    padding-left: 24px;
}

.sub-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}

.sub-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Premium Outputs */
.outputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.output-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.output-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.output-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.output-card ul {
    list-style: none;
    padding-left: 0;
}

.output-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

.output-card ul li:last-child {
    border-bottom: none;
}

/* Premium Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-color);
}

.event-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.event-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.event-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.event-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 24px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.event-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 15px;
}

.event-detail-icon {
    font-size: 20px;
}

/* Premium Documentation */
.documentation-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.doc-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.doc-icon {
    font-size: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.doc-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.doc-card p {
    flex-grow: 1;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 16px;
}

.doc-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    flex-grow: 1;
}

.doc-card ul li {
    padding: 14px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 15px;
}

.doc-card ul li:last-child {
    border-bottom: none;
}

.doc-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

/* Premium Roles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.role-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-color);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
}

.role-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.role-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.role-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.role-card ul {
    list-style: none;
    padding-left: 0;
}

.role-card ul li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.role-card ul li:last-child {
    border-bottom: none;
}

.role-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Premium Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* Premium Contact */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-item {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.contact-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.contact-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 4px 0;
    font-size: 15px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Premium Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 48px 0;
    text-align: center;
}

.footer-subtitle {
    margin-top: 12px;
    opacity: 0.7;
    font-size: 15px;
    letter-spacing: -0.01em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        padding: 32px 0;
        gap: 16px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-toggle {
        padding: 6px 14px;
        font-size: 13px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .documentation-content,
    .outputs-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        max-width: 100%;
    }

    .part-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 48px 0;
    }

    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }
}
