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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f8fafc;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Platform-specific colors for visual enhancement */
    --instagram-color: #e4405f;
    --facebook-color: #1877f2;
    --twitter-color: #1da1f2;
    --tiktok-color: #000000;
    --youtube-color: #ff0000;
    --linkedin-color: #0a66c2;
    --telegram-color: #0088cc;
    
    /* Enhanced gradients */
    --gradient-vibrant: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #10b981 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #e4405f 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-vibrant);
    border-radius: 1px;
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}



.dashboard-header {
    background: var(--gradient-primary);
    padding: 1rem;
    display: flex;
    align-items: center;
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-content {
    padding: 2rem;
}

.chart-container {
    height: 120px;
    display: flex;
    align-items: end;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.chart-line {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: none !important;
}

.chart-line:nth-child(1) { height: 60%; animation-delay: 0s; }
.chart-line:nth-child(2) { height: 80%; animation-delay: 0.5s; }
.chart-line:nth-child(3) { height: 40%; animation-delay: 1s; }

@keyframes chartAnimation {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.metric-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.metric-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}



.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--secondary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card h3 {
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    filter: brightness(1.2);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
} 

/* --- Modal Platform Icon Row Styles --- */
/* Platform Checkbox Row & Icon Styles */
.platform-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem 0;
  flex-wrap: wrap;
}
.platform-checkbox-option {
  position: relative;
  display: flex;
  align-items: center;
}
.platform-checkbox {
  display: none;
}
.platform-icon-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f8fafc;
  color: #222e3a;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.03);
  border: 2px solid transparent;
  position: relative;
}
.platform-icon-label .platform-checkmark {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.platform-checkbox:checked + .platform-icon-label .platform-checkmark {
  display: flex;
}
.platform-checkbox:checked + .platform-icon-label {
  color: #fff;
  border-color: currentColor;
  box-shadow: 0 4px 16px 0 rgba(99,102,241,0.15);
}
.platform-icon-label.platform-instagram {
  --brand: linear-gradient(135deg, #e4405f 0%, #ffdc80 100%);
}
.platform-icon-label.platform-facebook {
  --brand: #1877f2;
}
.platform-icon-label.platform-twitter {
  --brand: #1da1f2;
}
.platform-icon-label.platform-tiktok {
  --brand: #000000;
}
.platform-icon-label.platform-youtube {
  --brand: #ff0000;
}
.platform-icon-label.platform-linkedin {
  --brand: #0a66c2;
}
.platform-icon-label.platform-telegram {
  --brand: #0088cc;
}
.platform-checkbox:checked + .platform-icon-label.platform-instagram {
  background: linear-gradient(135deg, #e4405f 0%, #ffdc80 100%);
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-facebook {
  background: #1877f2;
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-twitter {
  background: #1da1f2;
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-tiktok {
  background: #000000;
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-youtube {
  background: #ff0000;
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-linkedin {
  background: #0a66c2;
  color: #fff;
}
.platform-checkbox:checked + .platform-icon-label.platform-telegram {
  background: #0088cc;
  color: #fff;
}
.platform-icon-label:hover, .platform-icon-label:focus {
  background: var(--brand, #e0e7ef);
  color: #fff;
  border-color: var(--brand, #e0e7ef);
}
.platform-checkbox:not(:checked) + .platform-icon-label {
  opacity: 0.7;
  filter: grayscale(0.2);
}
.platform-checkbox:checked + .platform-icon-label {
  opacity: 1;
  filter: none;
}
.platform-icon-label i {
  z-index: 1;
}
/* Platform counter and section heading */
#platform-counter {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.modal-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.modal-header + .modal-body > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.form-group.username-group label {
  font-weight: 600;
  color: var(--text-primary);
}
.form-group.username-group input {
  margin-bottom: 0.5rem;
}
/* Divider between sections */
.account-separator {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0 1.5rem 0;
  width: 100%;
  background: none;
}
/* CTA button loading/disabled */
.btn-primary[disabled], .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary .fa-spinner {
  margin-right: 0.5rem;
}
/* Responsive adjustments */
@media (max-width: 600px) {
  .modal-content {
    padding: 1rem;
    max-width: 98vw;
  }
  .platform-row {
    gap: 0.75rem;
  }
  .platform-icon-label {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/* Modal container and content explicit layout fixes */
.modal-content, .modal-body, .modal-form {
  display: block;
  width: 100%;
  box-sizing: border-box;
  float: none !important;
  position: static !important;
}

/* Ensure platform row is flex and not affected by float/position */
.platform-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem;
  float: none !important;
  position: static !important;
  width: 100%;
} 

/* Make modal body scrollable if content is too tall */
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

/* Separator line between account sections */
.account-separator {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0 1.5rem 0;
  width: 100%;
  background: none;
} 

/* Remove underline and focus rectangle from nav logo link */
.nav-logo-link {
  text-decoration: none;
  outline: none;
}
.nav-logo-link:focus,
.nav-logo-link:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.nav-logo {
  border: none !important;
  box-shadow: none !important;
} 

.trial-badge {
  display: inline-block;
  background: #e0f7fa;
  color: #00796b;
  border-radius: 999px;
  padding: 0.3em 1em;
  font-size: 0.98em;
  font-weight: 500;
  margin-top: 0.5em;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
} 

.referral-section {
  padding: 3rem 0 2.5rem 0;
  background: #f8fafc;
  border-radius: 18px;
  margin: 3rem auto 2rem auto;
  text-align: center;
  max-width: 700px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
}
.referral-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.referral-section p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.referral-btn {
  margin-top: 0.5rem;
  font-size: 1.08em;
  padding: 0.7em 2em;
}
.referral-link {
  color: var(--text-light);
  margin-top: 0.5rem;
  font-size: 1em;
}
.referral-link a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.2s;
}
.referral-link a:hover {
  color: var(--accent-color);
} 

.referral-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.referral-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 41, 59, 0.45);
  z-index: 1;
}
.referral-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 95vw;
  z-index: 2;
  text-align: center;
}
.referral-modal-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
}
.referral-link-modal {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
.referral-link-input {
  width: 100%;
  padding: 0.7em 1em;
  border-radius: 8px;
  border: 1.5px solid #e0e8f0;
  font-size: 1.08em;
  background: #f8fafc;
  color: #1e293b;
  font-family: inherit;
  margin-bottom: 0.5rem;
  transition: border 0.2s;
}
.referral-link-input:focus {
  border-color: var(--primary-color);
  outline: none;
}
.referral-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.referral-modal-close:hover {
  color: var(--primary-color);
} 

.referral-link-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em;
}
.referral-copy-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.25em;
  margin-left: 0.2em;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.2em 0.4em;
  border-radius: 6px;
}
.referral-copy-btn:hover, .referral-copy-btn:focus {
  color: var(--accent-color);
  background: #f0f4fa;
  outline: none;
}
.referral-copy-tooltip {
  font-size: 0.98em;
  color: #fff;
  background: #00796b;
  border-radius: 6px;
  padding: 0.3em 1em;
  margin-top: 0.3em;
  display: inline-block;
  position: relative;
  left: 0;
  opacity: 0.95;
  z-index: 10;
  transition: opacity 0.2s;
} 