/*
Theme Name: DFX DFALGO Access
Theme URI: https://dominateforex.com
Author: Dominate Forex
Author URI: https://dominateforex.com
Description: Minimal WooCommerce-ready theme for DFALGO ACCESS (center logo, video section, 3 product cards, auth buttons, footer links).
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfx-dfalgo
*/

:root{
  --dfx-red:#d61f2a;
  --dfx-dark:#111827;
  --dfx-muted:#6b7280;
  --dfx-border:#e5e7eb;
  --dfx-bg:#ffffff;
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--dfx-dark);
  background:var(--dfx-bg);
}

a{color:inherit;}

.dfx-container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.dfx-header{
  position:relative;
  padding:26px 0 10px;
  border-bottom:1px solid var(--dfx-border);
}
.dfx-brand{
  display:flex;
  justify-content:center;
  align-items:center;
}
.dfx-brand img{
  max-height:70px;
  width:auto;
}

.dfx-auth{
  position:absolute;
  right:20px;
  top:20px;
  display:flex;
  gap:10px;
}
.dfx-auth a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:1px solid var(--dfx-border);
  background:#fff;
}
.dfx-auth a.dfx-primary{
  background:var(--dfx-red);
  color:#fff;
  border-color:var(--dfx-red);
}

/* Hero */
.dfx-hero{
  padding:40px 0 10px;
  text-align:center;
}
.dfx-title{
  margin:12px 0 10px;
  font-size:44px;
  letter-spacing:1px;
  font-weight:900;
}
.dfx-sub{
  margin:0 auto;
  max-width:760px;
  color:var(--dfx-muted);
  font-size:16px;
  line-height:1.6;
}

/* Video */
.dfx-video-wrap{
  margin:28px auto 34px;
  max-width:820px;
  border:1px solid var(--dfx-border);
  border-radius:18px;
  overflow:hidden;
  background:#f8fafc;
}
.dfx-video-square{
  width:100%;
  aspect-ratio: 1 / 1;
}
.dfx-video-square iframe,
.dfx-video-square video{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* What you get */
.dfx-section{
  padding:10px 0 20px;
}
.dfx-h2{
  text-align:center;
  font-size:22px;
  font-weight:900;
  margin:0 0 10px;
}
.dfx-bullets{
  width:min(860px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  padding:0;
  list-style:none;
  color:var(--dfx-dark);
}
.dfx-bullets li{
  border:1px solid var(--dfx-border);
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
}

/* Products */
.dfx-products{
  padding:26px 0 46px;
}
.dfx-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
@media (max-width: 900px){
  .dfx-grid{grid-template-columns:1fr;}
  .dfx-auth{position:static; justify-content:center; margin-top:12px;}
}

.dfx-card{
  border:1px solid var(--dfx-border);
  border-radius:18px;
  padding:18px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.dfx-card h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:900;
}
.dfx-price{
  font-size:30px;
  font-weight:950;
  color:var(--dfx-red);
  margin:10px 0 10px;
}
.dfx-card p{
  margin:0 0 12px;
  color:var(--dfx-muted);
  line-height:1.6;
}
.dfx-card ul{
  margin:0 0 16px;
  padding-left:18px;
  color:var(--dfx-dark);
}
.dfx-card li{margin:6px 0;}

.dfx-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--dfx-red);
  background:var(--dfx-red);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
}

/* Footer */
.dfx-footer{
  margin-top:30px;
  border-top:1px solid var(--dfx-border);
  background:#0b1220;
  color:#cbd5e1;
}
.dfx-footer .dfx-container{
  padding:22px 0;
}
.dfx-footer a{
  color:#cbd5e1;
  text-decoration:none;
}
.dfx-footer a:hover{ text-decoration:underline; }
.dfx-footer-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.dfx-social{
  display:flex;
  gap:12px;
  align-items:center;
}
.dfx-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}
.dfx-copy{
  margin-top:12px;
  font-size:13px;
  color:#94a3b8;
  text-align:center;
}
