@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #080915;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(244, 63, 94, 0.4);
    
    --primary-gradient: linear-gradient(135deg, #ff2a85 0%, #8a2be2 50%, #4f46e5 100%);
    --accent-gradient: linear-gradient(45deg, #f43f5e, #a855f7, #06b6d4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --glow-primary: 0 0 35px rgba(255, 42, 133, 0.4);
    --glow-purple: 0 0 35px rgba(138, 43, 226, 0.4);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(255, 42, 133, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 60%, rgba(138, 43, 226, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(79, 70, 229, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(244, 63, 94, 0.6);
}

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

/* Header & Nav */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    background: rgba(15, 17, 35, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin: 24px 0 40px;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 42, 133, 0.1);
    border: 1px solid rgba(255, 42, 133, 0.3);
    border-radius: 100px;
    color: #ff2a85;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(255, 42, 133, 0.2);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 80px;
    min-height: 75vh;
}

.hero-content {
    color: var(--text-primary);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Stats Section */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 40px;
    background: rgba(15, 17, 35, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    margin: 40px 0 80px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

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

/* Buttons */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px -5px rgba(255, 42, 133, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px -5px rgba(255, 42, 133, 0.7);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ff2a85;
    border: 2px solid rgba(255, 42, 133, 0.5);
    border-radius: 100px;
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 42, 133, 0.4);
}

.btn-large {
    padding: 20px 42px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Hero Visual & Phone Mockup */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 42, 133, 0.3) 0%, rgba(138, 43, 226, 0.2) 50%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.phone-mockup {
    position: relative;
    width: 310px;
    height: 610px;
    background: #0f1123;
    border-radius: 45px;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.4s ease;
}

.phone-mockup:hover {
    box-shadow: 0 40px 90px rgba(255, 42, 133, 0.3), 0 0 0 2px rgba(255, 42, 133, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, #181a38 0%, #0d0f22 100%);
    border-radius: 34px;
    padding: 35px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 42, 133, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.profile-card {
    text-align: center;
    color: white;
    width: 100%;
    position: relative;
    z-index: 2;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}

.profile-avatar {
    width: 86px;
    height: 86px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.2rem;
    color: white;
    box-shadow: var(--glow-primary);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border: 3px solid #181a38;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.profile-card h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 42, 133, 0.5);
    transform: translateX(6px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.social-link.discord:hover { border-color: #5865F2; box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4); }
.social-link.twitter:hover { border-color: #1DA1F2; box-shadow: 0 5px 20px rgba(29, 161, 242, 0.4); }
.social-link.instagram:hover { border-color: #E1306C; box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4); }
.social-link.youtube:hover { border-color: #FF0000; box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4); }

#cameraVideo {
    width: 310px;
    height: 310px;
    border-radius: 24px;
    margin-top: 24px;
    object-fit: cover;
    box-shadow: var(--glass-shadow);
    border: 2px solid rgba(255, 42, 133, 0.4);
    z-index: 1;
}

/* Sections */
.features, .templates, .cta {
    padding: 90px 40px;
    margin: 60px 0;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
}

.features {
    background: rgba(15, 17, 35, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.feature-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px -10px rgba(255, 42, 133, 0.2);
}

.feature-icon {
    width: 76px;
    height: 76px;
    background: var(--primary-gradient);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
    box-shadow: var(--glow-primary);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

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

/* Templates Section */
.templates {
    background: rgba(20, 22, 45, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
}

.template-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px -10px rgba(138, 43, 226, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.template-preview {
    margin-bottom: 24px;
}

.template-mockup {
    width: 210px;
    height: 310px;
    background: #111326;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.template-header {
    height: 65px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.template-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.template-link {
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.template-gradient {
    background: linear-gradient(165deg, #2a0845, #6441a5);
}

.template-dark {
    background: #090a12;
    border-color: rgba(255, 255, 255, 0.15);
}

.template-dark .template-header,
.template-dark .template-link {
    background: rgba(255, 255, 255, 0.06);
}

.template-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.template-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Call to Action Section */
.cta {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    box-shadow: 0 25px 60px -10px rgba(255, 42, 133, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: #ffffff;
    color: #080915;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta .btn-primary:hover {
    background: #f8fafc;
    color: #ff2a85;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: #05060d;
    color: var(--text-secondary);
    padding: 70px 0 30px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    border-radius: 36px 36px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-section h3 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #ff2a85;
    transform: translateX(3px);
    display: inline-block;
}

.social-links-footer {
    display: flex;
    gap: 14px;
}

.social-link-footer {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link-footer:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-modal.show {
    opacity: 1;
    visibility: visible;
}

.signup-modal-content {
    background: rgba(18, 20, 42, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 32px;
    padding: 44px;
    max-width: 460px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.85) translateY(40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), var(--glow-purple);
}

.signup-modal.show .signup-modal-content {
    transform: scale(1) translateY(0);
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.signup-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-header p {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #ff2a85;
    border-color: transparent;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input {
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #ff2a85;
    box-shadow: 0 0 0 4px rgba(255, 42, 133, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.signup-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-footer p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.signup-footer a {
    color: #ff2a85;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-footer a:hover {
    color: #a855f7;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
        margin: 16px 0;
    }
    
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-header h2, .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .features, .templates, .cta {
        padding: 60px 20px;
        margin: 40px 0;
        border-radius: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.92rem;
        width: 100%;
    }
    
    .phone-mockup {
        width: 270px;
        height: 530px;
    }
}
