/* ======== CSS Variables (from your logo) ======== */
:root {
    --color-primary: #E6007E; /* Logo Pink/Magenta */
    --color-secondary: #F37B23; /* Logo Orange */
    --color-tertiary: #00AEEF; /* Logo Blue */
    --color-dark-blue: #2A2F67; /* Logo Text */
    --color-primary-glow: rgba(230, 0, 126, 0.4); /* Glow effect color */
    
    --color-bg: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #5f5f5f;
    --font-primary: 'Poppins', sans-serif;
}

/* ======== General Reset & Body ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    
    /* === Dynamic Gradient Background === */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden; /* Prevents horizontal scroll from animations */
}

body.nav-open {
    overflow: hidden;
}

body.dashboard-dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #f9fafb;
}

body.dashboard-dark .dashboard-section {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

body.dashboard-dark .dashboard-section p,
body.dashboard-dark .dashboard-section label,
body.dashboard-dark .dashboard-section h2 {
    color: #f9fafb;
}

body.dashboard-dark .dashboard-form input,
body.dashboard-dark .dashboard-form textarea,
body.dashboard-dark .dashboard-form select {
    background: rgba(31, 41, 55, 0.8);
    color: #f9fafb;
    border-color: rgba(255, 255, 255, 0.08);
}

/* === NEW: Font Consistency Reset === */
/* This ensures all elements use the 'Poppins' font */
button, 
input, 
textarea, 
select {
    font-family: inherit;
    font-size: inherit;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ======== Header / Navbar ======== */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* === Glassmorphism Effect === */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    /* === Entry Animation === */
    animation: fadeIn 1s ease-out;
}

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

.navbar-logo {
    height: 55px; /* Increased size */
    width: auto;
    transition: transform 0.3s ease;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-dark-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-brand-text {
    font-size: 1.2rem;
    color: var(--color-dark-blue);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark-blue);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar-logo:hover {
    transform: scale(1.08) rotate(2deg); /* Enhanced hover effect */
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: max-height 0.35s ease;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    margin-right: auto;
}

.nav-actions {
    gap: 14px;
}

.nav-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.6);
    color: var(--color-dark-blue);
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-icon-button:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 16px rgba(42, 47, 103, 0.15);
}

.logout-button svg {
    display: block;
}

.nav-dashboard-link {
    font-weight: 600;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative; /* For underline effect */
}

/* === Hover Underline Effect === */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease-out;
}

.nav-link:hover {
    color: var(--color-dark-blue);
    background-color: transparent;
}

.nav-link:hover::after {
    width: calc(100% - 20px);
}

.nav-button-secondary,
.nav-button-primary {
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Reserve space for border */
}

.nav-button-secondary {
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.nav-button-secondary:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(42, 47, 103, 0.2); /* Hover shadow */
}

.nav-button-primary {
    color: var(--color-bg);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin-left: 10px;
}

.nav-button-primary:hover {
    /* === Glow Effect === */
    box-shadow: 0 0 20px var(--color-primary-glow);
    transform: translateY(-2px); /* Lift effect */
}

/* ======== Hero Section ======== */
.hero {
    padding: 100px 0; /* Increased padding */
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem; /* 56px - Bolder */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;

    /* === Gradient Text === */
    background: linear-gradient(90deg, var(--color-primary), var(--color-dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* === Entry Animation === */
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: backwards; /* Starts invisible */
}

.hero-text p {
    font-size: 1.1rem; /* 18px */
    color: var(--color-text-light);
    margin-bottom: 40px; /* Increased spacing */
    max-width: 500px;
    
    /* === Entry Animation === */
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: backwards;
}

.hero-cta-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;

    /* === Entry Animation === */
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: backwards;
}

.hero-cta-box input[type="text"] {
    flex-grow: 1;
    min-width: 0;
    padding: 16px 20px; /* Bolder input */
    font-size: 1rem; /* font-family is now inherited */
    border: none;
    border-radius: 10px;
    
    /* === Subtle Glassmorphism === */
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-cta-box input[type="text"]::placeholder {
    color: #888;
}

.hero-cta-box input[type="text"]:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2); /* Focus ring */
}

.btn-join {
    padding: 16px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    background-color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-join:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-divider {
    display: block;
    text-align: center;
    margin: 20px 0;
    color: #aaa;
    max-width: 300px;
    
    /* === Entry Animation === */
    animation: fadeInUp 0.8s ease-out 0.7s;
    animation-fill-mode: backwards;
}

.btn-start-meeting {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px; /* Bolder button */
    font-size: 1rem; /* font-family is now inherited */
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--color-primary-glow);

    /* === Entry Animation === */
    animation: fadeInUp 0.8s ease-out 0.8s;
    animation-fill-mode: backwards;
}

.btn-start-meeting:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-primary-glow);
}

.btn-start-meeting svg {
    margin-bottom: -2px;
}

/* === Upgraded Hero Visual === */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 40px;
    text-align: center;

    /* === Glassmorphism for the visual card === */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

    /* === Entry Animation === */
    animation: fadeIn 1s ease-out 0.6s;
    animation-fill-mode: backwards;
}

.hero-image-placeholder {
    width: 60%;
    opacity: 0.5; /* Slightly more visible */
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}

.hero-visual p {
    margin-top: 20px;
    font-weight: 600;
    color: var(--color-text-light);
}

/* ======== Logo Loader ======== */
.logo-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.logo-loader.active {
    display: flex;
}

