:root {
    --primary: #FFC107;
    --primary-hover: #FFA000;
    --secondary: #000000;
    --accent: #1f2937;
    --background: #ffffff;
    --surface: #f9fafb;
    --text: #1f2937;
    --text-light: #6b7280;
    --error: #ef4444;
    --success: #10b981;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
    /* Black text on yellow for contrast */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Navigation */
.navbar {
    background: var(--surface);
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Landing Page Specifics */
.hero-section {
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(99, 102, 241, 0.2);
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-form .input-group {
    display: flex;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    max-width: 500px;
}

.hero-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-prefix {
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.hero-form input {
    border: none;
    outline: none;
    padding: 0.75rem;
    font-size: 1rem;
    flex-grow: 1;
    background: transparent;
}

.hero-form button {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-stats i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* Phone Mockup Animation */
.phone-mockup-landing {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 40px;
    border: 12px solid #1f2937;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup-landing:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-screen {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(to bottom, #f3f4f6, #fff);
}

.screen-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.screen-avatar {
    width: 80px;
    height: 80px;
    background: #e5e7eb;
    background-image: url('../images/hero-avatar.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.screen-name {
    width: auto;
    height: auto;
    background: transparent;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.screen-bio {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    padding: 0 1rem;
}

.screen-block {
    height: auto;
    min-height: 48px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #374151;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.image-block {
    height: 150px;
    background: #e5e7eb;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 100px;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    top: 250px;
    right: -50px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 100px;
    left: -40px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: #f9fafb;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.link-column h4 {
    margin-bottom: 1.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.link-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {

    /* Logo sizing for mobile */
    .logo img {
        height: 40px !important;
        max-width: 150px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-form .input-group {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 20px;
    }

    .input-prefix {
        border-bottom: 1px solid #f3f4f6;
        padding: 0.5rem;
        justify-content: center;
    }

    .hero-form input {
        text-align: center;
        width: 100%;
    }

    .hero-form button {
        width: 100%;
        border-radius: 50px;
    }

    .hero-stats {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-mockup-landing {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1/2;
    }

    body {
        overflow-x: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    /* Navigation */
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
        z-index: 200;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-controls {
    display: none;
}

/* Global Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    animation: fadeIn 0.3s ease-out;
}

/* Floating Menu */
.floating-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    z-index: 100;
    animation: slideUp 0.2s ease-out;
}

.floating-menu.active {
    display: block;
}

.floating-menu-item {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.floating-menu-item:hover {
    background-color: #f3f4f6;
}

.floating-menu-item.danger {
    color: #ef4444;
}

.floating-menu-item.danger:hover {
    background-color: #fef2f2;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}