/* ===== MODERN PREMIUM DESIGN STYLES ===== */

/* ===== MODERN NAVBAR ===== */
.modern-navbar {
    background: rgba(15, 23, 42, 0.92) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.premium-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #00d4ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.premium-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

/* ===== MODERN HERO ===== */
.modern-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1a2d4d 50%, #0f4c75 100%);
}

.modern-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 212, 255, 0.05));
    z-index: 0;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff6b35, transparent);
    top: -50px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00d4ff, transparent);
    bottom: -50px;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ff8c42, transparent);
    top: 40%;
    right: 15%;
    animation: float 12s ease-in-out infinite;
}

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

.modern-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(0, 212, 255, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: var(--light-accent);
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.8s ease-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-lg {
    padding: 1.2rem 2.5rem !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease !important;
}

.btn-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary.btn-lg:hover .btn-icon {
    transform: translateX(5px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card {
    position: absolute;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(0, 212, 255, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: drift 4s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 65%;
    right: 8%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

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

/* ===== MODERN SECTION ===== */
.modern-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.dark-bg {
    background: linear-gradient(180deg, #1a2d4d 0%, #0a0e27 100%);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SOLUTIONS PREVIEW ===== */
.solutions-preview {
    background: linear-gradient(180deg, #0a0e27 0%, #1a2d4d 100%);
}

.solutions-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.premium-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.solution-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.solution-card:hover .card-icon {
    transform: scale(1.2) rotate(-10deg);
}

.solution-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.solution-card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-link:hover {
    transform: translateX(5px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: linear-gradient(180deg, #1a2d4d 0%, #0a0e27 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 800;
}

.features-text > p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 30px;
}

.feature-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.feature-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.features-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.features-image svg {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    background: linear-gradient(180deg, #0a0e27 0%, #1a2d4d 100%);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modern-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.portfolio-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
}

.portfolio-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.2) rotate(10deg);
}

.portfolio-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-meta {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(0, 212, 255, 0.15));
    color: var(--light-accent);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-name {
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 600;
}

.counter {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(180deg, #0a0e27 0%, #1a2d4d 100%);
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.rating {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-text {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    display: inline-block;
}

.author-name {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-title {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== CTA PREMIUM ===== */
.cta-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    border-radius: 50%;
    top: -300px;
    right: -300px;
    animation: float 8s ease-in-out infinite;
}

.cta-premium::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent);
    border-radius: 50%;
    bottom: -250px;
    left: -250px;
    animation: float 10s ease-in-out infinite reverse;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== MODERN FOOTER ===== */
.modern-footer {
    background: #050d1a;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom p:last-child {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-container,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .floating-cards {
        display: none;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .modern-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modern-buttons button {
        width: 100%;
        max-width: 300px;
    }

    .animated-shapes {
        display: none;
    }

    .portfolio-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-image {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .modern-section {
        padding: 3rem 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
