/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.5s;
    margin-top: 80px;
}

/* Abstract Background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 50vw;
    max-width: 800px;
    background: rgba(255, 146, 1, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(25%, -50%);
    transition: opacity 0.5s;
}

.dark-mode .hero-blob-1 {
    background: rgba(255, 146, 1, 0.15);
}

.hero-blob-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    background: rgba(0, 177, 225, 0.08);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(-25%, 33%);
}

.dark-mode .hero-blob-2 {
    background: rgba(15, 23, 42, 0.8);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(128, 128, 128, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.dark-mode .hero-grid {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Main Content */
.hero-main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    flex: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badge-line {
    width: 2.5rem;
    height: 2px;
    background: var(--accent-orange);
}

.hero-badge-text {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-orange);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #ff9201, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-wrapper {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 146, 1, 0.2);
    margin-bottom: 2.5rem;
    max-width: 48rem;
}

.dark-mode .hero-desc-wrapper {
    border-left-color: rgba(255, 146, 1, 0.3);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 146, 1, 0.2);
}

.hero-btn-primary:hover {
    background: #e68200;
    transform: scale(1.05);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
}

.dark-mode .hero-btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dark-mode .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-check {
    color: #10b981;
}

/* Visual Column */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    margin: 0 auto;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.5), rgba(255, 146, 1, 0.1));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}

.dark-mode .hero-glow {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(255, 146, 1, 0.2));
}

/* Phone Mockup */
.hero-phone {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-3deg);
    z-index: 10;
    width: 260px;
    background: #1a1a1a;
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 4px solid #2d2d2d;
    animation: float-slow 7s ease-in-out infinite;
}

.hero-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 7rem;
    height: 1.5rem;
    background: #2d2d2d;
    border-radius: 0 0 1rem 1rem;
    z-index: 30;
}

.hero-phone-screen {
    width: 100%;
    aspect-ratio: 9/19;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dark-mode .hero-phone-screen {
    background: #0f172a;
}

.hero-phone-header {
    height: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    margin-top: 1.5rem;
}

.dark-mode .hero-phone-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.hero-phone-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-phone-avatar {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent-orange);
    border-radius: 50%;
}

.hero-phone-name {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-phone-content {
    flex: 1;
    background: linear-gradient(135deg, #ff9201, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.hero-phone-text {
    color: white;
}

.hero-phone-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero-phone-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-phone-heart {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.hero-phone-footer {
    height: 3rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
}

.dark-mode .hero-phone-footer {
    background: #0f172a;
}

/* Analytics Card */
.hero-analytics {
    position: absolute;
    right: 0;
    bottom: 5rem;
    z-index: 20;
    width: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
    animation: float-delayed 8s ease-in-out infinite;
    transform: rotate(2deg);
}

.dark-mode .hero-analytics {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-analytics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-analytics-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-analytics-icon {
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 0.5rem;
}

.dark-mode .hero-analytics-icon {
    background: rgba(16, 185, 129, 0.2);
}

.hero-analytics-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.hero-analytics-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-analytics-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.dark-mode .hero-analytics-badge {
    background: rgba(16, 185, 129, 0.2);
}

.hero-analytics-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 5rem;
}

.hero-analytics-bar {
    flex: 1;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem 0.25rem 0 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.dark-mode .hero-analytics-bar {
    background: rgba(255, 255, 255, 0.02);
}

.hero-analytics-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-primary);
    border-radius: 0.25rem 0.25rem 0 0;
    transition: background 0.3s;
}

.hero-analytics-bar:hover .hero-analytics-bar-fill {
    background: var(--accent-orange);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(-50%) rotate(-3deg);
    }
    50% {
        transform: translateY(calc(-50% - 15px)) rotate(-3deg);
    }
}

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

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

/* Responsive Breakpoints */

/* Small phones */
@media (min-width: 375px) {
    .hero-badge-line { width: 2.5rem; }
}

/* Medium phones */
@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Large phones */
@media (min-width: 640px) {
    .hero-main {
        padding: 3rem 2rem;
    }
    .hero-phone {
        width: 280px;
    }
}

/* Small tablets */
@media (min-width: 768px) {
    .hero-main {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .hero-visual {
        height: 650px;
    }
    .hero-phone {
        left: 1rem;
    }
    .hero-analytics {
        right: 0;
    }
    .hero-glow {
        width: 500px;
        height: 500px;
    }
}

/* Medium tablets */
@media (min-width: 1024px) {
    .hero-main {
        padding: 4rem 3rem;
    }
    .hero-visual {
        padding-left: 3rem;
    }
}

/* Large tablets / Small laptops */
@media (min-width: 1200px) {
    .hero-main {
        grid-template-columns: 1fr 1fr;
    }
}

/* Medium laptops */
@media (min-width: 1440px) {
    .hero-main {
        padding: 5rem 4rem;
    }
}

/* Large laptops / Small monitors */
@media (min-width: 1920px) {
    .hero-main {
        max-width: 1800px;
    }
}

/* Medium monitors */
@media (min-width: 2560px) {
    .hero-main {
        max-width: 2200px;
        padding: 6rem 5rem;
    }
}

/* Large monitors / Ultra-wide */
@media (min-width: 3840px) {
    .hero-main {
        max-width: 3000px;
        padding: 8rem 6rem;
    }
}

/* Vertical monitors */
@media (orientation: portrait) and (min-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 2rem;
    }
    .hero-phone {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        animation: none;
    }
    .hero-analytics {
        position: relative;
        right: 0;
        bottom: 0;
        transform: none;
        animation: none;
        width: 100%;
        max-width: 320px;
    }
}

/* Icon styles */
.hero-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