.loader-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 30px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(230, 0, 126, 0.3));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(230, 0, 126, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark-blue);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ======== User Menu ======== */
.nav-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
    color: var(--color-dark-blue);
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.dropdown-item:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.dropdown-divider {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* ======== Dashboard ======== */
.dashboard {
    padding: 60px 0;
    min-height: calc(100vh - 85px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.dashboard-header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dashboard-sections {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.dashboard-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.dashboard-section .section-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    color: inherit;
}

.toggle-section {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.section-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0;
}

.dashboard-section p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.section-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-light);
    border-bottom: 2px solid var(--color-text-light);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.dashboard-section.open .section-chevron {
    transform: rotate(-135deg);
}

.section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.dashboard-section.open .section-body {
    max-height: 1500px;
}

.dashboard-form {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dashboard-section.open .dashboard-form {
    opacity: 1;
    transform: translateY(0);
}

.join-meeting-box {
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.join-meeting-box input {
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
    flex: 1 1 auto;
}

.join-meeting-box input:focus {
    outline: none;
    border-color: var(--color-tertiary);
}

.btn-join-meeting {
    padding: 10px 20px;
    background: var(--color-tertiary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-join-meeting:hover {
    background: #008fbf;
    transform: translateY(-2px);
}

.btn-create-meeting {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 0, 126, 0.3);
    font-family: inherit;
}

.btn-create-meeting:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 126, 0.4);
}

/* ======== Meeting Tabs ======== */
.meeting-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.meeting-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
}

.meeting-tab:hover {
    color: var(--color-dark-blue);
}

.meeting-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* ======== Meetings Container ======== */
.meetings-container {
    position: relative;
    min-height: 400px;
}

.meetings-list {
    display: none;
}

.meetings-list.active {
    display: block;
}

.loading-state,
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(230, 0, 126, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-meeting-action {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-join-now {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.3);
}

.btn-join-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 126, 0.4);
}

.btn-copy-link {
    background: white;
    color: var(--color-dark-blue);
    border: 2px solid var(--color-dark-blue);
}

.btn-copy-link:hover {
    background: var(--color-dark-blue);
    color: white;
}

.btn-view-details {
    background: transparent;
    color: var(--color-tertiary);
    border: 2px solid var(--color-tertiary);
}

.btn-view-details:hover {
    background: var(--color-tertiary);
    color: white;
}

/* ======== Modal ======== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-blue);
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: var(--color-dark-blue);
}

.modal-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-tertiary);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-checkbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--color-text);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: var(--color-text-light);
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.3);
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 126, 0.4);
}

/* ======== Responsive Design/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets and below */
@media (max-width: 1024px) {
    .container {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }

    .navbar .container {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
    }

    .navbar-nav.open {
        max-height: 520px;
        padding: 12px 20px 20px;
        gap: 18px;
        border-bottom: 1px solid rgba(42, 47, 103, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar-brand-text {
        font-size: 1.05rem;
    }

    .nav-section {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0;
    }

    .nav-links {
        padding: 0 4px;
    }

    .nav-actions {
        border-top: 1px solid rgba(42, 47, 103, 0.08);
        padding: 16px 4px 0;
        margin-top: 8px;
    }

    .nav-link,
    .nav-button-secondary,
    .nav-button-primary,
    .user-menu-btn,
    .nav-icon-button {
        width: 100%;
        text-align: left;
    }

    .nav-button-primary {
        margin-left: 0;
    }

    .user-menu {
        width: 100%;
    }

    .user-menu-btn {
        justify-content: space-between;
        padding: 10px 16px;
    }

    .nav-icon-button {
        justify-content: flex-start;
        padding: 10px 16px;
        height: auto;
        width: 100%;
        gap: 12px;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid rgba(42, 47, 103, 0.08);
        margin-top: 10px;
        display: none;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
    }

    .user-dropdown.show {
        display: block;
    }

    .dashboard-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn-create-meeting {
        width: 100%;
        justify-content: center;
    }

    .join-meeting-box {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 12px;
    }

    .join-meeting-box input,
    .btn-join-meeting {
        width: 100%;
    }

    .hero {
        padding: 80px 0 50px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1rem;
        margin: 0 auto 32px;
        max-width: 90%;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        width: 100%;
        padding: 24px 16px;
    }

    .hero-image-placeholder {
        width: 70%;
    }

    .hero-cta-box {
        flex-direction: column;
    }

    .btn-join,
    .btn-start-meeting,
    .hero-cta-box input[type="text"],
    .hero-cta-box button {
        width: 100%;
    }

    .meeting-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .meeting-card {
        padding: 25px;
    }

    .input-group {
        flex-direction: column;
        gap: 10px;
    }

    .input-group input {
        width: 100%;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-group button {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }
    
    .hero p {
        font-size: 0.9em;
    }
    
    .meeting-card {
        padding: 20px;
    }
    
    input,
    select,
    button {
        font-size: 14px;
    }
    
    .meeting-card h2 {
        font-size: 1.3em;
    }
}

/* Additional responsive tweaks */
@media (max-width: 768px) {
    .dashboard-actions {
        flex-direction: column;
        width: 100%;
    }

    .dashboard-actions button {
        width: 100%;
    }

    .join-meeting-box input {
        flex: 1;
        min-width: 0;
    }

    .meeting-card-info {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-sections {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .dashboard-form {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}