/* =========================================
   Esnad Marketing Site - Ultra Premium Styles
   ========================================= */

   :root {
    --primary: #158a8a;
    --primary-dark: #0f6666;
    --primary-light: #e0f2f1;
    --secondary: #0d2124;
    --accent: #f1b44c;
    --text-main: #132326;
    --text-muted: #5e6f72;
    --bg-main: #ffffff;
    --bg-soft: #f4faf9;
    --border-color: #dce7e7;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 14px rgba(19, 35, 38, 0.04);
    --shadow-md: 0 12px 30px rgba(19, 35, 38, 0.08);
    --shadow-lg: 0 24px 60px rgba(21, 138, 138, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
}

.mt-4 { margin-top: 24px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(21, 138, 138, 0.25);
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(21, 138, 138, 0.4);
    background: var(--primary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-4px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
    padding: 18px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.9);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 900;
    color: var(--secondary);
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 8px 16px rgba(21, 138, 138, 0.25);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 190px 0 40px;
    background: radial-gradient(circle at top left, var(--bg-soft) 0%, #ffffff 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.shape-1 {
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(21, 138, 138, 0.12);
}

.shape-2 {
    bottom: -50px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(241, 180, 76, 0.08);
}

.shape-3 {
    top: 30%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: rgba(21, 138, 138, 0.05);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: white;
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    border: 1px solid var(--border-color);
}

.badge i {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(24px, 3.2vw, 44px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 19px;
    margin-bottom: 44px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.stat-item i {
    color: var(--primary);
    background: var(--primary-light);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-composition {
    position: relative;
    width: 100%;
    height: 100%;
}

.desktop-mockup {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 85%;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 1;
}

.mockup-header {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.mockup-header .dots {
    display: flex;
    gap: 8px;
}

.mockup-header .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-header .dots span:nth-child(1) { background: #ff5f56; }
.mockup-header .dots span:nth-child(2) { background: #ffbd2e; }
.mockup-header .dots span:nth-child(3) { background: #27c93f; }

.mockup-url {
    flex-grow: 1;
    text-align: center;
    font-family: monospace;
    font-size: 12px;
    color: #888;
    background: #ebebeb;
    padding: 4px;
    border-radius: 6px;
    margin: 0 16px;
    max-width: 200px;
}

.mockup-body {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.mockup-body .mockup-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.mobile-mockup {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 32%;
    min-width: 180px;
    max-width: 240px;
    z-index: 2;
    animation: float 7s ease-in-out infinite;
}

.mobile-frame {
    background: var(--secondary);
    padding: 10px;
    border-radius: 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 2px solid #333;
}

.mobile-frame .mockup-img {
    width: 100%;
    border-radius: 26px;
    display: block;
}

.floating-badge {
    position: absolute;
    top: 40px;
    left: 10px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    z-index: 3;
}

.floating-badge .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(241, 180, 76, 0.15);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 20px;
}

.floating-badge strong {
    display: block;
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.2;
}

.floating-badge span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 60px 0 100px;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
}

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

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    border-color: transparent;
    background: var(--bg-soft);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 24px rgba(21, 138, 138, 0.3);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

/* Dashboard Preview Section */
.preview-section {
    padding: 120px 0;
    background: var(--bg-soft);
    overflow: hidden;
}

.preview-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.preview-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.preview-content > p {
    font-size: 18px;
    margin-bottom: 32px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
}

.check-list li i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
}

.preview-visual {
    position: relative;
}

.premium-frame {
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.full-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    border: 1px solid #eee;
}

.frame-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(21, 138, 138, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: white;
}

.cta-box {
    background: url('images/dashboard.png') center/cover no-repeat;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 33, 36, 0.95) 0%, rgba(21, 138, 138, 0.85) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .brand {
    color: white;
}

.footer-brand p {
    margin: 24px 0;
    max-width: 320px;
    color: rgba(255,255,255,0.6);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 18px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.made-with {
    color: var(--accent);
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(21, 138, 138, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(21, 138, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 138, 138, 0); }
}

/* Animation Classes (Triggered by JS) */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] { transform: translateY(50px); }
[data-animate="fade-left"] { transform: translateX(-50px); }
[data-animate="fade-right"] { transform: translateX(50px); }

.animated {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Forms & Contact Sections */
.register-section, .incidents-section {
    padding: 100px 0;
    background: var(--bg-soft);
}

.incidents-section {
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.custom-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.custom-form .full-width {
    grid-column: 1 / -1;
}

.custom-form label {
    font-weight: 700;
    color: var(--secondary);
    font-size: 15px;
}

.custom-form input, .custom-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: #fdfdfd;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: white;
}

.custom-form textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    margin-top: 32px;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #1a2f33;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(13, 33, 36, 0.3);
}

.form-message {
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-message.success {
    display: block;
    background: #e6f7e6;
    color: #27c93f;
    border: 1px solid #c3ebc3;
}

.form-message.error {
    display: block;
    background: #fde8e8;
    color: #ff5f56;
    border: 1px solid #fad2d2;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
    color: white;
}

/* =========================================================
   NEW PREMIUM HERO LAYOUT
   ========================================================= */
.premium-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: 100%;
    position: relative;
    padding-top: 20px;
}

.desktop-mockup-new {
    width: 60%;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(19, 35, 38, 0.12);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    animation: float 8s ease-in-out infinite reverse;
}

.desktop-mockup-new:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 40px 80px rgba(21, 138, 138, 0.2);
}

.mobile-mockup-new {
    width: 25%;
    min-width: 160px;
    z-index: 2;
}

.mobile-mockup-new .mobile-frame {
    background: var(--secondary);
    padding: 8px;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    border: 3px solid #333;
    position: relative;
}

.mobile-mockup-new .mobile-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40%; height: 20px;
    background: #333;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.floating-badge-new {
    position: absolute;
    bottom: -20px;
    left: 15%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(21, 138, 138, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 3;
}

/* =========================================================
   LUXURIOUS FORMS
   ========================================================= */
.register-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f4faf9 0%, #ffffff 100%);
    padding: 120px 0;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.blob-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(21, 138, 138, 0.2);
}

.blob-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(241, 180, 76, 0.15);
}

.relative-z {
    position: relative;
    z-index: 1;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 48px rgba(19, 35, 38, 0.06);
    padding: 50px;
    border-radius: 32px;
}

.flat-premium {
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(13, 33, 36, 0.05);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 32px;
}

.premium-form .form-group {
    position: relative;
    margin-bottom: 8px;
    flex-direction: row;
}

.premium-form .input-icon i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
    z-index: 2;
}

.premium-form .relative-textarea i {
    position: absolute;
    right: 20px;
    top: 24px;
    color: var(--primary);
    font-size: 18px;
    z-index: 2;
}

.premium-form input, .premium-form textarea {
    width: 100%;
    padding: 18px 20px 18px 50px; /* Padding left 50px for icon */
    padding-right: 50px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.02);
    font-size: 16px;
    color: var(--secondary);
    transition: var(--transition);
}

/* Float label effect */
.premium-form input::placeholder, .premium-form textarea::placeholder {
    color: transparent; /* hide native placeholder */
}

.premium-form label {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #88999a;
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
    padding: 0 4px;
    font-size: 15px;
    z-index: 1;
}

.premium-form .relative-textarea label {
    top: 24px;
    transform: none;
}

.premium-form input:focus, .premium-form textarea:focus,
.premium-form input:not(:placeholder-shown), .premium-form textarea:not(:placeholder-shown) {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(21, 138, 138, 0.1);
}

.premium-form input:focus ~ label, .premium-form textarea:focus ~ label,
.premium-form input:not(:placeholder-shown) ~ label, .premium-form textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    right: 30px;
    font-size: 12px;
    color: var(--primary);
    background: #fff;
    padding: 0 8px;
    border-radius: 4px;
    font-weight: 800;
}

.premium-form input:focus ~ i, .premium-form textarea:focus ~ i {
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-dark);
}

