/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Device Container */
.device-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* iPhone 15 Pro Style Device */
.device {
    position: relative;
    width: 390px;
    height: 844px;
    background-color: white;
    border-radius: 55px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 14px solid #1a1a1c;
    box-sizing: content-box;
}

/* Notch Styling */
.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 34px;
    background-color: #1a1a1c;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 100;
}

/* Status Bar */
.status-bar {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
    color: white;
    z-index: 10;
}

.time {
    font-weight: 600;
}

.icons {
    display: flex;
    gap: 5px;
}

/* Home Indicator */
.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    opacity: 0.3;
}

/* iframe Styling */
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Lovable.ai Color Theme */
:root {
    --lovable-primary: #7e22ce; /* purple-700 */
    --lovable-secondary: #d946ef; /* fuchsia-500 */
    --lovable-accent: #ff5e57;
    --lovable-dark: #150f1f;
    --lovable-light: #f5f5f7;
}

.app-btn {
    background: linear-gradient(135deg, var(--lovable-primary), var(--lovable-secondary));
    color: white;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(126, 34, 206, 0.2);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(126, 34, 206, 0.3);
}

.app-card {
    background-color: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom Tab Bar */
.tab-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tab-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tab-icon.active {
    background: linear-gradient(135deg, var(--lovable-primary), var(--lovable-secondary));
    color: white;
}

.tab-label {
    font-size: 10px;
    font-weight: 500;
}

/* Custom Gradient Elements */
.gradient-text {
    background: linear-gradient(135deg, var(--lovable-primary), var(--lovable-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--lovable-primary), var(--lovable-secondary));
}

.gradient-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--lovable-primary), var(--lovable-secondary));
    border-radius: inherit;
    z-index: -1;
}