:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 25, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #4F46E5;
    --accent-2: #EC4899;
    --accent-3: #8B5CF6;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background Glow Wrapper */
.glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Dynamic Background Blobs */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Navigation */
.navbar {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 6rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* CTA Button */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.requirements {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Supported Storages Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 6rem auto 3.5rem;
    padding: 0 1.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

.storages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 1.5rem;
}

.storage-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
}

.storage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.05),
        transparent 50%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.storage-card:hover::before {
    opacity: 1;
}

.storage-card:hover {
    transform: translateY(-6px);
}

/* Service Custom Glowing Hover States */
.storage-card.gdrive:hover {
    border-color: rgba(52, 168, 83, 0.45);
    box-shadow: 0 15px 35px -10px rgba(52, 168, 83, 0.25);
}

.storage-card.dropbox:hover {
    border-color: rgba(0, 97, 255, 0.45);
    box-shadow: 0 15px 35px -10px rgba(0, 97, 255, 0.25);
}

.storage-card.onedrive:hover {
    border-color: rgba(0, 120, 215, 0.45);
    box-shadow: 0 15px 35px -10px rgba(0, 120, 215, 0.25);
}

.storage-card.sftp:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.25);
}

.storage-card.local:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 35px -10px rgba(255, 255, 255, 0.15);
}

.storage-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    color: var(--text-primary);
}

.storage-card:hover .storage-icon {
    transform: scale(1.1) rotate(2deg);
    background: rgba(255, 255, 255, 0.08);
}

.storage-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.25rem;
    letter-spacing: -0.3px;
}

.storage-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Use Cases Section */
.use-cases-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 10rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.use-case-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.use-case-row:nth-child(even) {
    flex-direction: row-reverse;
}

.use-case-content {
    flex: 1;
}

.use-case-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.use-case-row:nth-child(2) .use-case-badge {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: var(--accent-2);
}

.use-case-row:nth-child(3) .use-case-badge {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--accent-1);
}

.use-case-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.use-case-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.use-case-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.use-case-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.use-case-features li svg {
    color: var(--accent-2);
    flex-shrink: 0;
}

.use-case-visual {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 340px;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.05) 0%, transparent 80%);
    border-radius: 28px;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    padding: 0.75rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* SVG Animations and Styles */
.visual-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* SVG Elements & Glows */
.svg-glow-accent1 {
    filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.5));
}

.svg-glow-accent2 {
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

.svg-glow-accent3 {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.flow-line {
    stroke-dasharray: 6, 6;
    animation: flow-dash 15s linear infinite;
}

@keyframes flow-dash {
    to {
        stroke-dashoffset: -300;
    }
}

.flow-particle-1 {
    offset-path: path("M 65,80 Q 200,10 335,80");
    animation: slide-particle 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-particle-2 {
    offset-path: path("M 335,80 Q 200,150 65,80");
    animation: slide-particle 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    animation-delay: 1.75s;
}

@keyframes slide-particle {
    0% {
        offset-distance: 0%;
        opacity: 0;
        scale: 0.6;
    }
    15% {
        opacity: 1;
        scale: 1.2;
    }
    85% {
        opacity: 1;
        scale: 1.2;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
        scale: 0.6;
    }
}

/* Multi-destination animations */
.multi-line-1 {
    stroke-dasharray: 5, 5;
    animation: flow-dash 12s linear infinite;
}

.multi-line-2 {
    stroke-dasharray: 5, 5;
    animation: flow-dash 12s linear infinite;
    animation-delay: -4s;
}

.multi-line-3 {
    stroke-dasharray: 5, 5;
    animation: flow-dash 12s linear infinite;
    animation-delay: -8s;
}

.multi-particle-1 {
    offset-path: path("M 65,100 L 325,40");
    animation: slide-particle 3s infinite ease-in-out;
}

.multi-particle-2 {
    offset-path: path("M 65,100 L 325,100");
    animation: slide-particle 3s infinite ease-in-out;
    animation-delay: 1s;
}

.multi-particle-3 {
    offset-path: path("M 65,100 L 325,160");
    animation: slide-particle 3s infinite ease-in-out;
    animation-delay: 2s;
}

/* Local to local animations */
.local-flow-1 {
    stroke-dasharray: 5, 5;
    animation: flow-dash-reverse 8s linear infinite;
}

.local-flow-2 {
    stroke-dasharray: 5, 5;
    animation: flow-dash 8s linear infinite;
}

@keyframes flow-dash-reverse {
    to {
        stroke-dashoffset: 300;
    }
}

.local-particle-1 {
    offset-path: path("M 320,70 L 80,70");
    animation: slide-particle 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.local-particle-2 {
    offset-path: path("M 80,110 L 320,110");
    animation: slide-particle 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
    animation-delay: 1.25s;
}

.pulse-ring-1 {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring-pulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.pulse-ring-2 {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring-pulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 1.5s;
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .storages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 5% 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }

    .storages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 5rem;
    }

    .use-cases-container {
        gap: 6rem;
        margin-bottom: 6rem;
    }

    .use-case-row, .use-case-row:nth-child(even) {
        flex-direction: column;
        gap: 2.5rem;
    }

    .use-case-content {
        text-align: center;
    }

    .use-case-features {
        align-items: center;
    }

    .use-case-visual {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .storages-grid {
        grid-template-columns: 1fr;
    }
}