.premium-form .relative-textarea:focus-within ~ i {
    transform: scale(1.1);
}

.btn-glow {
    position: relative;
    overflow: hidden;
    padding: 18px;
    font-size: 18px;
    border-radius: 16px;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .preview-wrapper, .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .custom-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-layout {
        flex-direction: column;
    }
    
    .desktop-mockup-new {
        width: 90%;
    }
    
    .mobile-mockup-new {
        width: 40%;
        margin-top: -80px;
    }
    
    .floating-badge-new {
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        justify-content: center;
    }

    .glass-morphism, .flat-premium {
        padding: 30px 20px;
    }
    
    .hero {
        padding: 140px 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .desktop-mockup {
        width: 100%;
    }

    .mobile-mockup {
        width: 40%;
        bottom: -20px;
        left: -10px;
    }
    
    .check-list li {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: row-reverse;
    }
    
    .nav-links, .nav-actions > .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .floating-badge {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-brand {
    text-align: right;
    margin-bottom: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    text-align: right;
}

.mobile-nav-links a {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu-actions {
    margin-top: auto;
    background: var(--primary);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

.mobile-menu-actions h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.mobile-menu-actions .btn {
    width: 100%;
    margin-bottom: 20px;
}

.store-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 380px) {
    .store-links {
        flex-direction: column;
    }
}

/* Store Badges */
.store-badge {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #333;
}
.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    color: #fff;
    background: #1a1a1a;
}
.store-badge .badge-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.store-badge .small-text {
    font-size: 9px;
    line-height: 1;
    margin-bottom: 3px;
    color: #bbb;
}
.store-badge .big-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.apple-badge i {
    font-size: 28px;
    color: #fff;
}
.google-badge i {
    font-size: 26px;
    background: -webkit-linear-gradient(#4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* New Register Section Styles */
.register-section {
    background-color: #fbfbfe;
    padding: 100px 0;
}

.register-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .register-layout {
        grid-template-columns: 1fr;
    }
}

/* Banner Side */
.register-banner {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.banner-badge {
    background: #20c975;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(32, 201, 117, 0.3);
}

.register-banner h2 {
    font-size: 32px;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 25px;
}

.register-banner p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-green-pill {
    display: inline-block;
    background: #20c975;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(32, 201, 117, 0.3);
    text-decoration: none;
}

.btn-green-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(32, 201, 117, 0.4);
    color: white;
}

/* Form Side */
.register-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    position: relative;
}

.register-form-box h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
    text-align: center;
}

.register-form-box .subtitle {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.modern-form .form-group-modern {
    margin-bottom: 20px;
    text-align: right;
}

.modern-form label {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.modern-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
    font-family: inherit;
    color: #333;
}

.modern-form input:focus {
    outline: none;
    border-color: #20c975;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(32, 201, 117, 0.1);
}

.btn-submit-modern {
    width: 100%;
    background: #20c975;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit-modern:hover {
    background: #1bb367;
}
